/*
Theme Name:   Crest Child
Theme URI:    https://www.crestcost.co.ke
Description:  Child theme of Hello Elementor for Crest Cost Consultants. Page files: front.php (Home), {slug}.php for other pages.
Author:       Crest Cost Consultants
Template:     hello-elementor
Version:      9.10.4
Text Domain:  crest-child
*/

/* ==========================================================================
   PAGE EDGES: the page's own background is Deep, like the header and footer, and it stops firmly at both ends
   ========================================================================== */
html{background:#0E2A33;overscroll-behavior-y:none;}
body{overscroll-behavior-y:none;}
body.home{background:#0E2A33;}


/* ==========================================================================
   SITE HEADER  (header.php)
   ========================================================================== */
#crest-header{
  --deep:#0E2A33; --teal:#00D1C1; --teal-dark:#0B7A72; --teal75:#489B95;
  --lime:#C8F03C; --paper:#F6F4EF; --white:#FFFFFF;
  --gutter:clamp(20px,4vw,64px);
  --top-h:42px; --hd-h:80px;
  --ease:cubic-bezier(.16,.84,.24,1);
  position:sticky;top:0;z-index:1000;
  color:var(--paper);
  font-family:'DM Sans','Segoe UI',Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  transition:transform .4s var(--ease);
}
.admin-bar #crest-header{top:32px;}
@media (max-width:782px){ .admin-bar #crest-header{top:46px;} }
@media (max-width:600px){ .admin-bar #crest-header{top:0;} }

/* reset against theme styles */
#crest-header *,#crest-header *::before,#crest-header *::after{box-sizing:border-box;}
#crest-header ul,#crest-header li,#crest-header p{margin:0;padding:0;list-style:none;}
#crest-header a{text-decoration:none;box-shadow:none;text-transform:none;letter-spacing:0;}
#crest-header button{-webkit-appearance:none;appearance:none;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;cursor:pointer;color:inherit;font:inherit;}
#crest-header svg{display:block;flex:none;}
#crest-header a:focus,#crest-header button:focus{outline:none;}
#crest-header a:focus-visible,#crest-header button:focus-visible{outline:3px solid var(--teal);outline-offset:3px;}

#crest-header .hd-wrap{width:100%;max-width:1400px;margin:0 auto;padding:0 var(--gutter);}
#crest-header .hd-arrow{width:16px;height:10px;fill:currentColor;transition:transform .35s var(--ease);}

/* ---------- top info bar ---------- */
#crest-header .hd-top{
  height:var(--top-h);overflow:hidden;
  background:var(--teal-dark);
  font-size:13px;line-height:1.3;
}
#crest-header .hd-top__in{display:flex;align-items:center;justify-content:space-between;gap:24px;height:100%;}
#crest-header .hd-top__addr{display:flex;align-items:center;gap:10px;color:var(--white);font-weight:500;}
#crest-header .hd-pin{width:11px;height:14px;fill:var(--white);}
#crest-header .hd-top__addr a{display:flex;align-items:center;gap:10px;color:inherit;white-space:nowrap;transition:opacity .2s ease;}
#crest-header .hd-top__addr a:hover{opacity:.78;}
#crest-header .hd-top__contact{display:flex;align-items:center;justify-content:flex-end;gap:28px;}
#crest-header .hd-top__contact a{display:flex;align-items:center;gap:9px;color:var(--white);font-weight:500;transition:opacity .2s ease;}
#crest-header .hd-top__contact a:hover{opacity:.78;}
#crest-header .hd-ico{width:13px;height:13px;fill:var(--white);}
#crest-header .hd-top .hd-wrap{max-width:calc(1230px + 2 * var(--gutter));}   /* lines up with the page content below */
#crest-header .hd-top__lang span{display:flex;align-items:center;gap:9px;color:var(--white);font-weight:500;white-space:nowrap;}
#crest-header .hd-top__contact a{white-space:nowrap;}
@media (min-width:1101px) and (max-width:1240px){ #crest-header .hd-top .hd-top__contact li:last-child{display:none;} }   /* smaller laptops: the email shows in the footer and phone menu */

/* ---------- main bar ---------- */
#crest-header .hd-main{
  position:relative;
  background:var(--deep);
  border-bottom:1px solid rgba(246,244,239,.1);
  transition:background-color .35s ease,border-color .35s ease;
}
#crest-header .hd-main__in{
  display:flex;align-items:center;justify-content:center;gap:clamp(24px,2.8vw,44px);height:var(--hd-h);
}

#crest-header .hd-logo{display:block;flex:none;}
#crest-header .hd-logo img{display:block;width:auto;height:48px;max-width:none;transition:height .35s var(--ease);}

/* scrolled: info bar tucks up, bar turns frosted Deep */
#crest-header.is-scrolled{transform:translate3d(0,calc(-1 * var(--top-h)),0);}
#crest-header.is-scrolled .hd-main{
  background:rgba(14,42,51,.9);
  -webkit-backdrop-filter:blur(14px) saturate(140%);backdrop-filter:blur(14px) saturate(140%);
  border-bottom-color:rgba(0,209,193,.25);
}
#crest-header.is-scrolled .hd-logo img{height:40px;}

/* scroll gauge */
#crest-header .hd-progress{
  position:absolute;left:0;bottom:-1px;height:2px;width:100%;
  background:var(--teal);transform-origin:0 50%;transform:scaleX(var(--p,0));
  pointer-events:none;
}

/* ---------- desktop menu ---------- */
#crest-header .hd-nav{display:flex;align-items:center;justify-content:center;height:100%;}
#crest-header .hd-menu{display:flex;align-items:center;gap:clamp(14px,1.8vw,30px);height:100%;}
#crest-header .hd-item{display:flex;align-items:center;height:100%;}
#crest-header .hd-link{
  position:relative;display:flex;align-items:center;gap:7px;height:100%;
  font-family:'Poppins','Segoe UI',Arial,sans-serif;font-weight:700;font-size:13.5px;line-height:1;
  letter-spacing:.05em;text-transform:uppercase;   /* capitals, like WS Law's menu */
  color:rgba(246,244,239,.84);white-space:nowrap;
  transition:color .2s ease;
}
#crest-header .hd-link::after{
  content:"";position:absolute;left:0;right:0;bottom:24px;height:2px;background:var(--teal);
  transform:scaleX(0);transform-origin:right center;transition:transform .4s var(--ease);
}
#crest-header .hd-link:hover,
#crest-header .hd-link.is-current{color:var(--white);}
#crest-header .hd-link:hover::after,
#crest-header .hd-link.is-current::after{transform:scaleX(1);transform-origin:left center;}

/* narrow laptops: a little tighter, so the menu keeps clear of the logo and Book Review */
@media (min-width:1101px) and (max-width:1279px){
  #crest-header .hd-main__in{gap:20px;}
  #crest-header .hd-menu{gap:12px;}
  #crest-header .hd-link{font-size:13px;letter-spacing:.03em;}
  #crest-header .hd-lang__code,#crest-header .hd-lang__caret{display:none;}
  #crest-header .hd-caret{margin-left:1px;}
}

/* Services and Sectors mega menus: a panel under the bar, opened by hover or keyboard focus */
#crest-header .hd-caret{position:relative;flex:none;width:18px;height:18px;margin-left:4px;color:rgba(246,244,239,.84);}
#crest-header .hd-caret::before{
  content:"";position:absolute;left:5px;top:3px;width:7px;height:7px;
  border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:rotate(45deg);transition:transform .3s var(--ease),top .3s var(--ease);
}
#crest-header .hd-mega__head{
  display:flex;align-items:center;gap:12px;
  font-family:'Poppins','Segoe UI',Arial,sans-serif;font-weight:700;font-size:12.5px;line-height:1.2;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;
}
#crest-header .hd-mega__head::after{content:"";flex:1;height:1px;}
#crest-header .hd-mega__links > li > a{
  position:relative;display:block;font-weight:600;font-size:14.5px;line-height:1.35;
  transition:background-color .2s ease,color .2s ease;
}
#crest-header .hd-drop__links a{display:block;font-weight:600;font-size:14.5px;line-height:1.35;transition:color .2s ease;}

/* ---------- desktop menus, as on WS Law ----------
   Each menu opens a white card with soft corners: on the left a dark Deep card (title, one sentence, a Lime button, a faint
   Teal glow in its corner); on the right columns of links, each under a small uppercase heading on a thin line, every link with
   a small Teal dot. The menu item sits on a soft light pill while its card is open. About Us and Resources open under their
   item; Services and Sectors, being wider, open centred under the bar. */
@media (min-width:1101px){
  #crest-header .hd-mega{
    position:absolute;top:100%;z-index:5;padding-top:6px;
    visibility:hidden;opacity:0;transform:translate3d(0,-6px,0);
    transition:opacity .2s ease,transform .3s var(--ease),visibility 0s linear .3s;
  }
  #crest-header .hd-item--mega:hover .hd-mega,
  #crest-header .hd-item--mega:focus-within .hd-mega{visibility:visible;opacity:1;transform:none;transition:opacity .2s ease,transform .3s var(--ease),visibility 0s;}
  #crest-header .hd-item--mega:hover .hd-caret::before,
  #crest-header .hd-item--mega:focus-within .hd-caret::before{top:7px;transform:rotate(225deg);}
  #crest-header .hd-item--mega:hover .hd-caret{color:var(--white);}

  /* the open item on a soft light pill, as on WS Law (in place of the underline) */
  #crest-header .hd-item--mega{position:relative;}
  #crest-header .hd-item--mega::before{
    content:"";position:absolute;left:-12px;right:-8px;top:50%;height:40px;margin-top:-20px;border-radius:10px;
    background:rgba(246,244,239,.1);opacity:0;transition:opacity .2s ease;pointer-events:none;
  }
  #crest-header .hd-item--mega:hover::before,#crest-header .hd-item--mega:focus-within::before{opacity:1;}
  #crest-header .hd-item--mega .hd-link::after{display:none;}

  /* where each card sits: the small ones under their item, the wide ones centred under the bar */
  #crest-header .hd-mega--drop:not(.hd-mega--big){left:-16px;width:480px;}
  #crest-header .hd-mega--drop.hd-mega--wide{left:auto;right:-16px;width:620px;}
  #crest-header .hd-mega--big{left:var(--dd-x,50%);transform:translate3d(-50%,-6px,0);}   /* centred on the screen: script.js sets --dd-x from the item's place */
  #crest-header .hd-item--mega:hover .hd-mega--big,
  #crest-header .hd-item--mega:focus-within .hd-mega--big{transform:translate3d(-50%,0,0);}
  #crest-header .hd-mega--services{width:min(1000px,calc(100vw - 48px));}
  #crest-header .hd-mega--sectors{width:min(1180px,calc(100vw - 48px));}

  /* the white card */
  #crest-header .hd-drop{
    position:relative;display:grid;grid-template-columns:230px minmax(0,1fr);gap:28px;
    padding:16px 28px 18px 16px;border-radius:18px;background:var(--white);color:var(--deep);
    box-shadow:0 30px 60px -28px rgba(14,42,51,.5),0 2px 8px rgba(14,42,51,.08);
  }
  #crest-header .hd-mega--drop:not(.hd-mega--big) .hd-drop::before{   /* the small pointer up to the menu item */
    content:"";position:absolute;left:44px;top:-6px;width:14px;height:14px;border-radius:3px 0 0 0;background:var(--white);transform:rotate(45deg);
  }
  #crest-header .hd-mega--drop.hd-mega--wide .hd-drop::before{left:auto;right:58px;}

  /* the dark card */
  #crest-header .hd-drop__card{
    position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;padding:22px 20px 20px;border-radius:14px;
    background:radial-gradient(140px 110px at 92% 0%,rgba(0,209,193,.3),transparent 70%),var(--deep);
  }
  #crest-header .hd-drop__title{font-family:'Poppins','Segoe UI',Arial,sans-serif;font-weight:600;font-size:18px;line-height:1.25;letter-spacing:-.01em;color:var(--white);}
  #crest-header .hd-drop__text{margin:10px 0 18px;font-size:13.5px;font-weight:500;line-height:1.55;color:rgba(246,244,239,.86);}
  #crest-header .hd-drop__btn{
    display:inline-flex;align-items:center;margin-top:auto;padding:10px 18px;border-radius:999px;
    background:var(--lime);color:var(--deep);font-weight:700;font-size:13.5px;line-height:1.2;white-space:nowrap;
    box-shadow:0 8px 20px -8px rgba(200,240,60,.6);transition:background-color .25s ease,transform .25s ease;
  }
  #crest-header .hd-drop__btn:hover{background:#D6F56A;color:var(--deep);transform:translateY(-1px);}

  /* the columns of links */
  #crest-header .hd-drop__cols{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:26px;padding-top:10px;min-width:0;}
  #crest-header .hd-drop__col{min-width:0;}
  #crest-header .hd-drop__head{   /* the group titles: clearly larger than the links under them */
    display:block;margin:0 0 8px;padding-bottom:10px;border-bottom:1px solid rgba(0,209,193,.3);
    font-family:'Poppins','Segoe UI',Arial,sans-serif;font-weight:600;font-size:17px;line-height:1.3;letter-spacing:-.01em;text-transform:none;white-space:nowrap;
    color:var(--deep);
  }
  #crest-header .hd-drop__links + .hd-drop__head{margin-top:20px;}
  #crest-header .hd-drop__links a{
    position:relative;display:block;padding:7px 0 7px 16px;
    font-family:'DM Sans','Segoe UI',Arial,sans-serif;font-weight:600;font-size:14.5px;line-height:1.4;color:var(--deep);
    transition:color .2s ease;
  }
  #crest-header .hd-drop__links a::before{
    content:"";position:absolute;left:2px;top:calc(7px + .7em - 3px);width:5px;height:5px;border-radius:50%;
    background:var(--teal);opacity:.7;transition:opacity .2s ease;
  }
  #crest-header .hd-drop__links a:hover,#crest-header .hd-drop__links a:focus-visible{color:var(--teal-dark);}
  #crest-header .hd-drop__links a:hover::before{opacity:1;}
  #crest-header .hd-drop .hd-sx__subs{display:none;}   /* an item's smaller links show in the phone menu only */
  /* Resources: its nine links in two columns under the one heading */
  #crest-header .hd-mega--wide .hd-drop__links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px;}
  #crest-header .hd-mega--wide .hd-drop__links li:last-child:nth-child(odd){grid-column:1 / -1;}
  /* Sectors: the long names may take two lines */
  #crest-header .hd-mega--sectors .hd-drop__head{white-space:normal;}
}
@media (min-width:1101px) and (max-width:1279px){
  #crest-header .hd-drop{grid-template-columns:200px minmax(0,1fr);gap:20px;padding-right:20px;}
  #crest-header .hd-drop__cols{gap:18px;}
}

/* Call Now: Lime, the brightest thing in the header, so it is found at once; the phone sits in a Deep circle with a soft pulse */
#crest-header .hd-call{
  position:relative;display:inline-flex;align-items:center;gap:12px;flex:none;
  height:48px;padding:0 24px 0 6px;border-radius:999px;
  background:var(--lime);color:var(--deep);
  font-family:'DM Sans','Segoe UI',Arial,sans-serif;font-weight:700;font-size:15px;line-height:1;white-space:nowrap;
  box-shadow:0 10px 26px -8px rgba(200,240,60,.55);
  transition:background-color .25s ease,transform .35s var(--ease),box-shadow .35s ease;
}
#crest-header .hd-call__ico{position:relative;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:var(--deep);}
#crest-header .hd-call__ico::after{content:"";position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 0 rgba(14,42,51,.45);animation:hd-ring 2.4s ease-out infinite;}
@keyframes hd-ring{0%{box-shadow:0 0 0 0 rgba(14,42,51,.45);}70%,100%{box-shadow:0 0 0 9px rgba(14,42,51,0);}}
#crest-header .hd-call .hd-ico{width:15px;height:15px;fill:var(--lime);}
#crest-header .hd-call:hover{background:#D6F56A;transform:translateY(-1px);box-shadow:0 14px 30px -8px rgba(200,240,60,.7);color:var(--deep);}
#crest-header .hd-call:active{transform:translateY(0);}

/* the language button: a globe and the current language; its list drops below */
#crest-header .hd-lang{position:relative;flex:none;}
#crest-header button.hd-lang__btn{
  display:flex;align-items:center;gap:8px;height:44px;padding:0 14px;border:1px solid rgba(246,244,239,.22);border-radius:999px;
  color:var(--white);font-weight:700;font-size:14px;line-height:1;transition:border-color .2s ease,background-color .2s ease;
}
#crest-header button.hd-lang__btn:hover,#crest-header button.hd-lang__btn[aria-expanded="true"]{border-color:var(--teal);background:rgba(0,209,193,.08);}
#crest-header .hd-lang__ico{width:16px;height:16px;fill:var(--teal);}
#crest-header .hd-lang__caret{width:7px;height:7px;margin:-4px 0 0 2px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .25s ease,margin .25s ease;}
#crest-header .hd-lang__btn[aria-expanded="true"] .hd-lang__caret{margin-top:3px;transform:rotate(225deg);}
#crest-header .hd-lang__list{
  position:absolute;right:0;top:calc(100% + 10px);z-index:20;width:200px;max-height:min(70vh,420px);overflow-y:auto;padding:8px;
  border-radius:14px;background:var(--white);box-shadow:0 24px 48px -16px rgba(14,42,51,.45);
}
#crest-header .hd-lang__list[hidden]{display:none;}
#crest-header .hd-lang__list button{display:block;width:100%;padding:9px 12px;border-radius:9px;text-align:left;font-weight:500;font-size:14.5px;line-height:1.3;color:var(--deep);}
#crest-header .hd-lang__list button:hover,#crest-header .hd-lang__list button:focus-visible{background:var(--paper);outline:none;}
#crest-header .hd-lang__list button[aria-current]{font-weight:700;color:var(--teal-dark);background:rgba(0,209,193,.1);}

#crest-header .hd-toggle,
#crest-header .hd-mfoot{display:none;}

/* ---------- tablet & phone ---------- */
@media (max-width:1100px){
  #crest-header{--top-h:0px;--hd-h:72px;}
  #crest-header .hd-top{display:none;}
  #crest-header .hd-logo img{height:42px;}
  #crest-header.is-scrolled .hd-logo img{height:38px;}

  #crest-header .hd-main__in{display:flex;justify-content:flex-start;gap:10px;}
  #crest-header .hd-logo{margin-right:auto;}
  #crest-header .hd-call--bar{width:44px;height:44px;padding:0;justify-content:center;box-shadow:0 8px 20px -8px rgba(200,240,60,.6);}
  #crest-header .hd-call--bar .hd-call__ico{width:44px;height:44px;background:transparent;}
  #crest-header .hd-call--bar .hd-call__ico::after{display:none;}
  #crest-header .hd-call--bar .hd-ico{width:17px;height:17px;fill:var(--deep);}
  #crest-header .hd-call__text{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;}
  #crest-header button.hd-lang__btn{height:44px;padding:0 12px;}
  #crest-header .hd-toggle{display:block;position:relative;width:46px;height:46px;margin-right:-10px;color:var(--white);}
  #crest-header .hd-bars,
  #crest-header .hd-bars::before,
  #crest-header .hd-bars::after{position:absolute;left:12px;width:22px;height:2px;background:currentColor;transition:transform .3s ease,top .3s ease,width .3s ease,background-color .2s ease;}
  #crest-header .hd-bars{top:22px;}
  #crest-header .hd-bars::before,#crest-header .hd-bars::after{content:"";left:0;}
  #crest-header .hd-bars::before{top:-7px;}
  #crest-header .hd-bars::after{top:7px;width:14px;}
  #crest-header.is-open .hd-bars{background:transparent;}
  #crest-header.is-open .hd-bars::before{top:0;transform:rotate(45deg);}
  #crest-header.is-open .hd-bars::after{top:0;width:22px;transform:rotate(-45deg);}

  #crest-header.is-open .hd-main{background:var(--deep);}

  #crest-header .hd-nav{
    position:absolute;left:0;right:0;top:100%;
    display:block;height:calc(100vh - var(--hd-h));height:calc(100dvh - var(--hd-h));
    overflow-y:auto;overscroll-behavior:contain;
    background:var(--deep);border-top:1px solid rgba(246,244,239,.1);
    visibility:hidden;opacity:0;transform:translate3d(0,-12px,0);
    transition:opacity .3s ease,transform .4s var(--ease),visibility 0s linear .4s;
  }
  .admin-bar #crest-header .hd-nav{height:calc(100vh - var(--hd-h) - 46px);}
  #crest-header.is-open .hd-nav{visibility:visible;opacity:1;transform:none;transition:opacity .3s ease,transform .4s var(--ease),visibility 0s;}

  #crest-header .hd-menu{display:block;height:auto;padding:8px var(--gutter) 0;}
  #crest-header .hd-item{position:relative;display:block;height:auto;border-bottom:1px solid rgba(246,244,239,.1);opacity:0;transform:translate3d(0,10px,0);transition:opacity .35s ease,transform .45s var(--ease);}
  #crest-header.is-open .hd-item{opacity:1;transform:none;transition-delay:calc(.06s + var(--i) * .045s);}
  #crest-header .hd-link{height:auto;padding:20px 0;font-family:'Poppins','Segoe UI',Arial,sans-serif;font-weight:700;font-size:18px;letter-spacing:.08em;color:var(--paper);}
  #crest-header .hd-link::after{left:-14px;right:auto;top:18px;bottom:18px;width:3px;height:auto;transform:scaleY(0);}
  #crest-header .hd-link.is-current::after{transform:scaleY(1);}

  /* Services and Sectors in the phone menu: the caret opens the list underneath */
  #crest-header .hd-caret{position:absolute;right:-8px;top:12px;width:44px;height:44px;margin:0;color:var(--paper);}
  #crest-header .hd-caret::before{left:17px;top:15px;width:9px;height:9px;}
  #crest-header .hd-item--mega.is-sub .hd-caret::before{top:20px;transform:rotate(225deg);}
  #crest-header .hd-mega{display:none;padding-bottom:18px;}
  #crest-header .hd-item--mega.is-sub .hd-mega{display:block;}
  #crest-header .hd-mega .hd-wrap{padding:0;}
  #crest-header .hd-mega__in{padding:16px 16px 8px;border-radius:16px;background:rgba(255,255,255,.05);}
  #crest-header .hd-mega__col + .hd-mega__col{margin-top:18px;}
  #crest-header .hd-mega__head{margin-bottom:6px;color:var(--teal);}
  #crest-header .hd-mega__head::after{background:rgba(0,209,193,.22);}
  #crest-header .hd-mega__links > li > a{padding:9px 0;color:rgba(246,244,239,.86);}
  #crest-header .hd-mega__links > li + li > a{border-top:1px solid rgba(246,244,239,.07);}
  #crest-header .hd-mega__links > li > a:hover{color:var(--teal);}

  /* About Us and Resources */
  #crest-header .hd-drop{padding:6px 16px;border-radius:16px;background:rgba(255,255,255,.05);}
  #crest-header .hd-drop__card,#crest-header .hd-drop__head{display:none;}
  #crest-header .hd-drop__links a{padding:10px 0;color:rgba(246,244,239,.86);}
  #crest-header .hd-drop__links li + li a{border-top:1px solid rgba(246,244,239,.07);}
  #crest-header .hd-drop__links a:hover{color:var(--teal);}
  /* Services and Sectors in the phone menu: each group under its name, as before */
  #crest-header .hd-drop__head:not(.hd-drop__head--explore){
    display:flex;align-items:center;gap:12px;margin:16px 0 4px;
    font-family:'Poppins','Segoe UI',Arial,sans-serif;font-weight:700;font-size:12.5px;line-height:1.2;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;color:var(--teal);
  }
  #crest-header .hd-drop__head:not(.hd-drop__head--explore)::after{content:"";flex:1;height:1px;background:rgba(0,209,193,.22);}
  #crest-header .hd-drop__col:first-child > .hd-drop__head:first-child{margin-top:10px;}
  #crest-header .hd-drop__links li + li a,#crest-header .hd-drop__links a{border-top:0;}
  #crest-header .hd-drop__links > li + li > a{border-top:1px solid rgba(246,244,239,.07);}

  /* Sectors: every group listed in turn */
  #crest-header .hd-sx{padding:16px 16px 8px;border-radius:16px;background:rgba(255,255,255,.05);}
  #crest-header .hd-sx__rail,#crest-header .hd-sx__photo{display:none;}
  #crest-header .hd-sx__pane + .hd-sx__pane{margin-top:18px;}
  #crest-header .hd-sx__title{
    display:flex;align-items:center;gap:12px;margin-bottom:6px;
    font-family:'Poppins','Segoe UI',Arial,sans-serif;font-weight:700;font-size:12.5px;line-height:1.2;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;color:var(--teal);
  }
  #crest-header .hd-sx__title::after{content:"";flex:1;height:1px;background:rgba(0,209,193,.22);}
  #crest-header .hd-sx__item{display:block;padding:9px 0;font-weight:600;font-size:14.5px;line-height:1.35;color:rgba(246,244,239,.86);}
  #crest-header .hd-sx__items > li + li > .hd-sx__item{border-top:1px solid rgba(246,244,239,.07);}
  #crest-header .hd-sx__subs{display:flex;flex-wrap:wrap;gap:6px;padding:0 0 10px;}
  #crest-header .hd-sx__subs a{display:block;padding:4px 11px;border-radius:999px;background:rgba(255,255,255,.07);font-weight:500;font-size:12.5px;line-height:1.35;color:rgba(246,244,239,.8);}

  #crest-header .hd-mfoot{display:flex;flex-direction:column;gap:22px;padding:28px var(--gutter) 40px;font-size:14px;line-height:1.45;}
  #crest-header .hd-mfoot .hd-call{align-self:flex-start;height:56px;padding:0 28px 0 8px;font-size:16px;}
  #crest-header .hd-mfoot .hd-call__ico{width:40px;height:40px;}
  #crest-header .hd-mfoot .hd-top__lang span{color:rgba(246,244,239,.78);}
  #crest-header .hd-mfoot .hd-top__addr{color:rgba(246,244,239,.78);}
  #crest-header .hd-mfoot .hd-pin,
  #crest-header .hd-mfoot .hd-ico{fill:var(--teal);}
  #crest-header .hd-mfoot .hd-top__contact{flex-direction:column;align-items:flex-start;gap:12px;}
  #crest-header .hd-mfoot .hd-top__contact a{color:rgba(246,244,239,.78);}
  #crest-header .hd-mfoot .hd-top__addr a{align-items:flex-start;white-space:normal;}   /* the full address wraps in the phone menu */
  #crest-header .hd-mfoot .hd-pin{margin-top:3px;}
  /* the social media pages in the phone menu */
  #crest-header .hd-social{display:flex;flex-wrap:wrap;gap:10px;}
  #crest-header .hd-social a{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid rgba(246,244,239,.2);border-radius:50%;color:rgba(246,244,239,.86);transition:background-color .25s ease,border-color .25s ease,color .25s ease;}
  #crest-header .hd-social svg{width:17px;height:17px;fill:currentColor;}
  #crest-header .hd-social a:hover{border-color:var(--teal);background:var(--teal);color:var(--deep);}
  body.crest-nav-open{overflow:hidden;}
}

/* menu names whose page is not live yet (crest_menu_link() in functions.php): shown, but not links - no pointer, no hover change,
   and in the dropdowns a softer colour so they read as not yet available */
#crest-header a:not([href]){cursor:default;}
#crest-header .hd-item:not(.hd-item--mega) > .hd-link:not([href]):hover{color:rgba(246,244,239,.84);}
#crest-header .hd-item:not(.hd-item--mega) > .hd-link:not([href])::after{display:none;}
#crest-header .hd-drop__links a:not([href]),#crest-header .hd-drop__links a:not([href]):hover{color:rgba(14,42,51,.48);}
#crest-header .hd-drop__links a:not([href])::before,#crest-header .hd-drop__links a:not([href]):hover::before{opacity:.3;}
@media (max-width:1100px){
  #crest-header .hd-drop__links a:not([href]),#crest-header .hd-drop__links a:not([href]):hover,
  #crest-header .hd-sx__subs a:not([href]),#crest-header .hd-sx__subs a:not([href]):hover{color:rgba(246,244,239,.46);}
}

@media (max-width:400px){
  #crest-header .hd-logo img{height:36px;}
  #crest-header .hd-lang__code{display:none;}
}

@media (prefers-reduced-motion:reduce){
  #crest-header,#crest-header *,#crest-header *::before,#crest-header *::after{transition:none !important;animation:none !important;}
}



/* ==========================================================================
   GOOGLE TRANSLATE (loaded by script.js only after a visitor picks another language): hide its own bar and pop-ups
   ========================================================================== */
#crest-gt,.goog-te-banner-frame,.skiptranslate > iframe,iframe.skiptranslate,#goog-gt-tt,.goog-te-balloon-frame,.goog-tooltip,
.VIpgJd-ZVi9od-ORHb-OEVmcd,.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,.VIpgJd-ZVi9od-l4eHX-hSRGPd,.VIpgJd-yAWNEb-L7lbkb{display:none !important;}
html.translated-ltr body,html.translated-rtl body,body{top:0 !important;}
.goog-text-highlight{background:none !important;box-shadow:none !important;}


/* ==========================================================================
   HOME 1. HERO
   ========================================================================== */
/* ---------- tokens ---------- */
#crest-hero{
  --deep:#0E2A33; --teal:#00D1C1; --teal-dark:#0B7A72; --lime:#C8F03C;
  --paper:#F6F4EF; --stone:#E9E2D6; --white:#FFFFFF;
  --deep75:#4A5F66; --deep50:#869499; --teal75:#489B95; --bright50:#80E8E0;
  --hair:rgba(246,244,239,.09);
  --hair-strong:rgba(246,244,239,.16);
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --gutter:clamp(20px,5vw,80px);
  --gap:clamp(40px,5vw,88px);
  --ease:cubic-bezier(.16,.84,.24,1);
  --ease-in-out:cubic-bezier(.65,0,.35,1);
}

/* ---------- scoped reset (blocks theme / Elementor-kit leakage) ---------- */
#crest-hero,#crest-hero *,#crest-hero *::before,#crest-hero *::after{box-sizing:border-box;}
#crest-hero h1,#crest-hero h2,#crest-hero p,#crest-hero ul,#crest-hero li,
#crest-hero a,#crest-hero span,#crest-hero strong,#crest-hero div,#crest-hero svg{
  margin:0;padding:0;border:0;background:none;box-shadow:none;text-shadow:none;
  text-transform:none;letter-spacing:normal;font-style:normal;text-decoration:none;
  font-family:inherit;font-size:inherit;line-height:inherit;color:inherit;
  border-radius:0;min-height:0;max-width:none;float:none;
}
#crest-hero ul,#crest-hero li{list-style:none;list-style-type:none;}
#crest-hero li::marker{content:none;}
#crest-hero img{max-width:none;border:0;}
#crest-hero svg{display:block;overflow:visible;}
#crest-hero strong{font-weight:700;}

/* ---------- full-bleed shell ---------- */
#crest-hero{
  position:relative;left:50%;right:50%;
  margin-left:-50vw;margin-right:-50vw;width:100vw;max-width:100vw;
  /* JS refines to the true viewport (excludes scrollbar) to avoid horizontal scroll */
  margin-left:calc(var(--cw,100vw) / -2);margin-right:calc(var(--cw,100vw) / -2);
  width:var(--cw,100vw);max-width:var(--cw,100vw);
  overflow:hidden;
  background:var(--deep);color:var(--paper);
  font-family:var(--f-body);font-size:16px;line-height:1.6;font-weight:400;
  text-align:left;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  /* fills most of the screen below the header, content centred */
  min-height:clamp(560px,calc(100vh - 122px),880px);
  min-height:clamp(560px,calc(100svh - 122px),880px);
  display:flex;flex-direction:column;justify-content:center;
  isolation:isolate;
}

/* ---------- background image slider ----------
   Photos, softly blurred, under a dark Crest wash so only a hint of them shows.
   --photo-opacity sets how strongly they show, --photo-blur how soft they are. */
#crest-hero{--photo-opacity:1;--photo-blur:3px;--slide-time:8s;}
#crest-hero .ch-slides{
  position:absolute;inset:-24px;z-index:0;pointer-events:none;background:var(--deep);
  transform:translate3d(var(--px,0px),var(--py,0px),0);
}
#crest-hero .ch-slide{
  position:absolute;inset:0;
  background-size:cover;background-position:70% center;background-repeat:no-repeat;
  opacity:0;
  filter:blur(var(--photo-blur)) saturate(115%);
  transition:opacity 1.4s ease;
}
/* cross-fade: the incoming photo fades in on top; the outgoing one stays put underneath */
#crest-hero .ch-slide.is-on{opacity:var(--photo-opacity);z-index:1;}
#crest-hero .ch-slide.is-out{opacity:var(--photo-opacity);z-index:0;transition:none;}
#crest-hero .ch-slide.is-park{transition:none;}
/* the gradient wash over the photos */
#crest-hero .ch-slides::after{
  content:"";position:absolute;inset:0;z-index:2;
  background:
    linear-gradient(100deg,rgba(14,42,51,.97) 0%,rgba(14,42,51,.93) 45%,rgba(14,42,51,.88) 100%);
}

/* ---------- layout ---------- */
#crest-hero .ch-wrap{
  position:relative;z-index:1;width:100%;max-width:1360px;margin:0 auto;
  padding:clamp(22px,2vw,36px) var(--gutter) clamp(36px,3.4vw,60px);
}

/* eyebrow: a slim label centred above the hero */
#crest-hero .ch-eyebrow{
  position:relative;top:clamp(-20px,-1vw,-8px);
  display:flex;align-items:center;gap:8px;width:-moz-fit-content;width:fit-content;max-width:100%;
  margin:0 auto clamp(16px,1.6vw,24px);padding:4px 4px 4px 14px;border-radius:999px;
  background:var(--lime);color:var(--deep);
  font-family:var(--f-head);font-weight:700;font-size:clamp(12px,.15vw + 11px,13.5px);line-height:1.3;
  animation:ch-fade-up .7s .1s var(--ease) both;
}
#crest-hero .ch-eyebrow em{flex:none;padding:3px 10px;border-radius:999px;background:var(--deep);color:var(--lime);font-style:normal;font-weight:700;}
/* social proof beside the eyebrow: client logos as overlapping circles, then the client count (wraps above the eyebrow on phones) */
#crest-hero .ch-top{
  position:relative;top:clamp(-20px,-1vw,-8px);
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 16px;
  margin:0 auto clamp(16px,1.6vw,24px);
  animation:ch-fade-up .7s .1s var(--ease) both;
}
#crest-hero .ch-top .ch-eyebrow{top:auto;margin:0;animation:none;}
#crest-hero .ch-faces{display:flex;align-items:center;}
#crest-hero .ch-face{
  position:relative;display:flex;flex:none;align-items:center;justify-content:center;width:34px;height:34px;margin-left:-9px;
  border:2px solid var(--deep);border-radius:50%;background:var(--white);overflow:hidden;
}
#crest-hero .ch-face:first-child{margin-left:0;}
#crest-hero .ch-face img{display:block;width:100%;height:100%;padding:4px;object-fit:contain;}
#crest-hero .ch-face--n{background:var(--lime);color:var(--deep);font-family:var(--f-head);font-weight:700;font-size:11.5px;line-height:1;letter-spacing:-.02em;}

/* headline block */
#crest-hero .ch-head{position:relative;width:-moz-fit-content;width:fit-content;max-width:100%;}
#crest-hero .ch-title{
  font-family:var(--f-head);font-weight:800;color:var(--white);
  font-size:clamp(34px,2.5vw + 12px,52px);
  line-height:1.0;letter-spacing:-.035em;
}
#crest-hero .ch-title .ln{display:block;white-space:nowrap;}
#crest-hero .ch-title .w{
  display:inline-block;vertical-align:top;overflow:hidden;
  /* room for descenders (y) and side bearings so nothing is clipped */
  padding:0 .06em .2em .02em;margin:0 -.06em -.2em -.02em;
}
#crest-hero .ch-title .w > span{
  display:inline-block;
  animation:ch-rise 1s var(--ease) both;animation-delay:calc(.2s + var(--i) * .085s);
}
#crest-hero .ch-title .ch-key{color:var(--teal);}

/* two-column body: the message on the left, the form on the right */
#crest-hero .ch-grid{
  position:relative;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);
  column-gap:calc(var(--gap) + 16px);align-items:center;
}

#crest-hero .ch-sub{
  font-family:var(--f-body);font-weight:400;color:rgba(246,244,239,.88);
  font-size:clamp(15px,.3vw + 11.5px,16.5px);line-height:1.55;letter-spacing:0;
  max-width:32em;margin-top:clamp(14px,1.2vw,18px);
  animation:ch-fade-up .9s .7s var(--ease) both;
}

/* the six points: one line each */
#crest-hero .ch-points{
  display:grid;row-gap:11px;margin-top:clamp(16px,1.5vw,22px);
  animation:ch-fade-up .8s .8s var(--ease) both;
}
#crest-hero .ch-pt{
  display:grid;grid-template-columns:22px minmax(0,1fr);column-gap:10px;align-items:center;
  font-family:var(--f-body);font-weight:400;font-size:clamp(14.5px,.15vw + 12.5px,16px);line-height:1.35;color:rgba(246,244,239,.94);
}
#crest-hero .ch-txt{display:block;white-space:nowrap;}
#crest-hero .ch-tick{display:flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:rgba(0,209,193,.2);}
#crest-hero .ch-tick svg{width:12px;height:12px;}
#crest-hero .ch-tick polygon{fill:var(--teal);}

/* the two buttons */
#crest-hero .ch-cta-row{
  display:flex;flex-wrap:wrap;align-items:center;gap:12px;
  margin-top:clamp(22px,2vw,30px);
  animation:ch-fade-up .8s .95s var(--ease) both;
}

/* primary button */
#crest-hero a.ch-cta{
  position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:58px;padding:0 32px;
  background:var(--teal);color:var(--deep);
  font-family:var(--f-body);font-weight:600;font-size:16px;line-height:1.3;
  text-decoration:none;border-radius:999px;cursor:pointer;
  transform:translate3d(var(--mx,0px),var(--my,0px),0);
  transition:background-color .25s ease,color .25s ease,transform .35s var(--ease);
}
#crest-hero a.ch-cta:visited{color:var(--deep);}
#crest-hero a.ch-cta:hover{background:#80E8E0;color:var(--deep);text-decoration:none;}
#crest-hero a.ch-cta:active{background:var(--bright50);}
#crest-hero a.ch-cta:focus{outline:none;}
#crest-hero a.ch-cta:focus-visible{outline:3px solid var(--teal);outline-offset:4px;}

/* secondary button */
#crest-hero a.ch-cta2{
  display:inline-flex;align-items:center;justify-content:center;min-height:58px;padding:0 32px;
  border:1px solid rgba(246,244,239,.5);border-radius:999px;color:var(--white);
  font-family:var(--f-body);font-weight:600;font-size:16px;line-height:1.3;
  transition:background-color .25s ease,color .25s ease,border-color .25s ease;
}
#crest-hero a.ch-cta2:visited{color:var(--white);}
#crest-hero a.ch-cta2:hover{background:var(--white);border-color:var(--white);color:var(--deep);text-decoration:none;}
#crest-hero a.ch-cta2:focus{outline:none;}
#crest-hero a.ch-cta2:focus-visible{outline:3px solid var(--teal);outline-offset:4px;}

/* ---------- the right column: one card, the offer and logos on Deep, the form on White ---------- */
#crest-hero .ch-side{
  overflow:hidden;border-radius:18px;
  box-shadow:0 0 0 14px rgba(246,244,239,.07),0 0 0 15px rgba(246,244,239,.16);   /* the soft frame around the card */
  animation:ch-fade .7s .55s ease both;
}
#crest-hero .ch-offer{padding:clamp(16px,1.5vw,20px) clamp(20px,1.8vw,26px);background:var(--teal-dark);}
#crest-hero .ch-offer__title{
  text-align:center;font-family:var(--f-head);font-weight:700;font-size:clamp(15.5px,.3vw + 12.5px,17px);line-height:1.25;letter-spacing:-.01em;text-wrap:balance;color:var(--white);
}
#crest-hero .ch-offer__points{display:grid;row-gap:5px;margin-top:9px;}
#crest-hero .ch-offer .ch-pt{font-size:14px;color:var(--white);}
#crest-hero .ch-offer .ch-tick{background:rgba(255,255,255,.18);}
#crest-hero .ch-offer .ch-tick polygon{fill:var(--white);}
#crest-hero .ch-offer .ch-txt{white-space:normal;}
/* the four points in two columns */
#crest-hero .ch-offer__points{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px;}
/* the small label above the logos */
#crest-hero .ch-logos__head{margin-top:14px;text-align:center;font-family:var(--f-head);font-weight:700;font-size:11.5px;line-height:1.2;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.72);}
#crest-hero .ch-logos__head + .ch-logos{margin-top:8px;}
/* white tiles, so any logo colour stays readable */
#crest-hero .ch-logos{margin-top:12px;overflow:hidden;}
#crest-hero .ch-logos ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(46px,1fr));gap:8px;}
/* slider on (script.js): four logos in view, moving one at a time */
#crest-hero .ch-logos.is-slider ul{display:flex;gap:0;transition:transform .7s cubic-bezier(.65,0,.35,1);}
#crest-hero .ch-logos.is-slider ul.no-anim{transition:none;}
#crest-hero .ch-logos.is-slider li{flex:none;width:calc((100% - 24px) / 4);margin-right:8px;}
#crest-hero .ch-logos li{
  display:flex;align-items:center;justify-content:center;min-width:0;height:46px;
  padding:4px 6px;border-radius:9px;background:var(--white);
}
#crest-hero .ch-logos img{display:block;width:auto;height:auto;max-width:100%;max-height:38px;object-fit:contain;}

/* ---------- the form ---------- */
:is(#crest-hero,#crest-ask,#crest-pop) .ch-form{
  scroll-margin-top:140px;padding:clamp(16px,1.5vw,20px) clamp(20px,1.8vw,26px) clamp(18px,1.6vw,22px);background:var(--white);color:var(--deep);
}
:is(#crest-hero,#crest-ask,#crest-pop) .ch-form__note{margin-bottom:12px;padding:10px 12px;border-radius:10px;font-size:14px;font-weight:600;line-height:1.4;}
:is(#crest-hero,#crest-ask,#crest-pop) .ch-form__note--ok{background:rgba(0,209,193,.14);color:var(--teal-dark);}
:is(#crest-hero,#crest-ask,#crest-pop) .ch-form__note--bad{background:#F6CFC8;color:#B3261E;}
:is(#crest-hero,#crest-ask,#crest-pop) .ch-form__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 12px;align-items:end;}   /* fields line up even when a label wraps */
:is(#crest-hero,#crest-ask,#crest-pop) .ch-field--wide{grid-column:1 / -1;}
:is(#crest-hero,#crest-ask,#crest-pop) .ch-form label{display:block;margin:0 0 5px;font-family:var(--f-body);font-weight:600;font-size:13px;line-height:1.3;color:var(--deep);}
:is(#crest-hero,#crest-ask,#crest-pop) .ch-form input,:is(#crest-hero,#crest-ask,#crest-pop) .ch-form select,:is(#crest-hero,#crest-ask,#crest-pop) .ch-form textarea{
  display:block;width:100%;height:44px;margin:0;padding:0 12px;border:1px solid rgba(14,42,51,.2);border-radius:10px;
  background:var(--paper);color:var(--deep);box-shadow:none;
  font-family:var(--f-body);font-weight:500;font-size:15px;line-height:1.4;
  transition:border-color .2s ease,background-color .2s ease;
}
:is(#crest-hero,#crest-ask,#crest-pop) .ch-form textarea{height:44px;min-height:44px;padding:10px 12px;resize:vertical;}
:is(#crest-hero,#crest-ask,#crest-pop) .ch-form input::placeholder,:is(#crest-hero,#crest-ask,#crest-pop) .ch-form textarea::placeholder{color:rgba(27,31,34,.4);opacity:1;}
:is(#crest-hero,#crest-ask,#crest-pop) .ch-form input:focus,:is(#crest-hero,#crest-ask,#crest-pop) .ch-form select:focus,:is(#crest-hero,#crest-ask,#crest-pop) .ch-form textarea:focus{
  outline:none;border-color:var(--teal-dark);background:var(--white);box-shadow:0 0 0 2px rgba(0,209,193,.3);
}
/* file upload */
:is(#crest-hero,#crest-ask,#crest-pop) .ch-form input[type="file"]{height:auto;padding:7px;font-size:13.5px;line-height:1.3;cursor:pointer;}
:is(#crest-hero,#crest-ask,#crest-pop) .ch-form input[type="file"]::file-selector-button{
  margin-right:12px;padding:8px 14px;border:0;border-radius:999px;background:var(--deep);color:var(--white);
  font-family:var(--f-body);font-weight:600;font-size:13px;cursor:pointer;transition:background-color .2s ease;
}
:is(#crest-hero,#crest-ask,#crest-pop) .ch-form input[type="file"]:hover::file-selector-button{background:var(--teal-dark);}
:is(#crest-hero,#crest-ask,#crest-pop) .ch-form__hint{display:block;margin-top:5px;font-size:12px;line-height:1.4;color:rgba(14,42,51,.62);}
/* steps: without script.js every step shows in one list; with it, one step at a time, each at its own height */
:is(#crest-hero,#crest-ask,#crest-pop) .ch-step + .ch-step{margin-top:11px;}
:is(#crest-hero,#crest-ask,#crest-pop) .ch-req{margin-left:2px;color:#B3261E;}
:is(#crest-hero,#crest-ask,#crest-pop) .ch-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;}
:is(#crest-hero,#crest-ask,#crest-pop) .ch-progress,:is(#crest-hero,#crest-ask,#crest-pop) .ch-back,:is(#crest-hero,#crest-ask,#crest-pop) .ch-next{display:none;}
:is(#crest-hero,#crest-ask,#crest-pop) .ch-form.is-steps .ch-step{display:none;margin:0;}
:is(#crest-hero,#crest-ask,#crest-pop) .ch-form.is-steps .ch-step.is-on{display:grid;animation:ch-step-in .4s var(--ease) both;}
@keyframes ch-step-in{from{opacity:0;transform:translate3d(14px,0,0);}to{opacity:1;transform:none;}}
:is(#crest-hero,#crest-ask,#crest-pop) .ch-form.is-steps .ch-progress{display:block;margin-top:16px;}
:is(#crest-hero,#crest-ask,#crest-pop) .ch-progress__count{font-family:var(--f-body);font-weight:700;font-size:13px;line-height:1.2;color:var(--deep);}
:is(#crest-hero,#crest-ask,#crest-pop) .ch-progress__bar{position:relative;display:block;height:6px;margin-top:8px;overflow:hidden;border-radius:6px;background:rgba(14,42,51,.1);}
:is(#crest-hero,#crest-ask,#crest-pop) .ch-progress__bar i{position:absolute;left:0;top:0;bottom:0;width:33.333%;border-radius:6px;background:var(--teal);transition:width .45s var(--ease);}
:is(#crest-hero,#crest-ask,#crest-pop) .ch-nav{display:flex;gap:10px;margin-top:14px;}
:is(#crest-hero,#crest-ask,#crest-pop) .ch-nav button.ch-form__btn{flex:1 1 auto;margin:0;}
:is(#crest-hero,#crest-ask,#crest-pop) .ch-form.is-steps .ch-next{display:block;}
:is(#crest-hero,#crest-ask,#crest-pop) .ch-form.is-steps:not(.is-last) .ch-submit,:is(#crest-hero,#crest-ask,#crest-pop) .ch-form.is-steps.is-last .ch-next{display:none;}
:is(#crest-hero,#crest-ask,#crest-pop) .ch-form.is-steps:not(.is-first) .ch-back{display:block;}
:is(#crest-hero,#crest-ask,#crest-pop) button.ch-back{
  flex:none;min-height:50px;margin:0;padding:0 22px;border:1.5px solid rgba(14,42,51,.2);border-radius:999px;
  background:var(--white);color:var(--deep);box-shadow:none;cursor:pointer;
  font-family:var(--f-body);font-weight:600;font-size:15px;line-height:1.3;text-transform:none;
  transition:border-color .2s ease,background-color .2s ease;
}
:is(#crest-hero,#crest-ask,#crest-pop) button.ch-back:hover,:is(#crest-hero,#crest-ask,#crest-pop) button.ch-back:focus{border-color:var(--deep);background:var(--paper);color:var(--deep);}
:is(#crest-hero,#crest-ask,#crest-pop) button.ch-back:focus{outline:none;}
:is(#crest-hero,#crest-ask,#crest-pop) button.ch-back:focus-visible{outline:3px solid var(--teal-dark);outline-offset:3px;}
/* hidden from people, only bots fill it in */
:is(#crest-hero,#crest-ask,#crest-pop) .ch-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
:is(#crest-hero,#crest-ask,#crest-pop) button.ch-form__btn{
  display:block;width:100%;min-height:50px;margin:14px 0 0;padding:12px 18px;border:0;border-radius:999px;
  background:var(--teal);color:var(--deep);box-shadow:none;cursor:pointer;
  font-family:var(--f-body);font-weight:600;font-size:15.5px;line-height:1.3;text-transform:none;
  transition:background-color .25s ease;
}
:is(#crest-hero,#crest-ask,#crest-pop) button.ch-form__btn:hover,:is(#crest-hero,#crest-ask,#crest-pop) button.ch-form__btn:focus{background:#80E8E0;color:var(--deep);}
:is(#crest-hero,#crest-ask,#crest-pop) button.ch-form__btn:focus{outline:none;}
:is(#crest-hero,#crest-ask,#crest-pop) button.ch-form__btn:focus-visible{outline:3px solid var(--teal-dark);outline-offset:3px;}

/* desktop: the form is compact */
@media (min-width:1101px){
  :is(#crest-hero,#crest-ask,#crest-pop) .ch-form__grid{gap:9px 12px;}
  :is(#crest-hero,#crest-ask,#crest-pop) .ch-form label{margin-bottom:4px;}
  :is(#crest-hero,#crest-ask,#crest-pop) .ch-form input,:is(#crest-hero,#crest-ask,#crest-pop) .ch-form select{height:40px;}
  :is(#crest-hero,#crest-ask,#crest-pop) .ch-form input[type="file"]{height:auto;}
  :is(#crest-hero,#crest-ask,#crest-pop) .ch-form textarea{height:40px;min-height:40px;padding-top:8px;padding-bottom:8px;}
  :is(#crest-hero,#crest-ask,#crest-pop) button.ch-form__btn{min-height:46px;padding:10px 18px;}
  :is(#crest-hero,#crest-ask,#crest-pop) button.ch-back{min-height:46px;}
  :is(#crest-hero,#crest-ask,#crest-pop) .ch-logos li{height:44px;}
  :is(#crest-hero,#crest-ask,#crest-pop) .ch-logos img{max-height:36px;}
}

/* ---------- keyframes ---------- */
@keyframes ch-rise{from{transform:translate3d(0,108%,0);}to{transform:translate3d(0,0,0);}}
@keyframes ch-fade{from{opacity:0;}to{opacity:1;}}
@keyframes ch-fade-up{from{opacity:0;transform:translate3d(0,18px,0);}to{opacity:1;transform:none;}}

/* the arrow from "Kenya" to the form: drawn once the headline has risen, the head appears as the line arrives */
#crest-hero svg.ch-arrow{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:2;visibility:hidden;}
#crest-hero svg.ch-arrow.is-set{visibility:visible;animation:ch-nudge 2.4s 2.6s ease-in-out infinite;}   /* once drawn, it eases a few pixels towards the form and back */
#crest-hero .ch-arrow path{fill:none;stroke:var(--teal);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;}
#crest-hero .ch-arrow__line{stroke-dasharray:var(--len,600);stroke-dashoffset:var(--len,600);animation:ch-draw 1s 1.3s cubic-bezier(.45,0,.2,1) forwards;}
#crest-hero .ch-arrow__head{opacity:0;animation:ch-fade .3s 2.15s ease forwards;}
@keyframes ch-draw{to{stroke-dashoffset:0;}}
@keyframes ch-nudge{0%,100%{transform:translate(0,0);}50%{transform:translate(var(--nx,5px),var(--ny,2px));}}
@media (max-width:1100px){ #crest-hero svg.ch-arrow{display:none;} }   /* stacked: the form sits below the headline */
@media (prefers-reduced-motion:reduce){
  #crest-hero .ch-arrow__line{animation:none;stroke-dashoffset:0;}
  #crest-hero .ch-arrow__head{animation:none;opacity:1;}
  #crest-hero svg.ch-arrow.is-set{animation:none;}
}


/* ---------- responsive ---------- */
@media (max-width:1100px){
  #crest-hero .ch-grid{grid-template-columns:minmax(0,1fr);}
  #crest-hero .ch-title{font-size:40px;}
  #crest-hero .ch-side{margin-top:clamp(28px,5vw,40px);}
}
@media (max-width:720px){
  #crest-hero{font-size:16px;}
  #crest-hero .ch-title{font-size:clamp(29px,8.4vw,40px);line-height:1.05;}
  #crest-hero .ch-title .ln{display:inline;white-space:normal;}
  #crest-hero .ch-slide{background-position:65% center;}
  #crest-hero .ch-sub{font-size:17px;}
  #crest-hero a.ch-cta{flex:1 1 100%;padding:0 18px;white-space:nowrap;}
  #crest-hero a.ch-cta2{flex:1 1 100%;}
  /* phones are too narrow for the longest points on one line at a readable size */
  #crest-hero .ch-txt{white-space:normal;}
  #crest-hero .ch-pt{font-size:clamp(12px,3.1vw,15px);column-gap:8px;align-items:start;}
  #crest-hero .ch-form__grid{grid-template-columns:minmax(0,1fr);}
  #crest-hero .ch-form textarea{height:72px;}
  #crest-hero .ch-offer__points{grid-template-columns:minmax(0,1fr);}   /* phones: the four points one under another */
}
/* very small phones: keep the eyebrow on one line */
@media (max-width:340px){
  #crest-hero .ch-eyebrow{gap:5px;padding-left:9px;font-size:11px;}
  #crest-hero .ch-eyebrow em{padding:3px 7px;}
}
/* small phones: keep the button labels on one line */
@media (max-width:440px){
  #crest-hero button.ch-form__btn{padding:12px 8px;font-size:clamp(12.5px,3.85vw,15.5px);}
  #crest-hero a.ch-cta{font-size:clamp(13.5px,3.9vw,16px);padding:0 10px;}
}

/* ---------- reduced motion: everything static & visible ---------- */
@media (prefers-reduced-motion:reduce){
  #crest-hero *,#crest-hero *::before,#crest-hero *::after{animation:none !important;transition:none !important;}
  #crest-hero .ch-slides,#crest-hero a.ch-cta{transform:none !important;}
  #crest-hero .ch-slide{transform:none !important;opacity:0;}
  #crest-hero .ch-slide.is-on{opacity:var(--photo-opacity);}
}


/* ==========================================================================
   HOME: COMPANY LOGOS AND KEY FIGURES (under the hero)
   ========================================================================== */
#crest-proof{
  --deep:#0E2A33; --teal-dark:#0B7A72; --lime:#C8F03C; --paper:#F6F4EF; --white:#FFFFFF;
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --gutter:clamp(20px,5vw,80px);
  --ease:cubic-bezier(.16,.84,.24,1);
  position:relative;width:100%;
  padding:clamp(43px,3.9vw,59px) 0 clamp(31px,3.2vw,48px);
  background:var(--paper);color:var(--deep);
  font-family:var(--f-body);-webkit-font-smoothing:antialiased;
}
#crest-proof *,#crest-proof *::before,#crest-proof *::after{box-sizing:border-box;}
#crest-proof h2,#crest-proof ul,#crest-proof li,#crest-proof dl,#crest-proof dt,#crest-proof dd{margin:0;padding:0;border:0;list-style:none;text-shadow:none;}
#crest-proof .pf-wrap{width:100%;max-width:1280px;margin:0 auto;padding:0 var(--gutter);}

/* the measuring-scale strip, directly under the hero */
#crest-proof .pf-rule{
  position:absolute;top:0;left:0;right:0;height:30px;opacity:.22;pointer-events:none;
  background-image:
    repeating-linear-gradient(to right,var(--teal-dark) 0 1px,transparent 1px 60px),
    repeating-linear-gradient(to right,var(--teal-dark) 0 1px,transparent 1px 12px);
  background-size:100% 30px,100% 16px;
  background-repeat:no-repeat;
}

#crest-proof .pf-head{
  margin-bottom:clamp(18px,1.8vw,24px);text-align:center;
  font-family:var(--f-head);font-weight:700;font-size:13px;line-height:1.4;letter-spacing:.16em;text-transform:uppercase;color:rgba(14,42,51,.78);
}
#crest-proof .pf-logos{--g:clamp(12px,1.3vw,18px);display:flex;flex-wrap:wrap;justify-content:center;gap:var(--g);}   /* six per row; a short last row sits centred, so no tile looks missing */
#crest-proof .pf-logos > li{flex:0 0 calc((100% - 5 * var(--g)) / 6);}
#crest-proof .pf-logos li{
  display:flex;align-items:center;justify-content:center;min-width:0;height:116px;padding:16px 18px;
  border:1px solid rgba(14,42,51,.07);border-radius:14px;background:var(--white);
  box-shadow:0 8px 22px -14px rgba(14,42,51,.22);
}
#crest-proof .pf-logos img{display:block;width:auto;height:auto;max-width:100%;max-height:76px;border:0;border-radius:0;box-shadow:none;object-fit:contain;}
/* accreditations still in progress: the logo in full colour on a dashed outline, with a small, plain "Working on" tag
   sitting on its top edge: white, a fine Teal Dark outline, ordinary lettering */
#crest-proof .pf-logos li.is-progress{position:relative;border:1.5px dashed rgba(11,122,114,.35);background:var(--white);box-shadow:none;}   /* the logo in its own colours */
#crest-proof .pf-badge{
  position:absolute;left:50%;top:0;transform:translate(-50%,-50%);
  padding:3px 10px;border:1px solid rgba(11,122,114,.4);border-radius:999px;background:var(--white);white-space:nowrap;
  font-family:var(--f-body);font-weight:500;font-size:12px;line-height:1.3;color:var(--teal-dark);
}

/* the figures */
#crest-proof .pf-stats{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.7fr) minmax(0,1.15fr);   /* the third figure is the longest */
  margin-top:clamp(28px,3vw,42px);padding:clamp(26px,2.8vw,38px) 0;border-radius:18px;background:var(--deep);
}
#crest-proof .pf-stats + div{margin-top:clamp(32px,3.4vw,48px);}
#crest-proof .pf-stat{display:flex;flex-direction:column;align-items:center;padding:6px 14px;text-align:center;}
#crest-proof .pf-stat + .pf-stat{border-left:1px solid rgba(246,244,239,.16);}
#crest-proof .pf-stat dd{font-family:var(--f-head);font-weight:700;font-size:clamp(24px,2.3vw,36px);line-height:1.15;letter-spacing:-.02em;color:var(--lime);}
#crest-proof .pf-stat dt{margin-top:8px;font-size:clamp(14.5px,1.1vw,16px);font-weight:400;line-height:1.4;color:rgba(246,244,239,.9);}


@media (max-width:1000px){
  #crest-proof .pf-stats{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px 0;}
  #crest-proof .pf-stat{padding:18px 14px;}
  #crest-proof .pf-stat:nth-child(odd){border-left:0;}
  #crest-proof .pf-stat:nth-child(n+3){border-top:1px solid rgba(246,244,239,.16);}
}
@media (max-width:860px){
  #crest-proof .pf-logos > li{flex-basis:calc((100% - 3 * var(--g)) / 4);}
  #crest-proof .pf-logos li{height:100px;padding:12px 14px;}
}
@media (max-width:640px){
  #crest-proof .pf-logos > li{flex-basis:calc((100% - var(--g)) / 2);}
  #crest-proof .pf-logos img{max-height:64px;}
  #crest-proof .pf-stats{grid-template-columns:minmax(0,1fr);padding:10px 0;}
  #crest-proof .pf-stat{padding:18px 20px;}
  #crest-proof .pf-stat + .pf-stat{border-left:0;border-top:1px solid rgba(246,244,239,.16);}
}


/* ==========================================================================
   HOME 2. MAKE THE PROJECT MAKE SENSE
   ========================================================================== */
#crest-intro{
  --deep:#0E2A33; --teal:#00D1C1; --teal-dark:#0B7A72; --teal75:#489B95; --lime:#C8F03C;
  --charcoal:#1B1F22; --paper:#F6F4EF; --stone:#E9E2D6; --white:#FFFFFF;
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --gutter:clamp(20px,5vw,80px);
  --ease:cubic-bezier(.16,.84,.24,1);
  position:relative;width:100%;overflow:hidden;
  background:var(--white);color:var(--charcoal);
  font-family:var(--f-body);font-size:16px;line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
#crest-intro *,#crest-intro *::before,#crest-intro *::after{box-sizing:border-box;}
#crest-intro h2,#crest-intro p,#crest-intro ul,#crest-intro ol,#crest-intro li,#crest-intro figure,#crest-intro blockquote{
  margin:0;padding:0;border:0;text-transform:none;letter-spacing:normal;text-shadow:none;
}
#crest-intro ul,#crest-intro ol,#crest-intro li{list-style:none;}
#crest-intro img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;border:0;border-radius:0;box-shadow:none;}
#crest-intro strong{font-weight:700;color:var(--deep);}
#crest-intro p{font-family:var(--f-body);color:inherit;}

#crest-intro .in-wrap{position:relative;width:100%;max-width:calc(1190px + 2 * var(--gutter));margin:0 auto;padding:0 var(--gutter);}

/* ---------- A. the story ---------- */
#crest-intro .in-story{padding:clamp(39px,4.2vw,62px) 0 clamp(45px,4.9vw,73px);}

/* centred title */
#crest-intro .in-head{text-align:center;margin-bottom:clamp(32px,3.6vw,52px);}
#crest-intro .in-title{
  max-width:820px;margin:0 auto;
  font-family:var(--f-head);font-weight:700;font-size:clamp(24px,2.3vw,35px);line-height:1.18;letter-spacing:-.025em;text-wrap:balance;
  color:var(--deep);
}
#crest-intro .in-title span{display:block;color:var(--teal-dark);}

/* the photo beside the words, as on WS Law: a plain rounded photo with a soft shadow, the paragraphs justified beside it */
#crest-intro .in-story__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(36px,4.6vw,72px);align-items:center;}
#crest-intro .in-story__media{position:relative;aspect-ratio:5/4;margin:0;}
#crest-intro .in-story__media img{position:static;width:100%;height:100%;border-radius:20px;object-fit:cover;object-position:30% center;box-shadow:0 24px 48px -28px rgba(14,42,51,.5);}
#crest-intro .in-story__copy{display:flex;flex-direction:column;justify-content:center;}
#crest-intro .in-lead,#crest-intro .in-note__quote,#crest-intro .in-note__text{
  font-family:var(--f-body);font-weight:400;font-size:clamp(15px,1.1vw,16px);line-height:1.65;letter-spacing:normal;color:rgba(27,31,34,.72);
}
#crest-intro .in-note{margin-top:1.1em;}
#crest-intro .in-note__quote em{font-style:normal;color:inherit;}
#crest-intro .in-note__text{margin-top:1.1em;}

/* ---------- call to action, closing the section ---------- */
#crest-intro .in-cta{
  display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;gap:clamp(22px,2.4vw,28px);text-align:center;
  max-width:880px;margin:clamp(56px,6vw,88px) auto 0;padding:clamp(32px,3.4vw,48px) clamp(24px,3.4vw,48px);border-radius:20px;   /* a compact card, centred: the title, the two points, then the buttons */
  position:relative;overflow:hidden;border-radius:20px;background:var(--deep);color:var(--white);
}
#crest-intro .in-cta::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:16px;opacity:.3;pointer-events:none;
  background:
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 60px) 0 100%/100% 16px no-repeat,
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 12px) 0 100%/100% 8px no-repeat;
}
#crest-intro .in-cta__title{font-family:var(--f-head);font-weight:700;font-size:clamp(22px,2vw,30px);line-height:1.22;letter-spacing:-.018em;text-wrap:balance;color:var(--white);}
#crest-intro .in-cta__points{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 28px;margin-top:14px;}
#crest-intro .in-cta__points li{display:flex;align-items:center;gap:10px;font-size:clamp(15px,1.1vw,16px);line-height:1.35;color:rgba(246,244,239,.9);}
#crest-intro .in-cta__tick{display:flex;flex:none;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:rgba(0,209,193,.18);}
#crest-intro .in-cta__tick svg{display:block;width:12px;height:12px;}
#crest-intro .in-cta__tick polygon{fill:var(--teal);}
#crest-intro .in-cta__actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;}
#crest-intro a.in-cta__btn{
  display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:0 30px;border-radius:999px;
  border:1px solid var(--teal);background:var(--teal);color:var(--deep);box-shadow:none;text-decoration:none;white-space:nowrap;
  font-family:var(--f-body);font-weight:600;font-size:16px;line-height:1.3;
  transition:background-color .25s ease,color .25s ease,border-color .25s ease;
}
#crest-intro a.in-cta__btn:visited{color:var(--deep);}
#crest-intro a.in-cta__btn:hover{border-color:#80E8E0;background:#80E8E0;color:var(--deep);text-decoration:none;}
#crest-intro a.in-cta__btn:focus{outline:none;}
#crest-intro a.in-cta__btn:focus-visible{outline:3px solid var(--teal);outline-offset:3px;}
#crest-intro a.in-cta__btn--ghost,#crest-intro a.in-cta__btn--ghost:visited{background:transparent;color:var(--white);border:1px solid rgba(246,244,239,.45);}
#crest-intro a.in-cta__btn--ghost:hover{background:var(--white);border-color:var(--white);color:var(--deep);}


/* ---------- responsive ---------- */
@media (max-width:1000px){
  #crest-intro .in-story__grid{grid-template-columns:minmax(0,1fr);gap:28px;}
  #crest-intro .in-story__media{aspect-ratio:16/10;}
}
@media (max-width:680px){
  #crest-intro{font-size:16px;}
  #crest-intro .in-cta{padding:26px 22px;}
  #crest-intro .in-cta__points{flex-direction:column;align-items:flex-start;width:fit-content;max-width:100%;margin-left:auto;margin-right:auto;text-align:left;}
  #crest-intro a.in-cta__btn{flex:1 1 100%;padding:0 12px;font-size:clamp(14px,4vw,16px);}
}
@media (prefers-reduced-motion:reduce){
  #crest-intro *{transition:none !important;}
}


/* ==========================================================================
   HOME: WHO IT IS FOR (a photo that stays in view beside the four paragraphs)
   ========================================================================== */
#crest-who{
  --teal:#00D1C1; --teal-dark:#0B7A72; --paper:#F6F4EF; --white:#FFFFFF;
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --ease:cubic-bezier(.16,.84,.24,1);
  position:relative;width:100%;
  padding:clamp(39px,4.2vw,62px) 0;
  background:var(--paper);
  font-family:var(--f-body);-webkit-font-smoothing:antialiased;
}
#crest-who *,#crest-who *::before,#crest-who *::after{box-sizing:border-box;}
#crest-who p,#crest-who figure{margin:0;border:0;text-transform:none;letter-spacing:normal;text-shadow:none;}
#crest-who .wh-wrap{width:100%;max-width:1520px;margin:0 auto;padding:0 clamp(16px,3vw,48px);}
#crest-who .wh-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(40px,5.5vw,96px);align-items:start;}
#crest-who{--deep:#0E2A33;}
/* the photo (no longer held in place while scrolling), styled like the one in "Who Know What Your Win Looks Like": plain and rounded, a field of small Teal Dark dots
   peeking out behind its top right corner and a solid teal circle tucked behind its bottom left corner */
#crest-who .wh-photo{position:relative;isolation:isolate;aspect-ratio:5/4;margin:28px;}   /* its own shape, a little wider than tall, as in that section */
#crest-who .wh-photo img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;border:0;border-radius:24px;box-shadow:0 30px 60px -34px rgba(14,42,51,.6);}
#crest-who .wh-photo::before,#crest-who .wh-photo::after{content:"";position:absolute;z-index:-1;pointer-events:none;}
#crest-who .wh-photo::before{
  top:-28px;right:-28px;width:58%;height:46%;
  background:radial-gradient(circle,var(--teal-dark) 0 2px,transparent 2.6px) 0 0/16px 16px;opacity:.55;
}
#crest-who .wh-photo::after{left:-30px;bottom:-30px;width:31%;aspect-ratio:1;border-radius:50%;background:var(--teal);}
/* the paragraphs simply read down the page, split by thin lines */
#crest-who .wh-paras p{
  padding:clamp(24px,2.4vw,34px) 0;border-top:1px solid rgba(14,42,51,.12);
  font-size:clamp(15px,1.1vw,16px);line-height:1.65;color:rgba(27,31,34,.72);
}
#crest-who .wh-paras > p:first-child{padding-top:0;border-top:0;}
#crest-who .wh-more p:last-child{padding-bottom:0;}
/* the last two paragraphs stay folded away behind the toggle (script.js) and open smoothly when asked.
   Without script.js all four simply show. */
:is(#crest-who,#crest-trust,#crest-compare,#crest-founder,#crest-sides .gs-side,#crest-abroad .ab-story).is-js .wh-more{overflow:hidden;max-height:0;transition:max-height .6s var(--ease);}
/* the toggle: no words on show, just a small round button with a chevron, centred on a fine line across the column;
   the chevron nudges gently downward now and then, and turns over once the paragraphs are open */
:is(#crest-who,#crest-trust,#crest-compare,#crest-founder,#crest-sides .gs-side,#crest-abroad .ab-story) button.wh-toggle,:is(#crest-who,#crest-trust,#crest-compare,#crest-founder,#crest-sides .gs-side,#crest-abroad .ab-story) button.wh-toggle:hover,:is(#crest-who,#crest-trust,#crest-compare,#crest-founder,#crest-sides .gs-side,#crest-abroad .ab-story) button.wh-toggle:focus{
  display:flex;align-items:center;gap:16px;width:100%;margin:14px 0 0;padding:0;border:0;border-radius:0;
  background:none;box-shadow:none;cursor:pointer;color:var(--teal-dark);
}
:is(#crest-who,#crest-trust,#crest-compare,#crest-founder,#crest-sides .gs-side,#crest-abroad .ab-story) button.wh-toggle[hidden]{display:none;}
:is(#crest-who,#crest-trust,#crest-compare,#crest-founder,#crest-sides .gs-side,#crest-abroad .ab-story) .wh-toggle::before,:is(#crest-who,#crest-trust,#crest-compare,#crest-founder,#crest-sides .gs-side,#crest-abroad .ab-story) .wh-toggle::after{content:"";flex:1;height:1px;background:rgba(14,42,51,.14);}
:is(#crest-who,#crest-trust,#crest-compare,#crest-founder,#crest-sides .gs-side,#crest-abroad .ab-story) .wh-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;}
:is(#crest-who,#crest-trust,#crest-compare,#crest-founder,#crest-sides .gs-side,#crest-abroad .ab-story) .wh-toggle i{
  position:relative;flex:none;width:46px;height:46px;border:1.5px solid rgba(11,122,114,.4);border-radius:50%;background:var(--white);
  transition:background-color .25s ease,border-color .25s ease;
}
:is(#crest-who,#crest-trust,#crest-compare,#crest-founder,#crest-sides .gs-side,#crest-abroad .ab-story) .wh-toggle i::before{
  content:"";position:absolute;left:50%;top:50%;width:9px;height:9px;margin:-7px 0 0 -5px;
  border-right:2px solid var(--teal-dark);border-bottom:2px solid var(--teal-dark);transform:rotate(45deg);
  transition:transform .35s var(--ease),margin .35s var(--ease),border-color .25s ease;
  animation:wh-nudge 2.6s ease-in-out infinite;
}
:is(#crest-who,#crest-trust,#crest-compare,#crest-founder,#crest-sides .gs-side,#crest-abroad .ab-story) .wh-toggle:hover i{border-color:var(--teal-dark);background:var(--teal-dark);}
:is(#crest-who,#crest-trust,#crest-compare,#crest-founder,#crest-sides .gs-side,#crest-abroad .ab-story) .wh-toggle:hover i::before{border-color:var(--white);}
:is(#crest-who,#crest-trust,#crest-compare,#crest-founder,#crest-sides .gs-side,#crest-abroad .ab-story) .wh-toggle[aria-expanded="true"] i::before{margin-top:-2px;transform:rotate(225deg);animation:none;}
:is(#crest-who,#crest-trust,#crest-compare,#crest-founder,#crest-sides .gs-side,#crest-abroad .ab-story) button.wh-toggle:focus{outline:none;}
:is(#crest-who,#crest-trust,#crest-compare,#crest-founder,#crest-sides .gs-side,#crest-abroad .ab-story) button.wh-toggle:focus-visible i{outline:3px solid var(--teal);outline-offset:3px;}
@keyframes wh-nudge{0%,70%,100%{translate:0 0;}80%{translate:0 3px;}90%{translate:0 0;}}
@media (prefers-reduced-motion:reduce){ :is(#crest-who,#crest-trust,#crest-compare,#crest-founder,#crest-sides .gs-side,#crest-abroad .ab-story).is-js .wh-more,:is(#crest-who,#crest-trust,#crest-compare,#crest-founder,#crest-sides .gs-side,#crest-abroad .ab-story) .wh-toggle i,:is(#crest-who,#crest-trust,#crest-compare,#crest-founder,#crest-sides .gs-side,#crest-abroad .ab-story) .wh-toggle i::before{transition:none;animation:none;} }
/* the opening words read exactly like the rest of the paragraph */
#crest-who .wh-paras strong{font:inherit;color:inherit;}


/* tablets and phones: the photo first, then the paragraphs */
@media (max-width:1000px){
  #crest-who .wh-layout{grid-template-columns:minmax(0,1fr);gap:clamp(28px,5vw,40px);}
  #crest-who .wh-photo{aspect-ratio:16/10;margin:20px 20px 24px;}
  #crest-who .wh-photo::before{top:-20px;right:-20px;}
  #crest-who .wh-photo::after{left:-20px;bottom:-20px;}
}


/* ==========================================================================
   HOME 3. ONE UNDERLYING CONCERN
   ========================================================================== */
#crest-why{
  --deep:#0E2A33; --teal:#00D1C1; --teal-dark:#0B7A72;
  --charcoal:#1B1F22; --paper:#F6F4EF; --white:#FFFFFF;
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --gutter:clamp(20px,5vw,80px);
  position:relative;width:100%;
  font-family:var(--f-body);font-size:16px;line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
#crest-why *,#crest-why *::before,#crest-why *::after{box-sizing:border-box;}
#crest-why h2,#crest-why p,#crest-why ul,#crest-why li{
  margin:0;padding:0;border:0;list-style:none;text-transform:none;letter-spacing:normal;text-shadow:none;
}
/* one column width and one left edge for everything in the section */
#crest-why .wy-wrap{width:100%;max-width:1200px;margin:0 auto;padding:0 var(--gutter);}

/* ---------- the questionnaire: one centred column of title, sheet and conclusion, all starting on the same left edge ---------- */
#crest-why .wy-top{position:relative;overflow:hidden;padding:clamp(45px,4.9vw,73px) 0;background:var(--deep);}
/* one great question mark behind the title */
#crest-why .wy-top::before{
  content:"?";position:absolute;left:max(-20px,calc(50% - 720px));bottom:clamp(-90px,-5vw,-40px);pointer-events:none;
  font-family:var(--f-head);font-weight:700;font-size:clamp(300px,36vw,560px);line-height:1;color:var(--teal);opacity:.07;
}
#crest-why .wy-top .wy-wrap{position:relative;max-width:calc(1040px + 2 * var(--gutter));}
#crest-why .wy-title{
  text-align:left;
  font-family:var(--f-head);font-weight:700;font-size:clamp(27px,2.6vw,38px);line-height:1.22;letter-spacing:-.022em;text-wrap:balance;color:var(--white);
}
#crest-why .wy-title span{color:var(--teal);}
#crest-why .wy-truth{
  margin-top:clamp(28px,3vw,40px);font-style:italic;
  font-size:clamp(17px,1.35vw,20px);line-height:1.6;color:rgba(246,244,239,.9);transition:color .4s ease;
}
/* every question marked: the conclusion lights up */
#crest-why .wy-top.is-done .wy-truth{color:var(--lime,#C8F03C);}

/* the sheet */
#crest-why .wy-qs{
  position:relative;counter-reset:wy;margin-top:clamp(36px,4vw,56px);
  padding:clamp(34px,3vw,42px) clamp(20px,2.4vw,34px) clamp(10px,1.2vw,16px);
  border-radius:18px;background:var(--white);box-shadow:0 34px 70px -34px rgba(14,42,51,.65),0 0 0 10px rgba(246,244,239,.06);
}
/* the clip at the head of the sheet */
#crest-why .wy-qs::after{content:"";position:absolute;top:-9px;left:50%;width:96px;height:20px;margin-left:-48px;border-radius:7px;background:var(--teal);box-shadow:inset 0 -3px 0 rgba(14,42,51,.18);}
/* the measuring scale, filled by the answers */
#crest-why .wy-qs::before{
  content:"";display:block;height:9px;margin-bottom:8px;
  background:
    linear-gradient(var(--teal-dark),var(--teal-dark)) 0 0/calc(var(--wy-p,0) * 100%) 3px no-repeat,
    linear-gradient(rgba(14,42,51,.14),rgba(14,42,51,.14)) 0 0/100% 3px no-repeat,
    repeating-linear-gradient(to right,rgba(14,42,51,.3) 0 1px,transparent 1px 12px) 0 100%/100% 6px no-repeat;
  transition:background-size .5s cubic-bezier(.16,.84,.24,1);
}
#crest-why .wy-qs li{
  counter-increment:wy;display:grid;grid-template-columns:26px minmax(0,1fr) auto;column-gap:12px;align-items:center;
  min-height:68px;padding:12px 0;border-bottom:1px solid rgba(14,42,51,.1);
  font-family:var(--f-head);font-weight:700;font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.35;color:var(--deep);
}
#crest-why .wy-qs li:last-child{border-bottom:0;}
#crest-why .wy-qs li::before{content:counter(wy);font-weight:700;font-size:20px;line-height:1;color:var(--teal-dark);}
#crest-why .wy-marks{display:flex;gap:6px;}
#crest-why button.wy-mark,#crest-why button.wy-mark:hover,#crest-why button.wy-mark:focus,#crest-why button.wy-mark:active{
  display:flex;align-items:center;justify-content:center;width:40px;height:40px;margin:0;padding:0;border:1.5px solid rgba(14,42,51,.22);border-radius:50%;
  background:var(--white);color:var(--deep);box-shadow:none;cursor:pointer;text-transform:none;
  font-family:var(--f-head);font-weight:700;font-size:18px;line-height:1;
  transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease;
}
#crest-why button.wy-mark:hover{border-color:var(--teal-dark);color:var(--teal-dark);transform:scale(1.06);}
#crest-why button.wy-mark:focus{outline:none;}
#crest-why button.wy-mark:focus-visible{outline:3px solid var(--teal-dark);outline-offset:2px;}
#crest-why button.wy-mark svg{display:block;width:15px;height:15px;fill:currentColor;}
#crest-why button.wy-mark--yes[aria-pressed="true"]{border-color:var(--teal-dark);background:var(--teal-dark);color:var(--white);}
#crest-why button.wy-mark--no[aria-pressed="true"]{border-color:var(--deep);background:var(--deep);color:var(--white);}
#crest-why button.wy-mark--unsure[aria-pressed="true"]{border-color:#C8F03C;background:#C8F03C;color:var(--deep);}

/* ---------- the problem and the answer as two halves of the page, then the goal ---------- */
#crest-why .wy-bottom{background:var(--paper);color:var(--charcoal);}
#crest-why .wy-halves{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
/* each half's words spread up to 660px either side of the page's centre */
#crest-why .wy-half{display:flex;flex-direction:column;justify-content:center;padding-top:clamp(39px,4.5vw,67px);padding-bottom:clamp(39px,4.5vw,67px);}
#crest-why .wy-half--problem{padding-left:max(var(--gutter),calc(100% - 660px));padding-right:clamp(28px,3.6vw,56px);}
#crest-why .wy-half--answer{padding-left:clamp(28px,3.6vw,56px);padding-right:max(var(--gutter),calc(100% - 660px));background:var(--teal-dark);}
#crest-why .wy-body{font-size:clamp(15px,1.1vw,16px);line-height:1.65;}
#crest-why .wy-half--problem .wy-body{font-size:clamp(18px,1.4vw,20px);line-height:1.65;color:var(--charcoal);}
#crest-why .wy-half--answer .wy-body{color:rgba(255,255,255,.94);}
#crest-why .wy-pivot{
  margin-bottom:14px;
  font-family:var(--f-head);font-weight:700;font-size:clamp(24px,2.3vw,33px);line-height:1.22;letter-spacing:-.02em;color:var(--white);
}
#crest-why .wy-pivot span{color:#C8F03C;}
/* the goal: a Deep band joined to the halves, starting on their left edge, under a measuring scale */
#crest-why .wy-halves + .wy-wrap{
  position:relative;max-width:none;
  padding-left:max(var(--gutter),calc(50% - 660px));padding-right:max(var(--gutter),calc(50% - 660px));
  background:var(--deep);
}
#crest-why .wy-halves + .wy-wrap::before{
  content:"";position:absolute;top:0;left:0;right:0;height:18px;opacity:.4;pointer-events:none;
  background:
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 60px) 0 0/100% 18px no-repeat,
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 12px) 0 0/100% 9px no-repeat;
}
#crest-why .wy-goal{
  padding:clamp(39px,3.9vw,59px) 0 clamp(34px,3.5vw,53px);
  font-family:var(--f-head);font-weight:700;font-size:clamp(20px,2vw,30px);line-height:1.4;letter-spacing:-.014em;text-wrap:pretty;color:var(--white);
}

@media (max-width:900px){
  #crest-why .wy-halves{grid-template-columns:minmax(0,1fr);}
  #crest-why .wy-half--problem,#crest-why .wy-half--answer{padding-left:var(--gutter);padding-right:var(--gutter);}
}
/* phones: the marks sit under their question */
@media (max-width:520px){
  #crest-why .wy-qs li{grid-template-columns:26px minmax(0,1fr);row-gap:10px;}
  #crest-why .wy-marks{grid-column:2;}
}
@media (prefers-reduced-motion:reduce){
  #crest-why *,#crest-why *::before{transition:none !important;}
}


/* ==========================================================================
   HOME 4. CONSULTANTS WHO UNDERSTAND WHY PROJECTS FAIL
   ========================================================================== */
#crest-how{
  --deep:#0E2A33; --teal:#00D1C1; --teal-dark:#0B7A72;
  --charcoal:#1B1F22; --paper:#F6F4EF; --white:#FFFFFF;
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --gutter:clamp(20px,5vw,80px);
  position:relative;width:100%;
  font-family:var(--f-body);font-size:16px;line-height:1.65;color:var(--charcoal);
  -webkit-font-smoothing:antialiased;
}
#crest-how *,#crest-how *::before,#crest-how *::after{box-sizing:border-box;}
#crest-how h2,#crest-how p,#crest-how ul,#crest-how li,#crest-how figure{
  margin:0;padding:0;border:0;list-style:none;text-transform:none;letter-spacing:normal;text-shadow:none;
}
/* the same wide column and left edge as the section above */
#crest-how .hw-wrap{width:100%;padding-left:max(var(--gutter),calc(50% - 660px));padding-right:max(var(--gutter),calc(50% - 660px));}
#crest-how .hw-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;}
#crest-how .hw-body{font-size:clamp(15px,1.1vw,16px);line-height:1.65;color:rgba(27,31,34,.72);}
#crest-how .hw-body + .hw-body{margin-top:1.2em;}

/* ---------- the problem: a centred title above the photo and the words, side by side ---------- */
#crest-how .hw-intro{padding:clamp(45px,4.9vw,73px) 0 0;background:var(--white);}
#crest-how .hw-title{
  margin:0 0 clamp(32px,3.8vw,56px);text-align:center;   /* two lines: the title, then the teal line */
  font-family:var(--f-head);font-weight:700;font-size:clamp(22px,2.3vw,33px);line-height:1.22;letter-spacing:-.022em;color:var(--deep);
}
#crest-how .hw-title span{display:block;color:var(--teal-dark);}
#crest-how .hw-opening{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(36px,5.5vw,88px);align-items:stretch;}
#crest-how .hw-opening .hw-photo{min-height:380px;}
#crest-how .hw-opening__copy{display:flex;flex-direction:column;justify-content:center;}
/* the photo on a Teal Dark panel set behind it, with the scale along its foot (as beside "Our approach reflects...") */
#crest-how .hw-opening .hw-photo{overflow:visible;isolation:isolate;margin:0 0 22px 22px;background:none;}
#crest-how .hw-opening .hw-photo img{border-radius:20px;box-shadow:0 26px 50px -26px rgba(14,42,51,.55);}
#crest-how .hw-opening .hw-photo::before,#crest-how .hw-opening .hw-photo::after{content:"";position:absolute;z-index:-1;pointer-events:none;}
#crest-how .hw-opening .hw-photo::before{inset:28px 28px -22px -22px;border-radius:20px;background:var(--teal-dark);}
#crest-how .hw-opening .hw-photo::after{
  left:-2px;right:48px;bottom:-22px;height:14px;opacity:.45;
  background:
    repeating-linear-gradient(to right,var(--paper) 0 1px,transparent 1px 60px) 0 100%/100% 14px no-repeat,
    repeating-linear-gradient(to right,var(--paper) 0 1px,transparent 1px 12px) 0 100%/100% 7px no-repeat;
}

/* the closing paragraphs on a Paper band: a readable width, centred, a short Teal Dark line between them */
#crest-how .hw-after{margin-top:clamp(39px,4.2vw,62px);padding:clamp(34px,3.6vw,53px) 0;background:var(--paper);text-align:center;}
#crest-how .hw-after .hw-body{max-width:46em;margin-left:auto;margin-right:auto;}
#crest-how .hw-after .hw-body + .hw-body{margin-top:0;}
#crest-how .hw-after .hw-body + .hw-body::before{content:"";display:block;width:48px;height:3px;margin:clamp(20px,2.2vw,28px) auto;border-radius:3px;background:var(--teal-dark);}

/* ---------- B. the four mechanisms, on Deep ---------- */
#crest-how .hw-mechs{
  padding:clamp(50px,5.6vw,84px) 0;
  background:var(--deep);
  color:rgba(246,244,239,.8);
}
#crest-how .hw-mechs__intro{
  max-width:22em;margin:0 auto;text-align:center;
  font-family:var(--f-head);font-weight:700;font-size:clamp(21px,2vw,30px);line-height:1.35;letter-spacing:-.015em;color:var(--white);
}
#crest-how .hw-mechs__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,1.8vw,24px);margin-top:clamp(36px,4vw,56px);}
#crest-how .hw-mech{
  display:grid;grid-template-columns:56px minmax(0,1fr);gap:22px;align-items:start;
  padding:clamp(26px,2.6vw,36px);
  border:1px solid rgba(246,244,239,.12);border-radius:18px;
  background:rgba(255,255,255,.04);
  transition:border-color .3s ease,background-color .3s ease;
}
#crest-how .hw-mech:hover{border-color:rgba(0,209,193,.5);background:rgba(0,209,193,.06);}
#crest-how .hw-mech__ico{
  display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:14px;
  background:rgba(0,209,193,.12);color:var(--teal);
}
#crest-how .hw-mech__ico svg{display:block;width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
#crest-how .hw-mech p{font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.65;color:rgba(246,244,239,.78);}
#crest-how .hw-mech__name{
  display:block;margin-bottom:10px;
  font-family:var(--f-head);font-weight:700;font-size:clamp(17px,1.35vw,19px);line-height:1.3;letter-spacing:-.01em;color:var(--white);
}

/* the silent background video (a video file set in crest_mechs_video() in functions.php), under a dark wash */
#crest-how .hw-mechs{position:relative;overflow:hidden;isolation:isolate;}
#crest-how .hw-mechs__video{position:absolute;inset:0;z-index:-2;overflow:hidden;pointer-events:none;}
#crest-how .hw-mechs__video video{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;border:0;}
#crest-how .hw-mechs.has-video::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:rgba(14,42,51,.88);
}

/* ---------- call to action: a bright lime band, centred, between the dark band and the light one ---------- */
#crest-how .hw-cta{padding:clamp(34px,3.8vw,56px) 0;background:#C8F03C;text-align:center;}
#crest-how .hw-cta__title{font-family:var(--f-head);font-weight:700;font-size:clamp(25px,2.6vw,38px);line-height:1.2;letter-spacing:-.022em;text-wrap:balance;color:var(--deep);}
#crest-how .hw-cta__points{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 32px;margin-top:clamp(14px,1.6vw,20px);}
#crest-how .hw-cta__points li{display:flex;align-items:center;gap:10px;font-size:clamp(15px,1.1vw,16px);font-weight:600;line-height:1.35;color:var(--deep);}
#crest-how .hw-cta__tick{display:flex;flex:none;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:var(--deep);}
#crest-how .hw-cta__tick svg{display:block;width:12px;height:12px;}
#crest-how .hw-cta__tick polygon{fill:#C8F03C;}
#crest-how .hw-cta__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:clamp(24px,2.6vw,34px);}
#crest-how a.hw-cta__btn,#crest-how a.hw-cta__btn:visited{
  display:inline-flex;align-items:center;justify-content:center;min-height:58px;padding:0 32px;border:1.5px solid var(--deep);border-radius:999px;
  background:var(--deep);color:var(--white);box-shadow:none;text-decoration:none;white-space:nowrap;
  font-family:var(--f-body);font-weight:600;font-size:16px;line-height:1.3;
  transition:background-color .25s ease,color .25s ease,transform .25s ease;
}
#crest-how a.hw-cta__btn:hover{background:#0B7A72;border-color:#0B7A72;color:var(--white);text-decoration:none;transform:translateY(-1px);}
#crest-how a.hw-cta__btn--ghost,#crest-how a.hw-cta__btn--ghost:visited{background:transparent;color:var(--deep);}
#crest-how a.hw-cta__btn--ghost:hover{background:var(--deep);border-color:var(--deep);color:var(--white);}
#crest-how a.hw-cta__btn:focus{outline:none;}
#crest-how a.hw-cta__btn:focus-visible{outline:3px solid var(--deep);outline-offset:3px;}

/* ---------- why it matters: four plain paragraphs on the left, the photo on the right at the same height ---------- */
#crest-how .hw-close{padding:clamp(45px,4.9vw,73px) 0;background:var(--paper);}
#crest-how .hw-close-row{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(36px,5.5vw,88px);align-items:stretch;}
#crest-how .hw-close-copy{display:flex;flex-direction:column;justify-content:center;}
#crest-how .hw-photo{position:relative;min-height:340px;overflow:hidden;border-radius:20px;background:var(--deep);}
#crest-how .hw-photo img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;border:0;border-radius:0;box-shadow:none;}

/* the Crest Outline in the background (Branding Guidelines p26-27): Teal Dark on Paper, 10% behind text,
   upright, on the paragraphs' side, bleeding off the top and left edges (moved off the photo side at the client's request).
   It shows only in the free space above and to the left of the paragraphs and fades out before the first word, so no line crosses the text. */
#crest-how .hw-close{
  position:relative;overflow:hidden;isolation:isolate;
  --ol-top:120px;                                              /* how far the outline starts above the section */
  --ol-left:7vw;                                               /* how far it starts left of the section */
  --ol-x:calc(max(var(--gutter),calc(50vw - 660px)) + var(--ol-left));   /* the paragraphs' left edge, measured inside the outline */
  --ol-y:calc(clamp(64px,7vw,104px) + var(--ol-top));          /* the paragraphs' top edge, measured inside the outline */
}
#crest-how .hw-close::before{
  content:"";position:absolute;z-index:-1;pointer-events:none;
  top:calc(-1 * var(--ol-top));left:calc(-1 * var(--ol-left));width:clamp(420px,50vw,760px);aspect-ratio:108/166;opacity:.14;
  -webkit-mask-image:linear-gradient(to right,#000 calc(var(--ol-x) - 80px),transparent calc(var(--ol-x) - 16px)),linear-gradient(to bottom,#000 calc(var(--ol-y) - 80px),transparent calc(var(--ol-y) - 16px));
          mask-image:linear-gradient(to right,#000 calc(var(--ol-x) - 80px),transparent calc(var(--ol-x) - 16px)),linear-gradient(to bottom,#000 calc(var(--ol-y) - 80px),transparent calc(var(--ol-y) - 16px));
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 108 166'%3E%3Cg fill='none' stroke='%230B7A72' stroke-width='1.3' stroke-linejoin='miter'%3E%3Cpath d='M0 44L28 20V144L0 120Z'/%3E%3Cpath d='M35 14L53 0L71 14V150L53 164L35 150Z'/%3E%3Cpath d='M78 20L106 44V120L78 144Z'/%3E%3C/g%3E%3C/svg%3E") center/100% 100% no-repeat;
}
/* a Teal Dark panel set behind the photo, with the scale along its foot */
#crest-how .hw-close .hw-photo{overflow:visible;isolation:isolate;margin:0 22px 22px 0;background:none;}
#crest-how .hw-close .hw-photo img{border-radius:20px;box-shadow:0 26px 50px -26px rgba(14,42,51,.55);}
#crest-how .hw-close .hw-photo::before,#crest-how .hw-close .hw-photo::after{content:"";position:absolute;z-index:-1;pointer-events:none;}
#crest-how .hw-close .hw-photo::before{inset:28px -22px -22px 28px;border-radius:20px;background:var(--teal-dark);}
#crest-how .hw-close .hw-photo::after{
  left:48px;right:-2px;bottom:-22px;height:14px;opacity:.45;
  background:
    repeating-linear-gradient(to right,var(--paper) 0 1px,transparent 1px 60px) 0 100%/100% 14px no-repeat,
    repeating-linear-gradient(to right,var(--paper) 0 1px,transparent 1px 12px) 0 100%/100% 7px no-repeat;
}

/* ---------- responsive ---------- */
@media (max-width:760px){
  #crest-how .hw-mechs__list{grid-template-columns:minmax(0,1fr);}
}
@media (max-width:820px){
  #crest-how .hw-title{font-size:clamp(24px,6.6vw,30px);text-wrap:balance;}   /* too narrow for two lines */
}
@media (max-width:900px){
  #crest-how .hw-opening,#crest-how .hw-close-row{grid-template-columns:minmax(0,1fr);}
  #crest-how .hw-close-row .hw-photo{order:-1;}   /* phones and tablets: the photo first, then the paragraphs */
  #crest-how .hw-close .hw-photo{margin:0 14px 14px 0;}
  #crest-how .hw-opening .hw-photo{margin:0 0 14px 14px;}
  #crest-how .hw-opening .hw-photo::before{inset:18px 18px -14px -14px;}
  #crest-how .hw-opening .hw-photo::after{right:34px;bottom:-14px;height:10px;}
  #crest-how .hw-close{--ol-left:30vw;}   /* phones and tablets: the outline shows in the space above the photo and fades out before it */
  #crest-how .hw-close::before{width:100vw;}
  #crest-how .hw-close .hw-photo::before{inset:18px -14px -14px 18px;}
  #crest-how .hw-close .hw-photo::after{left:34px;bottom:-14px;height:10px;}
  #crest-how .hw-photo,#crest-how .hw-opening .hw-photo{min-height:0;aspect-ratio:16/9;}
}
@media (max-width:640px){
  #crest-how{font-size:16px;}
  #crest-how .hw-cta__points{flex-direction:column;align-items:center;}
  #crest-how a.hw-cta__btn{flex:1 1 100%;padding:0 12px;font-size:clamp(14px,4vw,16px);}
  #crest-how .hw-mech{grid-template-columns:minmax(0,1fr);gap:18px;}
}
@media (prefers-reduced-motion:reduce){
  #crest-how .hw-mech,#crest-how a.hw-cta__btn{transition:none;}
  #crest-how a.hw-cta__btn:hover{transform:none;}
}


/* ==========================================================================
   HOME 5. SERVICES
   ========================================================================== */
#crest-svc{
  --deep:#0E2A33; --teal:#00D1C1; --teal-dark:#0B7A72;
  --charcoal:#1B1F22; --paper:#F6F4EF; --white:#FFFFFF;
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --gutter:clamp(20px,5vw,80px);
  --ease:cubic-bezier(.16,.84,.24,1);
  position:relative;width:100%;
  padding:clamp(50px,5.6vw,84px) 0 clamp(67px,7vw,112px);
  background:var(--white);color:var(--charcoal);
  font-family:var(--f-body);font-size:16px;line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
#crest-svc *,#crest-svc *::before,#crest-svc *::after{box-sizing:border-box;}
#crest-svc h2,#crest-svc h3,#crest-svc h4,#crest-svc p,#crest-svc figure{margin:0;padding:0;border:0;text-transform:none;letter-spacing:normal;text-shadow:none;}
#crest-svc img{display:block;max-width:none;border:0;box-shadow:none;}
#crest-svc .sv-wrap{width:100%;max-width:1280px;margin:0 auto;padding:0 var(--gutter);}

/* ---------- header ---------- */
#crest-svc .sv-head{max-width:820px;margin:0 auto clamp(40px,5vw,64px);text-align:center;}
#crest-svc .sv-title{
  font-family:var(--f-head);font-weight:700;font-size:clamp(28px,2.8vw,42px);line-height:1.18;letter-spacing:-.025em;text-wrap:balance;color:var(--deep);
}
#crest-svc .sv-title span{display:block;color:var(--teal-dark);}
#crest-svc .sv-sub{margin-top:16px;font-size:clamp(16px,1.2vw,17.5px);line-height:1.6;color:rgba(27,31,34,.75);}

/* ---------- three stages: the stage's name and line on a Deep panel, its services as cards beside it ---------- */
#crest-svc{scroll-margin-top:60px;}
#crest-svc .sv-phase{display:grid;grid-template-columns:minmax(0,.34fr) minmax(0,1fr);gap:clamp(18px,2vw,28px);align-items:start;}
#crest-svc .sv-phase + .sv-phase{margin-top:clamp(40px,4.6vw,64px);}
#crest-svc .sv-phase__head{
  position:sticky;top:120px;overflow:hidden;padding:clamp(28px,2.8vw,40px) clamp(28px,2.8vw,40px) clamp(40px,3.6vw,52px);border-radius:22px;background:var(--deep);
}
/* a measuring scale along the panel's foot */
#crest-svc .sv-phase__head::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:14px;opacity:.35;pointer-events:none;
  background:
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 60px) 0 100%/100% 14px no-repeat,
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 12px) 0 100%/100% 7px no-repeat;
}
#crest-svc .sv-phase__name{
  font-family:var(--f-head);font-weight:700;font-size:clamp(23px,2vw,30px);line-height:1.2;letter-spacing:-.02em;color:var(--white);
}
#crest-svc .sv-phase__name::after{content:"";display:block;width:44px;height:3px;margin:16px 0;border-radius:3px;background:var(--teal);}
#crest-svc .sv-phase__line{font-size:clamp(15px,1.1vw,16px);line-height:1.6;color:rgba(246,244,239,.86);}

/* the services: two per row; when a stage has an odd number, the first one is wide */
#crest-svc .sv-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(14px,1.6vw,20px);}
#crest-svc .sv-card:first-child:nth-last-child(odd){grid-column:1 / -1;}
#crest-svc .sv-card{
  display:flex;flex-direction:column;align-items:flex-start;
  scroll-margin-top:110px;padding:clamp(24px,2.4vw,32px);border:1px solid rgba(14,42,51,.07);border-radius:20px;background:var(--paper);
  transition:border-color .3s ease,box-shadow .4s var(--ease),transform .4s var(--ease);
}
#crest-svc .sv-card:hover{border-color:rgba(11,122,114,.35);box-shadow:0 22px 44px -30px rgba(14,42,51,.45);transform:translateY(-3px);}
#crest-svc .sv-ico{
  display:flex;align-items:center;justify-content:center;width:50px;height:50px;margin-bottom:18px;border-radius:14px;
  background:var(--deep);color:var(--teal);
}
#crest-svc .sv-ico svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
#crest-svc .sv-name{
  margin:0 0 10px;font-family:var(--f-head);font-weight:700;font-size:clamp(17px,1.3vw,19px);line-height:1.3;letter-spacing:-.012em;color:var(--deep);
}
#crest-svc .sv-card p{font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.65;color:rgba(27,31,34,.72);}
/* "Learn more" at the foot of each card: a fine line across the card, then a centred pill with the arrow in a small dark circle;
   the feet line up across a row because each sits at the bottom of its card */
#crest-svc .sv-foot{width:100%;margin-top:auto;padding-top:22px;text-align:center;}
#crest-svc .sv-foot::before{content:"";display:block;height:1px;margin-bottom:20px;background:linear-gradient(90deg,transparent,rgba(14,42,51,.14) 18%,rgba(14,42,51,.14) 82%,transparent);}
#crest-svc a.sv-more,#crest-svc a.sv-more:visited{
  display:inline-flex;align-items:center;gap:14px;padding:5px 5px 5px 20px;
  border:1px solid rgba(11,122,114,.3);border-radius:999px;background:var(--white);box-shadow:0 6px 16px -12px rgba(14,42,51,.35);
  font-family:var(--f-body);font-weight:600;font-size:14.5px;line-height:1.3;letter-spacing:.01em;color:var(--deep);text-decoration:none;
  transition:background-color .3s ease,border-color .3s ease,color .3s ease,box-shadow .3s ease;
}
#crest-svc .sv-more__go{
  display:flex;flex:none;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;
  background:var(--deep);color:var(--teal);transition:background-color .3s ease,color .3s ease;
}
#crest-svc .sv-more__arrow{display:block;width:15px;height:10px;fill:currentColor;transition:transform .35s var(--ease);}
#crest-svc .sv-card:hover .sv-more__go{background:var(--teal-dark);color:var(--white);}
#crest-svc a.sv-more:hover{border-color:var(--deep);background:var(--deep);color:var(--white);text-decoration:none;box-shadow:0 12px 24px -14px rgba(14,42,51,.6);}
#crest-svc a.sv-more:hover .sv-more__go{background:#C8F03C;color:var(--deep);}
#crest-svc a.sv-more:hover .sv-more__arrow{transform:translateX(3px);}
#crest-svc a.sv-more:focus{outline:none;}
#crest-svc a.sv-more:focus-visible{outline:3px solid var(--teal);outline-offset:3px;}
@media (prefers-reduced-motion:reduce){ #crest-svc a.sv-more,#crest-svc .sv-more__go,#crest-svc .sv-more__arrow{transition:none;} }
#crest-svc .sv-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;}

/* tablets: the stage panel above its services */
@media (max-width:1000px){
  #crest-svc .sv-phase{grid-template-columns:minmax(0,1fr);}
  #crest-svc .sv-phase__head{position:relative;top:auto;}
}
/* phones: one service under another */
@media (max-width:640px){
  #crest-svc .sv-cards{grid-template-columns:minmax(0,1fr);}
  #crest-svc .sv-card:first-child:nth-last-child(odd){grid-column:auto;}
  #crest-svc .sv-card{padding:24px 22px;}
}


@media (max-width:640px){
  #crest-svc{font-size:16px;}
}
@media (prefers-reduced-motion:reduce){
  #crest-svc *{transition:none !important;animation:none !important;}
  #crest-svc .sv-card:hover{transform:none;}
}


/* ==========================================================================
   HOME 6. WHAT OUR CLIENTS SAY  (also section 11, #crest-voices, its copy at the close of the page;
   and #crest-say, "What Kenyans Say About Building With a QS on Their Side" on the Diaspora page)
   ========================================================================== */
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again){
  --deep:#0E2A33; --teal:#00D1C1; --teal-dark:#0B7A72;
  --charcoal:#1B1F22; --paper:#F6F4EF; --white:#FFFFFF;
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --gutter:clamp(20px,5vw,80px);
  --ease:cubic-bezier(.16,.84,.24,1);
  position:relative;width:100%;
  padding:clamp(50px,5.6vw,84px) 0 clamp(67px,7vw,112px);
  background:var(--paper);color:var(--charcoal);
  font-family:var(--f-body);font-size:16px;line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) *,:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) *::before,:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) *::after{box-sizing:border-box;}
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) h2,:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) p,:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) figure,:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) blockquote,:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) figcaption{
  margin:0;padding:0;border:0;background:none;text-transform:none;letter-spacing:normal;text-shadow:none;font-style:normal;quotes:none;
}
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) blockquote::before,:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) blockquote::after{content:none;}
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) .rv-wrap{width:100%;max-width:1280px;margin:0 auto;padding:0 var(--gutter);}

/* ---------- header ---------- */
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) .rv-head{max-width:820px;margin:0 auto clamp(40px,5vw,64px);text-align:center;}
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) .rv-title{
  font-family:var(--f-head);font-weight:700;font-size:clamp(28px,2.8vw,42px);line-height:1.18;letter-spacing:-.025em;text-wrap:balance;color:var(--deep);
}
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) .rv-title span{display:block;color:var(--teal-dark);}
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) .rv-sub{margin-top:16px;font-size:clamp(16px,1.2vw,17.5px);line-height:1.6;color:rgba(27,31,34,.75);}

/* ---------- the quotes: one at a time, large, on a Deep panel ---------- */
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) .rv-stage{
  position:relative;overflow:hidden;max-width:1000px;margin:0 auto;
  padding:clamp(44px,5.2vw,76px) clamp(24px,6vw,96px) clamp(52px,5.6vw,80px);
  border-radius:28px;background:var(--deep);text-align:center;
}
/* a measuring scale along the panel's foot */
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) .rv-stage::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:16px;opacity:.3;pointer-events:none;
  background:
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 60px) 0 100%/100% 16px no-repeat,
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 12px) 0 100%/100% 8px no-repeat;
}
/* every quote sits in the same place, so the panel keeps the height of the longest and nothing jumps */
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) .rv-track{display:grid;}
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) .rv-card{
  grid-area:1 / 1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;
  opacity:0;visibility:hidden;transform:translate3d(0,12px,0);
  transition:opacity .3s ease,transform .3s ease,visibility 0s linear .3s;   /* the old quote is gone before the new one appears */
}
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) .rv-card.is-on{opacity:1;visibility:visible;transform:none;transition:opacity .55s ease .3s,transform .7s var(--ease) .3s,visibility 0s;}
/* without script.js: every quote, one under another */
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) .rv-stage:not(.is-ready) .rv-track{gap:40px;}
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) .rv-stage:not(.is-ready) .rv-card{grid-area:auto;opacity:1;visibility:visible;transform:none;}

:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) .rv-mark{display:block;width:44px;height:33px;fill:var(--teal);flex:none;}
/* the stage bar: one white strip above the panel, the four stages side by side, numbered; the stage of the quote on show is Deep,
   its number in a Lime circle (crest_review_tabs() in functions.php; shown by script.js) */
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) .rv-steps{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;max-width:1000px;margin:0 auto 16px;padding:6px;
  border:1px solid rgba(14,42,51,.08);border-radius:20px;background:var(--white);box-shadow:0 18px 40px -30px rgba(14,42,51,.45);
}
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) .rv-steps[hidden]{display:none;}
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) button.rv-step,:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) button.rv-step:hover,:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) button.rv-step:focus{
  display:flex;align-items:center;gap:12px;width:100%;min-height:0;margin:0;padding:12px 14px;border:0;border-radius:15px;
  background:transparent;box-shadow:none;color:var(--deep);text-align:left;text-transform:none;letter-spacing:normal;cursor:pointer;
  font-family:var(--f-head);font-weight:600;font-size:clamp(13.5px,1.05vw,15px);line-height:1.25;
  transition:background-color .3s ease,color .3s ease;
}
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) button.rv-step:hover{background:var(--paper);}
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) .rv-step__n{
  display:flex;flex:none;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;
  background:rgba(0,209,193,.14);color:var(--teal-dark);font-size:13px;font-weight:700;letter-spacing:.02em;transition:background-color .3s ease,color .3s ease;
}
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) button.rv-step[aria-pressed="true"]{background:var(--deep);color:var(--white);}
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) button.rv-step[aria-pressed="true"] .rv-step__n{background:#C8F03C;color:var(--deep);}
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) button.rv-step:focus{outline:none;}
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) button.rv-step:focus-visible{outline:3px solid var(--teal);outline-offset:2px;}
@media (max-width:760px){
  :is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) .rv-steps{grid-template-columns:repeat(2,minmax(0,1fr));}
  :is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) button.rv-step,:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) button.rv-step:hover,:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) button.rv-step:focus{gap:9px;padding:10px;font-size:13px;}
  :is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) .rv-step__n{width:30px;height:30px;font-size:12px;}
}
@media (prefers-reduced-motion:reduce){ :is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) button.rv-step,:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) .rv-step__n{transition:none;} }
/* the project stage above a review (crest_client_reviews() in functions.php) */
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) .rv-when{margin:0;padding:5px 14px;border:1px solid rgba(0,209,193,.4);border-radius:999px;font-family:var(--f-head);font-weight:600;font-size:12.5px;line-height:1.3;letter-spacing:.08em;text-transform:uppercase;color:var(--teal);}
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) blockquote p{
  max-width:26em;margin:0 auto;
  font-family:var(--f-head);font-weight:700;font-size:clamp(22px,2.4vw,34px);line-height:1.35;letter-spacing:-.018em;text-wrap:balance;color:var(--white);
}
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) figcaption{font-size:15px;font-weight:600;letter-spacing:.04em;color:rgba(246,244,239,.66);}

/* the arrows and dots under the quote */
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) .rv-nav{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:clamp(28px,3vw,40px);}
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) button.rv-arrow,:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) button.rv-arrow:hover,:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) button.rv-arrow:focus{
  display:flex;align-items:center;justify-content:center;width:46px;height:46px;margin:0;padding:0;border:1px solid rgba(246,244,239,.3);border-radius:50%;
  background:transparent;color:var(--white);box-shadow:none;cursor:pointer;transition:background-color .25s ease,border-color .25s ease,color .25s ease;
}
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) button.rv-arrow:hover{background:var(--teal);border-color:var(--teal);color:var(--deep);}
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) button.rv-arrow svg{display:block;width:18px;height:12px;fill:currentColor;}
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) button.rv-arrow--prev svg{transform:rotate(180deg);}
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) .rv-dots{display:flex;align-items:center;gap:8px;}
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) button.rv-dot,:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) button.rv-dot:hover,:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) button.rv-dot:focus{
  display:block;width:8px;height:8px;min-height:0;margin:0;padding:0;border:0;border-radius:8px;
  background:rgba(246,244,239,.3);box-shadow:none;cursor:pointer;transition:width .35s var(--ease),background-color .25s ease;
}
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) button.rv-dot[aria-current="true"]{width:26px;background:var(--teal);}
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) button.rv-arrow:focus,:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) button.rv-dot:focus{outline:none;}
:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) button.rv-arrow:focus-visible,:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) button.rv-dot:focus-visible{outline:3px solid var(--teal);outline-offset:3px;}


/* ---------- responsive ---------- */
@media (max-width:640px){
  :is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again){font-size:16px;}
  :is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) .rv-stage{border-radius:22px;}
}
/* reduced motion: the quotes change without moving, and only when asked (script.js) */
@media (prefers-reduced-motion:reduce){
  :is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) .rv-card,:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) .rv-card.is-on,:is(#crest-reviews,#crest-voices,#crest-say,#crest-say-again) button.rv-dot{transition:none;transform:none;}
}


/* ==========================================================================
   HOME 7. FREE, NO-OBLIGATION CONSULTATION
   ========================================================================== */
#crest-consult{
  --deep:#0E2A33; --teal:#00D1C1; --teal-dark:#0B7A72;
  --charcoal:#1B1F22; --paper:#F6F4EF; --white:#FFFFFF;
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --gutter:clamp(20px,5vw,80px);
  --ease:cubic-bezier(.16,.84,.24,1);
  position:relative;width:100%;
  padding:0 0 clamp(67px,7vw,112px);   /* follows the client quotes on the same Paper, whose bottom space already separates them */
  background:var(--paper);color:var(--charcoal);
  font-family:var(--f-body);font-size:16px;line-height:1.65;
  -webkit-font-smoothing:antialiased;scroll-margin-top:60px;
}
#crest-consult *,#crest-consult *::before,#crest-consult *::after{box-sizing:border-box;}
#crest-consult h2,#crest-consult p,#crest-consult ul,#crest-consult li{margin:0;padding:0;border:0;list-style:none;text-transform:none;letter-spacing:normal;text-shadow:none;}
#crest-consult svg{display:block;}
#crest-consult .cs-wrap{width:100%;max-width:1120px;margin:0 auto;padding:0 var(--gutter);}

/* the title, and where the office is */
#crest-consult .cs-head{max-width:820px;margin:0 auto clamp(32px,3.6vw,48px);text-align:center;}
#crest-consult .cs-title{font-family:var(--f-head);font-weight:700;font-size:clamp(28px,2.8vw,42px);line-height:1.18;letter-spacing:-.025em;text-wrap:balance;color:var(--deep);}
#crest-consult .cs-sub{margin-top:16px;font-size:clamp(15px,1.1vw,16px);line-height:1.65;color:rgba(27,31,34,.72);}

/* one white card: the offer, then what the session covers */
#crest-consult .cs-card{
  padding:clamp(28px,4vw,56px);border:1px solid rgba(14,42,51,.07);border-radius:24px;background:var(--white);
  box-shadow:0 24px 50px -36px rgba(14,42,51,.35);
}
#crest-consult .cs-offer{font-size:clamp(15px,1.1vw,16px);line-height:1.65;color:rgba(27,31,34,.72);}   /* the same size and colour as the other paragraphs */
#crest-consult .cs-covers{margin-top:clamp(26px,3vw,36px);padding-top:clamp(26px,3vw,36px);border-top:1px solid rgba(14,42,51,.1);}
#crest-consult .cs-covers__lead{margin-bottom:clamp(14px,1.6vw,20px);font-family:var(--f-head);font-weight:700;font-size:clamp(17px,1.35vw,19px);line-height:1.3;letter-spacing:-.012em;color:var(--deep);}
#crest-consult .cs-list{columns:2;column-gap:clamp(28px,4vw,56px);}
#crest-consult .cs-list li{display:grid;grid-template-columns:22px minmax(0,1fr);column-gap:12px;align-items:start;padding:0 0 16px;break-inside:avoid;font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.6;color:rgba(27,31,34,.72);}
#crest-consult .cs-tick{display:flex;align-items:center;justify-content:center;width:22px;height:22px;margin-top:2px;border-radius:50%;background:var(--teal-dark);}
#crest-consult .cs-tick svg{width:11px;height:11px;}
#crest-consult .cs-tick polygon{fill:var(--white);}

/* how it works: two columns of plain paragraphs, lined up in rows, a thin rule down the middle,
   a small Teal Dark line icon hanging beside each; the question and the button take the last place */
#crest-consult .cs-how{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(48px,7vw,112px);row-gap:clamp(28px,3vw,40px);align-items:start;
  max-width:1040px;margin:clamp(48px,5.4vw,80px) auto 0;
  background:linear-gradient(rgba(14,42,51,.12),rgba(14,42,51,.12)) 50% 0/1px 100% no-repeat;
}
#crest-consult .cs-how__item{display:grid;grid-template-columns:28px minmax(0,1fr);column-gap:18px;align-items:start;}
#crest-consult .cs-how__ico{display:block;width:28px;height:28px;margin-top:1px;color:var(--teal-dark);}
#crest-consult .cs-how__ico svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
#crest-consult .cs-how p{font-size:clamp(15px,1.08vw,16px);line-height:1.65;color:rgba(27,31,34,.72);}
#crest-consult .cs-talk{
  display:flex;flex-direction:column;align-items:flex-start;gap:16px;align-self:stretch;justify-content:center;
  padding:clamp(22px,2.4vw,30px);border-radius:18px;background:var(--teal-dark);
}
#crest-consult .cs-talk p{font-family:var(--f-head);font-weight:700;font-size:clamp(16px,1.2vw,17.5px);line-height:1.35;color:var(--white);}
#crest-consult a.cs-btn,#crest-consult a.cs-btn:visited{
  display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 26px;border-radius:999px;
  background:var(--white);color:var(--deep);box-shadow:none;text-decoration:none;white-space:nowrap;
  font-family:var(--f-body);font-weight:600;font-size:15.5px;line-height:1.3;transition:background-color .25s ease;
}
#crest-consult a.cs-btn:hover{background:var(--deep);color:var(--white);text-decoration:none;}
#crest-consult a:focus{outline:none;}
#crest-consult a:focus-visible{outline:3px solid var(--teal);outline-offset:3px;}


@media (max-width:820px){
  #crest-consult .cs-list{columns:1;}
  #crest-consult .cs-how{grid-template-columns:minmax(0,1fr);background:none;}
}
@media (max-width:640px){
  #crest-consult{font-size:16px;}
  #crest-consult .cs-card{border-radius:20px;}
  #crest-consult .cs-talk{align-items:stretch;text-align:center;}
  #crest-consult a.cs-btn{padding:0 14px;font-size:clamp(14px,4vw,15.5px);}
}
@media (prefers-reduced-motion:reduce){
  #crest-consult a.cs-btn{transition:none;}
}


/* ==========================================================================
   HOME 8. WHY CLIENTS TRUST OUR PROJECT MANAGEMENT SERVICES
   A centred title, then the photo (on a Teal Dark panel, like the other photos) beside the four paragraphs.
   ========================================================================== */
#crest-trust{
  --deep:#0E2A33; --teal-dark:#0B7A72; --charcoal:#1B1F22; --paper:#F6F4EF; --white:#FFFFFF;
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --gutter:clamp(20px,5vw,80px);
  position:relative;width:100%;
  padding:clamp(45px,4.9vw,73px) 0;
  background:var(--white);color:var(--charcoal);
  font-family:var(--f-body);-webkit-font-smoothing:antialiased;
}
#crest-trust *,#crest-trust *::before,#crest-trust *::after{box-sizing:border-box;}
#crest-trust h2,#crest-trust h3,#crest-trust p,#crest-trust figure{margin:0;padding:0;border:0;text-transform:none;letter-spacing:normal;text-shadow:none;}
#crest-trust .tr-wrap{width:100%;padding-left:max(var(--gutter),calc(50% - 660px));padding-right:max(var(--gutter),calc(50% - 660px));}
#crest-trust .tr-title{
  max-width:820px;margin:0 auto clamp(36px,4vw,56px);text-align:center;
  font-family:var(--f-head);font-weight:700;font-size:clamp(24px,2.4vw,35px);line-height:1.2;letter-spacing:-.022em;text-wrap:balance;color:var(--deep);
}
#crest-trust .tr-title span{display:block;color:var(--teal-dark);}
/* the photos beside the first two paragraphs: their own 4:3 shape, centred against the text, fading from one to the next */
/* the four paragraphs as cards in two rows, as on WS Law: a solid icon in a Deep square, a short heading, the words centred */
#crest-trust{--deep:#0E2A33;--teal:#00D1C1;--paper:#F6F4EF;--ease:cubic-bezier(.16,.84,.24,1);}
#crest-trust .tr-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,1.8vw,24px);max-width:1080px;margin:0 auto;}
#crest-trust .tr-card{padding:clamp(26px,2.8vw,36px) clamp(22px,2.6vw,36px);border:1px solid rgba(14,42,51,.07);border-radius:18px;background:var(--paper);text-align:center;}
#crest-trust .tr-ico{display:flex;align-items:center;justify-content:center;width:52px;height:52px;margin:0 auto 18px;border-radius:14px;background:var(--deep);}
#crest-trust .tr-ico svg{display:block;width:24px;height:24px;fill:var(--teal);}
#crest-trust .tr-name{margin:0 0 10px;font-family:var(--f-head);font-weight:700;font-size:clamp(17px,1.35vw,19px);line-height:1.3;letter-spacing:-.01em;text-transform:none;color:var(--deep);}
#crest-trust .tr-card p{font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.65;color:rgba(27,31,34,.72);}
@media (max-width:760px){
  #crest-trust .tr-cards{grid-template-columns:minmax(0,1fr);}
}


/* ==========================================================================
   HOME 9. WHAT MAKES CREST COST CONSULTANTS DIFFERENT
   The title and its line, the six points as white cards (two per row) on Paper, then the closing paragraphs.
   ========================================================================== */
#crest-diff{
  --deep:#0E2A33; --teal:#00D1C1; --teal-dark:#0B7A72; --charcoal:#1B1F22; --paper:#F6F4EF; --white:#FFFFFF;
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --gutter:clamp(20px,5vw,80px);
  --ease:cubic-bezier(.16,.84,.24,1);
  position:relative;width:100%;
  padding:clamp(45px,4.9vw,73px) 0;
  background:var(--paper);color:var(--charcoal);
  font-family:var(--f-body);-webkit-font-smoothing:antialiased;
}
#crest-diff *,#crest-diff *::before,#crest-diff *::after{box-sizing:border-box;}
#crest-diff h2,#crest-diff h3,#crest-diff p{margin:0;padding:0;border:0;text-transform:none;letter-spacing:normal;text-shadow:none;}
#crest-diff .df-wrap{width:100%;max-width:1200px;margin:0 auto;padding:0 var(--gutter);}
#crest-diff .df-head{max-width:820px;margin:0 auto clamp(36px,4vw,56px);text-align:center;}
#crest-diff .df-title{font-family:var(--f-head);font-weight:700;font-size:clamp(24px,2.4vw,35px);line-height:1.2;letter-spacing:-.022em;text-wrap:balance;color:var(--deep);}
#crest-diff .df-title span{display:block;color:var(--teal-dark);}
#crest-diff .df-sub{margin-top:14px;font-size:clamp(15.5px,1.12vw,16.5px);line-height:1.65;color:rgba(27,31,34,.72);}

/* the six points: white cards, two per row, each with a small icon, its name and its words */
#crest-diff .df-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,1.8vw,24px);}
#crest-diff .df-card{
  padding:clamp(26px,2.6vw,36px);border:1px solid rgba(14,42,51,.07);border-radius:20px;background:var(--white);
  transition:border-color .3s ease,box-shadow .4s var(--ease),transform .4s var(--ease);
}
#crest-diff .df-card:hover{border-color:rgba(11,122,114,.35);box-shadow:0 22px 44px -30px rgba(14,42,51,.45);transform:translateY(-3px);}
#crest-diff .df-ico{display:flex;align-items:center;justify-content:center;width:50px;height:50px;margin:0 auto 18px;border-radius:14px;background:var(--deep);color:var(--teal);}
#crest-diff .df-ico svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
#crest-diff .df-name{margin-bottom:10px;text-align:center;text-wrap:balance;font-family:var(--f-head);font-weight:700;font-size:clamp(17px,1.3vw,19px);line-height:1.3;letter-spacing:-.012em;color:var(--deep);}
#crest-diff .df-card p{font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.65;color:rgba(27,31,34,.72);}
#crest-diff .df-card p + p{margin-top:.9em;}

/* the closing paragraphs: plain, left-aligned, in a readable column under the cards */
#crest-diff .df-close{max-width:860px;margin:clamp(44px,5vw,72px) auto 0;}
#crest-diff .df-close p{font-size:clamp(15px,1.1vw,16px);line-height:1.65;color:rgba(27,31,34,.72);}
#crest-diff .df-close p + p{margin-top:1.2em;}

@media (max-width:760px){
  #crest-diff .df-grid{grid-template-columns:minmax(0,1fr);}
  #crest-diff .df-card{padding:24px 22px;}
}
@media (prefers-reduced-motion:reduce){
  #crest-diff .df-card{transition:none;}
  #crest-diff .df-card:hover{transform:none;}
}


/* ==========================================================================
   HOME 10. WHO WE WORK WITH
   Seven views read down the page (the six kinds of client, then "The Clients We Work Best With"). Each: its title centred
   above two columns (fine rules either side), a photo on one side and its words on a soft Paper panel that overlaps the photo's edge,
   the photo exactly as tall as the panel; sides alternate.
   The movement follows the scroll (script.js sets --in and --out on each view): coming up into view it fades in, rises and
   settles; leaving at the top it fades and drifts away. Without script.js everything is simply shown.
   ========================================================================== */
#crest-fit{
  --deep:#0E2A33; --teal:#00D1C1; --teal-dark:#0B7A72; --charcoal:#1B1F22; --paper:#F6F4EF; --white:#FFFFFF;
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --gutter:clamp(20px,5vw,80px);
  position:relative;width:100%;overflow:clip;
  padding:clamp(45px,4.9vw,73px) 0;
  background:var(--white);color:var(--charcoal);
  font-family:var(--f-body);-webkit-font-smoothing:antialiased;
}
#crest-fit *,#crest-fit *::before,#crest-fit *::after{box-sizing:border-box;}
#crest-fit h2,#crest-fit h3,#crest-fit p,#crest-fit figure{margin:0;padding:0;border:0;text-transform:none;letter-spacing:normal;text-shadow:none;}
#crest-fit .wk-wrap{width:100%;max-width:calc(1120px + 2 * var(--gutter));margin:0 auto;padding:0 var(--gutter);}
#crest-fit .wk-head{max-width:1120px;margin:0 auto clamp(64px,8vw,112px);text-align:center;}
#crest-fit .wk-title{font-family:var(--f-head);font-weight:700;font-size:clamp(24px,2.4vw,35px);line-height:1.2;letter-spacing:-.022em;text-wrap:balance;color:var(--deep);}
#crest-fit .wk-title span{display:block;color:var(--teal-dark);}
@media (min-width:1101px){ #crest-fit .wk-title span{white-space:nowrap;} }   /* the title stays on two lines */
#crest-fit .wk-sub{max-width:860px;margin:14px auto 0;font-size:clamp(15.5px,1.12vw,16.5px);line-height:1.65;color:rgba(27,31,34,.72);}

/* the views */
#crest-fit .wk-list{display:flex;flex-direction:column;gap:clamp(88px,11vw,150px);}
#crest-fit .wk-item{
  --in:1;--out:0;
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);grid-template-areas:"name name" "img copy";align-items:stretch;
}
#crest-fit .wk-item:nth-child(even){grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);grid-template-areas:"name name" "copy img";}
/* the title, centred above both columns, with a fine Teal Dark rule reaching out to each side, ending in a teal dot beside the words */
#crest-fit .wk-name{
  grid-area:name;display:flex;align-items:center;justify-content:center;gap:clamp(16px,2vw,28px);
  margin:0 0 clamp(26px,3vw,40px);text-align:center;text-wrap:balance;
  font-family:var(--f-head);font-weight:700;font-size:clamp(23px,2.2vw,32px);line-height:1.2;letter-spacing:-.022em;color:var(--deep);
}
#crest-fit .wk-name::before,#crest-fit .wk-name::after{content:"";flex:1 1 0;min-width:28px;max-width:260px;height:10px;}
#crest-fit .wk-name::before{
  background:
    radial-gradient(circle,var(--teal) 0 4px,transparent 4.5px) right center/10px 10px no-repeat,
    linear-gradient(to right,rgba(11,122,114,0),rgba(11,122,114,.7)) left center/calc(100% - 16px) 1.5px no-repeat;
}
#crest-fit .wk-name::after{
  background:
    radial-gradient(circle,var(--teal) 0 4px,transparent 4.5px) left center/10px 10px no-repeat,
    linear-gradient(to left,rgba(11,122,114,0),rgba(11,122,114,.7)) right center/calc(100% - 16px) 1.5px no-repeat;
}
/* the photo: exactly as tall as the words beside it, rounded */
#crest-fit .wk-img{grid-area:img;position:relative;z-index:0;min-height:300px;overflow:hidden;border-radius:24px;background:var(--paper);}
#crest-fit .wk-img img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;border:0;border-radius:0;box-shadow:none;}
/* the words: a soft Paper panel overlapping the photo's edge, a teal line along its top; the photo beside it is exactly as tall */
#crest-fit .wk-copy{
  grid-area:copy;position:relative;z-index:1;display:flex;flex-direction:column;justify-content:center;margin-left:clamp(-72px,-5vw,-40px);
  padding:clamp(30px,3.2vw,48px) clamp(28px,3.4vw,52px);border-radius:24px;background:var(--paper);
  box-shadow:0 30px 60px -40px rgba(14,42,51,.45);
}
#crest-fit .wk-item:nth-child(even) .wk-copy{margin-left:0;margin-right:clamp(-72px,-5vw,-40px);}
#crest-fit .wk-copy::before{content:"";position:absolute;left:clamp(28px,3.4vw,52px);top:0;width:64px;height:4px;border-radius:0 0 4px 4px;background:var(--teal);}
#crest-fit .wk-copy p{font-size:clamp(15px,1.08vw,16px);line-height:1.65;color:rgba(27,31,34,.72);}
/* "Learn more" under each client card's words: the same white pill as on the service cards, its arrow in a Deep circle */
#crest-fit .wk-copy p.wk-foot{margin-top:24px;text-align:center;}
#crest-fit a.wk-more,#crest-fit a.wk-more:visited{
  display:inline-flex;align-items:center;gap:14px;padding:5px 5px 5px 20px;
  border:1px solid rgba(11,122,114,.3);border-radius:999px;background:var(--white);box-shadow:0 6px 16px -12px rgba(14,42,51,.35);
  font-family:var(--f-body);font-weight:600;font-size:14.5px;line-height:1.3;letter-spacing:.01em;color:var(--deep);text-decoration:none;
  transition:background-color .3s ease,border-color .3s ease,color .3s ease,box-shadow .3s ease;
}
#crest-fit .wk-more__go{display:flex;flex:none;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:var(--deep);color:var(--teal);transition:background-color .3s ease,color .3s ease;}
#crest-fit .wk-more__arrow{display:block;width:15px;height:10px;fill:currentColor;transition:transform .35s ease;}
#crest-fit .wk-item:hover .wk-more__go{background:var(--teal-dark);color:var(--white);}
#crest-fit a.wk-more:hover{border-color:var(--deep);background:var(--deep);color:var(--white);text-decoration:none;box-shadow:0 12px 24px -14px rgba(14,42,51,.6);}
#crest-fit a.wk-more:hover .wk-more__go{background:#C8F03C;color:var(--deep);}
#crest-fit a.wk-more:hover .wk-more__arrow{transform:translateX(3px);}
#crest-fit a.wk-more:focus{outline:none;}
#crest-fit a.wk-more:focus-visible{outline:3px solid var(--teal);outline-offset:3px;}
#crest-fit .wk-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;}
@media (prefers-reduced-motion:reduce){ #crest-fit a.wk-more,#crest-fit .wk-more__go,#crest-fit .wk-more__arrow{transition:none;} }

/* the movement, driven by the scroll: --in goes 0 to 1 as a view comes up into view, --out 0 to 1 as it leaves at the top */
#crest-fit.wk-fx .wk-name{opacity:calc(var(--in) - var(--out));transform:translate3d(0,calc((1 - var(--in)) * 60px - var(--out) * 50px),0);}
#crest-fit.wk-fx .wk-img{
  opacity:calc(var(--in) - var(--out));
  transform:translate3d(0,calc((1 - var(--in)) * 80px - var(--out) * 60px),0) scale(calc(.92 + var(--in) * .08 - var(--out) * .05));
  will-change:transform,opacity;
}
#crest-fit.wk-fx .wk-img img{transform:scale(calc(1.14 - var(--in) * .14));will-change:transform;}
#crest-fit.wk-fx .wk-copy{
  opacity:calc(var(--in) * 1.25 - .25 - var(--out) * 1.25);
  transform:translate3d(0,calc((1 - var(--in)) * 130px - var(--out) * 90px),0);
  will-change:transform,opacity;
}

@media (max-width:900px){
  #crest-fit .wk-item,#crest-fit .wk-item:nth-child(even){grid-template-columns:minmax(0,1fr);grid-template-areas:"name" "img" "copy";}
  #crest-fit .wk-copy,#crest-fit .wk-item:nth-child(even) .wk-copy{margin:-44px 14px 0;}   /* the panel overlaps the photo's foot */
  #crest-fit .wk-img{min-height:0;aspect-ratio:4/3;border-radius:20px;}
  #crest-fit .wk-copy{border-radius:20px;}
}
@media (max-width:640px){
  #crest-fit .wk-name::before,#crest-fit .wk-name::after{display:none;}   /* phones: too narrow for the rules beside the title */
}


/* ==========================================================================
   HOME 10B. AREAS WE SERVE (on Paper, like WS Law's "Locations Served" section)
   The title centred; two white cards side by side: the towns in Kenya and the countries abroad as small rounded tags,
   and the office and consultation points, each with a solid icon in a soft Teal square. One column on tablets and phones.
   ========================================================================== */
#crest-areas{
  --deep:#0E2A33; --teal:#00D1C1; --teal-dark:#0B7A72; --charcoal:#1B1F22; --paper:#F6F4EF; --white:#FFFFFF;
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --gutter:clamp(20px,5vw,80px);
  position:relative;width:100%;
  padding:clamp(45px,4.9vw,73px) 0;
  background:var(--paper);color:var(--charcoal);
  font-family:var(--f-body);font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased;
}
#crest-areas *,#crest-areas *::before,#crest-areas *::after{box-sizing:border-box;}
#crest-areas h2,#crest-areas h3,#crest-areas p,#crest-areas ul,#crest-areas li{margin:0;padding:0;border:0;list-style:none;text-transform:none;letter-spacing:normal;text-shadow:none;}
#crest-areas .ar-wrap{width:100%;max-width:calc(1190px + 2 * var(--gutter));margin:0 auto;padding:0 var(--gutter);}
#crest-areas .ar-head{max-width:760px;margin:0 auto clamp(32px,3.6vw,48px);text-align:center;}
#crest-areas .ar-title{font-family:var(--f-head);font-weight:700;font-size:clamp(24px,2.4vw,35px);line-height:1.2;letter-spacing:-.022em;text-wrap:balance;color:var(--deep);}
#crest-areas .ar-title span{display:block;color:var(--teal-dark);}
#crest-areas .ar-sub{margin-top:14px;font-size:clamp(15px,1.1vw,16px);line-height:1.65;color:rgba(27,31,34,.72);}

#crest-areas .ar-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(20px,2.4vw,32px);align-items:start;}
#crest-areas .ar-card{padding:clamp(24px,2.6vw,34px);border:1px solid rgba(14,42,51,.07);border-radius:18px;background:var(--white);box-shadow:0 18px 40px -30px rgba(14,42,51,.35);}

/* headings with a small icon */
#crest-areas .ar-h{display:flex;align-items:center;gap:12px;font-family:var(--f-head);font-weight:700;font-size:clamp(16.5px,1.3vw,18px);line-height:1.3;letter-spacing:-.01em;color:var(--deep);}
#crest-areas .ar-ico{display:flex;flex:none;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:rgba(0,209,193,.14);}
#crest-areas .ar-ico svg{display:block;width:17px;height:17px;fill:var(--teal-dark);}
#crest-areas .ar-text{margin-top:8px;font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.6;color:rgba(27,31,34,.72);}

/* the towns and countries as small tags */
#crest-areas .ar-group + .ar-group{margin-top:24px;padding-top:24px;border-top:1px solid rgba(14,42,51,.08);}
#crest-areas .ar-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;}
#crest-areas .ar-tags li{padding:6px 13px;border:1px solid rgba(14,42,51,.1);border-radius:999px;background:var(--paper);font-size:13.5px;font-weight:500;line-height:1.3;color:var(--deep);}
#crest-areas .ar-tags--abroad li{border-color:rgba(11,122,114,.22);background:rgba(0,209,193,.1);color:var(--teal-dark);font-weight:600;}

/* the office and consultation points, one under another */
#crest-areas .ar-points li{display:flex;align-items:flex-start;gap:16px;}
#crest-areas .ar-points li + li{margin-top:20px;padding-top:20px;border-top:1px solid rgba(14,42,51,.08);}
#crest-areas .ar-points .ar-ico--box{width:44px;height:44px;border-radius:12px;}
#crest-areas .ar-points .ar-ico--box svg{width:20px;height:20px;}
#crest-areas .ar-points .ar-text{margin-top:4px;}

@media (max-width:900px){
  #crest-areas .ar-grid{grid-template-columns:minmax(0,1fr);}
}


/* ==========================================================================
   HOME 12. COMPARE YOUR OPTIONS
   The title and its line, then the comparison as a plain grid table on White (options numbered, a line between every row and
   column, bold headings on Paper). Then the closing statement, centred.
   ========================================================================== */
#crest-compare{
  --deep:#0E2A33; --teal:#00D1C1; --teal-dark:#0B7A72; --charcoal:#1B1F22; --paper:#F6F4EF; --white:#FFFFFF;
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --gutter:clamp(20px,5vw,80px);
  position:relative;width:100%;
  padding:clamp(45px,4.9vw,73px) 0;
  background:var(--white);color:var(--charcoal);
  font-family:var(--f-body);-webkit-font-smoothing:antialiased;
}
#crest-compare *,#crest-compare *::before,#crest-compare *::after{box-sizing:border-box;}
#crest-compare h2,#crest-compare p,#crest-compare table,#crest-compare th,#crest-compare td{margin:0;padding:0;border:0;text-transform:none;letter-spacing:normal;text-shadow:none;}
#crest-compare .cp-wrap{width:100%;max-width:calc(1160px + 2 * var(--gutter));margin:0 auto;padding:0 var(--gutter);}
#crest-compare .cp-head{max-width:880px;margin:0 auto clamp(36px,4.4vw,60px);text-align:center;}
#crest-compare .cp-title{font-family:var(--f-head);font-weight:700;font-size:clamp(24px,2.4vw,35px);line-height:1.2;letter-spacing:-.022em;text-wrap:balance;color:var(--deep);}
#crest-compare .cp-title span{display:block;color:var(--teal-dark);}
#crest-compare .cp-sub{margin-top:14px;font-size:clamp(15.5px,1.12vw,16.5px);line-height:1.65;color:rgba(27,31,34,.72);}

/* the table: a plain grid, a line between every row and column, the options numbered 1 to 5, bold headings on Paper */
#crest-compare .cp-table{border:1px solid rgba(14,42,51,.18);border-radius:18px;overflow:hidden;background:var(--white);}
/* only the first three options show until the round "Read more" button under the table is used (script.js clips the table
   just below the third row and opens it smoothly); without script.js the whole table shows */
#crest-compare{--ease:cubic-bezier(.16,.84,.24,1);}
#crest-compare .cp-table{position:relative;}
#crest-compare.is-js .cp-table{overflow:hidden;transition:max-height .6s var(--ease);}
#crest-compare button.wh-toggle{margin-top:clamp(18px,2vw,26px);}
#crest-compare table{width:100%;border-collapse:collapse;table-layout:fixed;background:none;counter-reset:cp;}
#crest-compare thead th:nth-child(1){width:28%;}
#crest-compare th,#crest-compare td{border:1px solid rgba(14,42,51,.14);}
#crest-compare tr > :first-child{border-left:0;}
#crest-compare tr > :last-child{border-right:0;}
#crest-compare thead th{border-top:0;}
#crest-compare tbody tr:last-child > *{border-bottom:0;}
#crest-compare thead th{
  padding:18px clamp(16px,1.8vw,24px);background:var(--paper);text-align:left;vertical-align:bottom;
  font-family:var(--f-head);font-weight:700;font-size:clamp(15px,1.1vw,16px);line-height:1.3;letter-spacing:-.01em;color:var(--deep);
}
#crest-compare tbody th,#crest-compare tbody td{padding:clamp(16px,1.8vw,22px) clamp(16px,1.8vw,24px);text-align:left;vertical-align:top;background:none;}
#crest-compare tbody th{
  counter-increment:cp;
  font-family:var(--f-head);font-weight:700;font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.45;color:var(--deep);
}
#crest-compare tbody th::before{content:counter(cp) ".";display:inline-block;min-width:1.6em;font-weight:700;color:var(--teal-dark);}
#crest-compare tbody td{font-size:clamp(15px,1.08vw,16.5px);line-height:1.6;color:rgba(27,31,34,.72);}
#crest-compare tbody tr:hover > *{background:rgba(246,244,239,.55);}

/* the closing statement */
#crest-compare .cp-close{
  max-width:900px;margin:clamp(44px,5vw,72px) auto 0;text-align:center;text-wrap:balance;
  font-family:var(--f-head);font-weight:700;font-size:clamp(20px,1.9vw,27px);line-height:1.4;letter-spacing:-.014em;color:var(--deep);
}
#crest-compare .cp-close span{color:var(--teal-dark);}
/* it stays hidden with the last two options until the round button opens the table (without script.js it always shows) */
#crest-compare.is-js .cp-close{display:none;}
#crest-compare.is-js.is-open .cp-close{display:block;animation:cp-in .6s var(--ease) both;}
@keyframes cp-in{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:none;}}
@media (prefers-reduced-motion:reduce){ #crest-compare.is-js.is-open .cp-close{animation:none;} }

/* tablets and phones: each option as its own block (number and name, then the two headings above their words) */
@media (max-width:820px){
  #crest-compare .cp-table{border:0;border-radius:0;overflow:visible;background:none;}
  #crest-compare table,#crest-compare tbody,#crest-compare tr,#crest-compare th,#crest-compare td{display:block;width:auto;}
  #crest-compare thead{display:none;}
  #crest-compare tbody tr{margin-top:14px;border:1px solid rgba(14,42,51,.18);border-radius:16px;overflow:hidden;background:var(--white);}
  #crest-compare tbody tr:first-child{margin-top:0;}
  #crest-compare tbody tr > *,#crest-compare tbody tr:last-child > *{border:0;border-top:1px solid rgba(14,42,51,.12);}
  #crest-compare tbody th{border-top:0;background:var(--paper);}
  #crest-compare tbody td::before{
    content:attr(data-label);display:block;margin-bottom:6px;
    font-family:var(--f-head);font-weight:700;font-size:14px;line-height:1.3;color:var(--deep);
  }
  #crest-compare tbody tr:hover > *{background:none;}
  #crest-compare tbody tr:hover > th{background:var(--paper);}
}


/* ==========================================================================
   HOME 13. WHAT YOUR WIN LOOKS LIKE
   On Paper: the title and its line centred, then the five paragraphs as plain text on the left and a rounded photo on the right,
   a field of teal dots behind its top corner and a teal circle behind its foot (unlike the other photos on the page).
   ========================================================================== */
#crest-win{
  --deep:#0E2A33; --teal:#00D1C1; --teal-dark:#0B7A72; --charcoal:#1B1F22; --paper:#F6F4EF; --white:#FFFFFF;
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --gutter:clamp(20px,5vw,80px);
  position:relative;width:100%;
  padding:clamp(45px,4.9vw,73px) 0;
  background:var(--paper);color:var(--charcoal);
  font-family:var(--f-body);-webkit-font-smoothing:antialiased;
}
#crest-win *,#crest-win *::before,#crest-win *::after{box-sizing:border-box;}
#crest-win h2,#crest-win p,#crest-win figure{margin:0;padding:0;border:0;text-transform:none;letter-spacing:normal;text-shadow:none;}
#crest-win .wn-wrap{width:100%;padding-left:max(var(--gutter),calc(50% - 660px));padding-right:max(var(--gutter),calc(50% - 660px));}
#crest-win .wn-title{
  max-width:860px;margin:0 auto clamp(36px,4vw,56px);text-align:center;
  font-family:var(--f-head);font-weight:700;font-size:clamp(24px,2.4vw,35px);line-height:1.2;letter-spacing:-.022em;text-wrap:balance;color:var(--deep);
}
#crest-win .wn-title span{display:block;color:var(--teal-dark);}
#crest-win .wn-row{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(36px,5.5vw,88px);align-items:center;}
#crest-win .wn-copy p{font-size:clamp(15px,1.1vw,16px);line-height:1.65;color:rgba(27,31,34,.72);}
#crest-win .wn-copy p + p{margin-top:1.1em;}
/* the photo: plain and rounded, a field of small Teal Dark dots peeking out behind its top right corner and a solid teal circle
   tucked behind its bottom left corner */
#crest-win .wn-photo{position:relative;isolation:isolate;aspect-ratio:5/4;margin:28px;}   /* fills its column, a little wider than tall */
#crest-win .wn-photo img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;border:0;border-radius:24px;box-shadow:0 30px 60px -34px rgba(14,42,51,.6);}
#crest-win .wn-photo::before,#crest-win .wn-photo::after{content:"";position:absolute;z-index:-1;pointer-events:none;}
#crest-win .wn-photo::before{
  top:-28px;right:-28px;width:58%;height:46%;
  background:radial-gradient(circle,var(--teal-dark) 0 2px,transparent 2.6px) 0 0/16px 16px;opacity:.55;
}
#crest-win .wn-photo::after{left:-30px;bottom:-30px;width:31%;aspect-ratio:1;border-radius:50%;background:var(--teal);}

/* tablets and phones: the photo first, then the paragraphs */
@media (max-width:900px){
  #crest-win .wn-row{grid-template-columns:minmax(0,1fr);}
  #crest-win .wn-photo{order:-1;aspect-ratio:16/10;margin:20px 20px 24px;}
  #crest-win .wn-photo::before{top:-20px;right:-20px;}
  #crest-win .wn-photo::after{left:-20px;bottom:-20px;}
}


/* ==========================================================================
   HOME 14. OUR STORY
   On White over a faint photo (washed almost to white): the title centred; one wide reading column, left-aligned - the opening line larger, then the
   paragraphs and the round button that opens the last two; then the closing statement centred in Teal Dark.
   ========================================================================== */
#crest-founder{
  --deep:#0E2A33; --teal:#00D1C1; --teal-dark:#0B7A72; --charcoal:#1B1F22; --paper:#F6F4EF; --white:#FFFFFF;
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --gutter:clamp(20px,5vw,80px);
  --ease:cubic-bezier(.16,.84,.24,1);
  position:relative;width:100%;
  padding:clamp(50px,5.6vw,78px) 0;
  background:var(--white);color:var(--charcoal);
  font-family:var(--f-body);-webkit-font-smoothing:antialiased;
  isolation:isolate;
}
/* the photo across the whole section, washed almost to white so it only shows faintly behind the words */
#crest-founder::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(rgba(255,255,255,.93),rgba(255,255,255,.93)),var(--fd-bg,none) center/cover no-repeat;background-attachment:fixed;}   /* the photo stays still while the words scroll over it */
#crest-founder *,#crest-founder *::before,#crest-founder *::after{box-sizing:border-box;}
#crest-founder h2,#crest-founder p{margin:0;padding:0;border:0;text-transform:none;letter-spacing:normal;text-shadow:none;}
#crest-founder .fd-wrap{width:100%;padding-left:var(--gutter);padding-right:var(--gutter);}
#crest-founder .fd-title{
  max-width:860px;margin:0 auto clamp(40px,4.4vw,60px);text-align:center;
  font-family:var(--f-head);font-weight:700;font-size:clamp(24px,2.4vw,35px);line-height:1.2;letter-spacing:-.022em;text-wrap:balance;color:var(--deep);
}
#crest-founder .fd-title span{display:block;color:var(--teal-dark);}

/* one wide reading column */
#crest-founder .fd-body{max-width:1000px;margin:0 auto;}
#crest-founder .fd-lead{font-size:clamp(15px,1.1vw,16px);line-height:1.65;font-weight:400;color:rgba(27,31,34,.72);}   /* the same size and colour as the paragraphs below, so justified spacing stays even */
#crest-founder .fd-copy{margin-top:1.2em;font-size:clamp(15px,1.1vw,16px);}   /* the same gap as between the paragraphs */
#crest-founder .fd-copy p{font-size:clamp(15px,1.1vw,16px);line-height:1.65;color:rgba(27,31,34,.72);}
#crest-founder .fd-copy p + p,#crest-founder .fd-copy .wh-more > p:first-child{margin-top:1.2em;}
#crest-founder button.wh-toggle,#crest-founder button.wh-toggle:hover,#crest-founder button.wh-toggle:focus{margin:clamp(24px,2.6vw,34px) 0 0;}
/* "Learn more about us": a worded button on the fine line, in place of the round chevron */
#crest-founder .fd-toggle i{display:none;}
#crest-founder .fd-toggle .fd-toggle__label{
  display:inline-flex;flex:none;align-items:center;gap:10px;min-height:48px;padding:0 22px;
  border:1.5px solid rgba(11,122,114,.4);border-radius:999px;background:var(--white);
  font-family:'DM Sans','Segoe UI',Arial,sans-serif;font-weight:600;font-size:15px;line-height:1.2;color:var(--teal-dark);white-space:nowrap;
  transition:background-color .25s ease,border-color .25s ease,color .25s ease;
}
#crest-founder .fd-toggle .fd-toggle__label::after{content:"";width:7px;height:7px;margin-top:-4px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .35s ease,margin .35s ease;}
#crest-founder .fd-toggle[aria-expanded="true"] .fd-toggle__label::after{margin-top:4px;transform:rotate(225deg);}
#crest-founder .fd-toggle:hover .fd-toggle__label{background:var(--teal-dark);border-color:var(--teal-dark);color:var(--white);}
#crest-founder button.fd-toggle:focus-visible .fd-toggle__label{outline:3px solid var(--teal);outline-offset:3px;}

/* the closing statement, centred, the last thing under the read-more button */
#crest-founder .fd-copy p.fd-close{
  max-width:860px;margin:clamp(40px,4.4vw,60px) auto 0;text-align:center;text-wrap:balance;
  font-family:var(--f-head);font-weight:700;font-size:clamp(20px,1.8vw,26px);line-height:1.45;letter-spacing:-.014em;color:var(--teal-dark);
}

/* ==========================================================================
   HOME 15. THE COST CERTAINTY GUARANTEE
   On Paper: a shield seal, the title, the opening question and two short paragraphs centred; then "What The Guarantee Means"
   on a Deep panel: its heading and paragraphs across the top (the 7-10% in bright teal), the mechanisms in two columns below;
   then the closing paragraphs centred, the last line as a Teal Dark statement.
   ========================================================================== */
#crest-guarantee{
  --deep:#0E2A33; --teal:#00D1C1; --teal-dark:#0B7A72; --charcoal:#1B1F22; --paper:#F6F4EF; --white:#FFFFFF;
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --gutter:clamp(20px,5vw,80px);
  position:relative;width:100%;
  padding:clamp(45px,4.9vw,73px) 0;
  background:var(--paper);color:var(--charcoal);
  font-family:var(--f-body);-webkit-font-smoothing:antialiased;
}
#crest-guarantee *,#crest-guarantee *::before,#crest-guarantee *::after{box-sizing:border-box;}
#crest-guarantee h2,#crest-guarantee h3,#crest-guarantee p,#crest-guarantee ul,#crest-guarantee li{margin:0;padding:0;border:0;list-style:none;text-transform:none;letter-spacing:normal;text-shadow:none;}
#crest-guarantee .gt-wrap{width:100%;padding-left:max(var(--gutter),calc(50% - 620px));padding-right:max(var(--gutter),calc(50% - 620px));}

/* the head: title, the opening question, the two short paragraphs, all centred */
#crest-guarantee .gt-head{max-width:820px;margin:0 auto clamp(48px,5.4vw,80px);text-align:center;}
/* the seal above the title: a teal outline shield with a tick */
#crest-guarantee .gt-seal{display:flex;align-items:center;justify-content:center;width:76px;height:76px;margin:0 auto 22px;border-radius:50%;background:var(--white);box-shadow:0 18px 40px -24px rgba(14,42,51,.5),0 0 0 8px rgba(0,209,193,.12);}
#crest-guarantee .gt-seal svg{display:block;width:34px;height:40px;fill:none;stroke:var(--teal-dark);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;}
#crest-guarantee .gt-title{font-family:var(--f-head);font-weight:700;font-size:clamp(24px,2.4vw,35px);line-height:1.2;letter-spacing:-.022em;text-wrap:balance;color:var(--deep);}
#crest-guarantee .gt-title span{display:block;color:var(--teal-dark);}
#crest-guarantee .gt-lead{margin:clamp(22px,2.4vw,30px) 0 14px;font-family:var(--f-head);font-weight:700;font-size:clamp(19px,1.6vw,23px);line-height:1.45;letter-spacing:-.01em;text-wrap:balance;color:var(--deep);}
#crest-guarantee .gt-head p:not(.gt-lead){font-size:clamp(15px,1.1vw,16px);line-height:1.65;color:rgba(27,31,34,.72);}
#crest-guarantee .gt-head p + p:not(.gt-lead){margin-top:.5em;}

/* what the guarantee means: a Deep panel, the paragraphs on the left (the 7-10% in bright teal), the mechanisms on the right,
   the measuring scale along its foot */
#crest-guarantee .gt-row{
  position:relative;overflow:hidden;
  padding:clamp(32px,4.4vw,64px) clamp(24px,4.4vw,64px) clamp(44px,5.2vw,76px);border-radius:28px;background:var(--deep);
  box-shadow:0 40px 80px -50px rgba(14,42,51,.7);
}
#crest-guarantee .gt-row::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:16px;opacity:.3;pointer-events:none;
  background:
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 60px) 0 100%/100% 16px no-repeat,
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 12px) 0 100%/100% 8px no-repeat;
}
#crest-guarantee .gt-sub{margin-bottom:18px;text-align:center;font-family:var(--f-head);font-weight:700;font-size:clamp(23px,2.2vw,32px);line-height:1.2;letter-spacing:-.02em;color:var(--white);}
#crest-guarantee .gt-sub::after{content:"";display:block;width:56px;height:4px;margin:18px auto 0;border-radius:4px;background:var(--teal);}
#crest-guarantee .gt-means p{font-size:clamp(15px,1.1vw,16px);line-height:1.65;color:rgba(246,244,239,.82);}
#crest-guarantee .gt-means p + p{margin-top:1.1em;}
#crest-guarantee .gt-means p{max-width:860px;}   /* the heading spans the panel (centred); the paragraphs keep a readable width */
#crest-guarantee .gt-means strong{font-family:var(--f-head);font-weight:700;font-size:1.25em;color:var(--teal);}
#crest-guarantee .gt-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(28px,4vw,56px);margin-top:clamp(28px,3vw,40px);padding-top:clamp(10px,1.2vw,16px);border-top:1px solid rgba(246,244,239,.16);}
#crest-guarantee .gt-list li{display:grid;grid-template-columns:26px minmax(0,1fr);column-gap:14px;align-items:start;padding:14px 0;border-top:1px solid rgba(246,244,239,.12);font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.6;color:rgba(246,244,239,.9);}
#crest-guarantee .gt-list li:nth-child(-n+2){border-top:0;}
#crest-guarantee .gt-tick{display:flex;align-items:center;justify-content:center;width:26px;height:26px;margin-top:0;border-radius:50%;background:var(--teal);}
#crest-guarantee .gt-tick svg{display:block;width:14px;height:14px;fill:none;stroke:var(--deep);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;}

/* the closing: centred, the first line bold, the last line as the statement */
#crest-guarantee .gt-close{max-width:820px;margin:clamp(52px,6vw,88px) auto 0;padding-top:clamp(40px,4.6vw,60px);border-top:1px solid rgba(14,42,51,.12);text-align:center;}
#crest-guarantee .gt-close p{font-size:clamp(15px,1.1vw,16px);line-height:1.65;color:rgba(27,31,34,.72);}
#crest-guarantee .gt-close .gt-close__lead{margin-bottom:14px;font-family:var(--f-head);font-weight:700;font-size:clamp(19px,1.6vw,23px);line-height:1.45;letter-spacing:-.01em;color:var(--deep);}
#crest-guarantee .gt-close .gt-close__final{margin-top:clamp(24px,2.6vw,34px);font-family:var(--f-head);font-weight:700;font-size:clamp(21px,2vw,29px);line-height:1.35;letter-spacing:-.018em;text-wrap:balance;color:var(--teal-dark);}

@media (max-width:900px){
  #crest-guarantee .gt-row{border-radius:22px;}
  #crest-guarantee .gt-list{grid-template-columns:minmax(0,1fr);}
  #crest-guarantee .gt-list li:nth-child(2){border-top:1px solid rgba(246,244,239,.12);}
}


/* ==========================================================================
   HOME 16. THE GUARANTEE HAS TWO SIDES
   On White: the title; the two commitments one under the other (numbered name on the left, words on the right, a line between);
   "And What If Things Still Go Wrong?" as a centred heading over plain paragraphs; "What You Are Really Getting" on a Deep
   panel ending in the four short lines in bright teal.
   ========================================================================== */
#crest-sides{
  --deep:#0E2A33; --teal:#00D1C1; --teal-dark:#0B7A72; --charcoal:#1B1F22; --paper:#F6F4EF; --white:#FFFFFF;
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --gutter:clamp(20px,5vw,80px);
  position:relative;width:100%;
  padding:clamp(45px,4.9vw,73px) 0;
  background:var(--white);color:var(--charcoal);
  font-family:var(--f-body);-webkit-font-smoothing:antialiased;
}
#crest-sides *,#crest-sides *::before,#crest-sides *::after{box-sizing:border-box;}
#crest-sides h2,#crest-sides h3,#crest-sides p,#crest-sides ul,#crest-sides li{margin:0;padding:0;border:0;list-style:none;text-transform:none;letter-spacing:normal;text-shadow:none;}
#crest-sides .gs-wrap{width:100%;padding-left:max(var(--gutter),calc(50% - 600px));padding-right:max(var(--gutter),calc(50% - 600px));}
#crest-sides .gs-title{margin:0 auto clamp(40px,4.6vw,64px);text-align:center;font-family:var(--f-head);font-weight:700;font-size:clamp(26px,2.6vw,38px);line-height:1.2;letter-spacing:-.022em;color:var(--deep);}
#crest-sides .gs-title span{display:block;color:var(--teal-dark);}
#crest-sides p{font-size:clamp(15px,1.1vw,16px);line-height:1.65;color:rgba(27,31,34,.72);}

/* the two commitments: numbered name on the left, words on the right */
#crest-sides .gs-side{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:clamp(28px,5vw,80px);align-items:start;padding:clamp(36px,4.4vw,60px) 0;border-top:1px solid rgba(14,42,51,.12);}
#crest-sides .gs-side:last-child{border-bottom:1px solid rgba(14,42,51,.12);}
#crest-sides .gs-name{font-family:var(--f-head);font-weight:700;font-size:clamp(22px,2vw,29px);line-height:1.25;letter-spacing:-.018em;color:var(--deep);}
#crest-sides .gs-num{display:block;margin-bottom:10px;font-size:clamp(44px,4.4vw,64px);line-height:1;letter-spacing:-.03em;color:var(--teal);}
#crest-sides .gs-body p + p,#crest-sides .gs-body p + ul,#crest-sides .gs-body ul + p{margin-top:1em;}
#crest-sides .gs-body .gs-point{font-family:var(--f-head);font-weight:700;font-size:clamp(16.5px,1.3vw,19px);line-height:1.45;letter-spacing:-.01em;color:var(--deep);}
#crest-sides .gs-body p + .gs-point{margin-top:1.6em;}
#crest-sides .gs-ifs li{position:relative;padding:10px 0 10px 26px;border-top:1px solid rgba(14,42,51,.08);font-size:clamp(15px,1.08vw,16px);line-height:1.65;color:rgba(27,31,34,.72);}
#crest-sides .gs-ifs li:first-child{border-top:0;}
#crest-sides .gs-ifs li::before{content:"";position:absolute;left:0;top:calc(10px + .62em);width:12px;height:3px;border-radius:3px;background:var(--teal-dark);}
#crest-sides .gs-body .gs-strong{
  margin-top:1.5em;padding:18px 22px;border:1px solid rgba(11,122,114,.18);border-radius:14px;background:rgba(0,209,193,.08);
  font-family:var(--f-head);font-weight:700;font-size:clamp(17px,1.35vw,19.5px);line-height:1.5;color:var(--deep);
}
#crest-sides .gs-strong b{font-weight:700;color:var(--teal-dark);}
#crest-sides{--ease:cubic-bezier(.16,.84,.24,1);}
#crest-sides .gs-body .wh-more > :first-child{margin-top:1em;}
#crest-sides button.wh-toggle,#crest-sides button.wh-toggle:hover,#crest-sides button.wh-toggle:focus{margin-top:clamp(20px,2.2vw,28px);}
#crest-sides .gs-body .gs-end{margin-top:1.2em;font-family:var(--f-head);font-weight:700;font-size:clamp(16.5px,1.3vw,19px);color:var(--deep);}

/* what if things still go wrong: a centred heading over plain paragraphs */
#crest-sides .gs-h{margin-bottom:18px;text-align:center;font-family:var(--f-head);font-weight:700;font-size:clamp(23px,2.2vw,32px);line-height:1.2;letter-spacing:-.02em;color:var(--deep);}
#crest-sides .gs-h::after{content:"";display:block;width:56px;height:4px;margin:16px auto 0;border-radius:4px;background:var(--teal);}
#crest-sides .gs-wrong{max-width:820px;margin:clamp(56px,6.4vw,96px) auto 0;}
#crest-sides .gs-wrong p + p{margin-top:1em;}
#crest-sides .gs-wrong .gs-point{text-align:center;font-family:var(--f-head);font-weight:700;font-size:clamp(16.5px,1.3vw,19px);line-height:1.45;color:var(--deep);}

/* what you are really getting: a Deep panel, the four short lines at its foot in bright teal */
#crest-sides .gs-get{
  position:relative;overflow:hidden;max-width:980px;margin:clamp(56px,6.4vw,96px) auto 0;
  padding:clamp(36px,4.6vw,64px) clamp(24px,4.6vw,64px) clamp(44px,5.2vw,72px);border-radius:28px;background:var(--deep);
  box-shadow:0 40px 80px -50px rgba(14,42,51,.7);
}
#crest-sides .gs-get::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:16px;opacity:.3;pointer-events:none;
  background:
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 60px) 0 100%/100% 16px no-repeat,
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 12px) 0 100%/100% 8px no-repeat;
}
#crest-sides .gs-get .gs-h{color:var(--white);}
#crest-sides .gs-get p{max-width:760px;margin-left:auto;margin-right:auto;text-align:center;color:rgba(246,244,239,.84);}
#crest-sides .gs-get p + p{margin-top:.9em;}
#crest-sides .gs-get .gs-motto{
  max-width:none;margin-top:clamp(28px,3vw,40px);padding-top:clamp(24px,2.6vw,34px);border-top:1px solid rgba(246,244,239,.14);
  display:flex;flex-wrap:wrap;justify-content:center;gap:6px 22px;
  font-family:var(--f-head);font-weight:700;font-size:clamp(18px,1.7vw,24px);line-height:1.35;letter-spacing:-.012em;color:var(--teal);
}
#crest-sides .gs-motto span{white-space:nowrap;}
@media (min-width:641px){ #crest-sides .gs-get .gs-motto{display:grid;grid-template-columns:repeat(2,auto);justify-content:center;} }   /* two phrases per line */

@media (max-width:900px){
  #crest-sides .gs-side{grid-template-columns:minmax(0,1fr);gap:20px;}
  #crest-sides .gs-num{display:inline;margin:0 6px 0 0;font-size:inherit;}
}


/* ==========================================================================
   HOME 17. RESOURCES
   On Paper: the title and its line, the intro, then the four resources as white tiles, three per row (two per row on tablets,
   one on phones), each with a line icon, its name and its words.
   ========================================================================== */
#crest-resources{
  --deep:#0E2A33; --teal:#00D1C1; --teal-dark:#0B7A72; --charcoal:#1B1F22; --paper:#F6F4EF; --white:#FFFFFF;
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --gutter:clamp(20px,5vw,80px);
  --ease:cubic-bezier(.16,.84,.24,1);
  position:relative;width:100%;
  padding:clamp(45px,4.9vw,73px) 0;
  background:var(--paper);color:var(--charcoal);
  font-family:var(--f-body);-webkit-font-smoothing:antialiased;
}
#crest-resources *,#crest-resources *::before,#crest-resources *::after{box-sizing:border-box;}
#crest-resources h2,#crest-resources h3,#crest-resources p{margin:0;padding:0;border:0;text-transform:none;letter-spacing:normal;text-shadow:none;}
#crest-resources .rs-wrap{width:100%;max-width:calc(1240px + 2 * var(--gutter));margin:0 auto;padding:0 var(--gutter);}
#crest-resources .rs-head{max-width:860px;margin:0 auto clamp(40px,4.6vw,64px);text-align:center;}
#crest-resources .rs-title{font-family:var(--f-head);font-weight:700;font-size:clamp(26px,2.6vw,38px);line-height:1.2;letter-spacing:-.022em;text-wrap:balance;color:var(--deep);}
#crest-resources .rs-title span{display:block;color:var(--teal-dark);}
#crest-resources .rs-sub{margin-top:14px;font-size:clamp(15.5px,1.12vw,16.5px);line-height:1.65;color:rgba(27,31,34,.72);}

/* the four resources */
#crest-resources .rs-grid{--g:clamp(14px,1.6vw,22px);display:flex;flex-wrap:wrap;justify-content:center;gap:var(--g);}   /* three per row; a short last row sits centred */
#crest-resources .rs-item{flex:0 0 calc((100% - 2 * var(--g)) / 3);}
#crest-resources .rs-item{
  position:relative;padding:clamp(24px,2.4vw,32px);border:1px solid rgba(14,42,51,.07);border-radius:20px;background:var(--white);
  transition:border-color .3s ease,box-shadow .4s var(--ease),transform .4s var(--ease);
}
#crest-resources .rs-item::before{content:"";position:absolute;left:50%;top:0;width:44px;height:4px;margin-left:-22px;border-radius:0 0 4px 4px;background:var(--teal);transform:scaleX(0);transform-origin:center;transition:transform .45s var(--ease);}
#crest-resources .rs-item:hover{border-color:rgba(11,122,114,.3);box-shadow:0 22px 44px -30px rgba(14,42,51,.45);transform:translateY(-3px);}
#crest-resources .rs-item:hover::before{transform:scaleX(1);}
#crest-resources .rs-ico{display:flex;align-items:center;justify-content:center;width:50px;height:50px;margin:0 auto 18px;border-radius:14px;background:rgba(0,209,193,.12);color:var(--teal-dark);}
#crest-resources .rs-ico svg{display:block;width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
#crest-resources .rs-name{margin-bottom:10px;text-align:center;text-wrap:balance;font-family:var(--f-head);font-weight:700;font-size:clamp(17px,1.3vw,19px);line-height:1.3;letter-spacing:-.012em;color:var(--deep);}
#crest-resources .rs-item p{font-size:clamp(15px,1.05vw,16px);line-height:1.65;color:rgba(27,31,34,.72);}

@media (max-width:900px){ #crest-resources .rs-item{flex-basis:calc((100% - var(--g)) / 2);} }
@media (max-width:620px){ #crest-resources .rs-item{flex-basis:100%;} }
@media (prefers-reduced-motion:reduce){
  #crest-resources .rs-item,#crest-resources .rs-item::before{transition:none;}
  #crest-resources .rs-item:hover{transform:none;}
}


/* ==========================================================================
   HOME 18. FREQUENTLY ASKED QUESTIONS
   On White: the title and its line centred, then the eleven questions as one list divided by fine lines.
   Each question opens to show its answer (the first starts open). Without script.js every answer simply shows.
   ========================================================================== */
:is(#crest-faq,#crest-faq-pm){
  --deep:#0E2A33; --teal:#00D1C1; --teal-dark:#0B7A72; --charcoal:#1B1F22; --paper:#F6F4EF; --white:#FFFFFF;
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --gutter:clamp(20px,5vw,80px);
  --ease:cubic-bezier(.16,.84,.24,1);
  position:relative;width:100%;
  padding:clamp(45px,4.9vw,73px) 0;
  background:var(--white);color:var(--charcoal);
  font-family:var(--f-body);-webkit-font-smoothing:antialiased;
}
:is(#crest-faq,#crest-faq-pm) *,:is(#crest-faq,#crest-faq-pm) *::before,:is(#crest-faq,#crest-faq-pm) *::after{box-sizing:border-box;}
:is(#crest-faq,#crest-faq-pm) h2,:is(#crest-faq,#crest-faq-pm) h3,:is(#crest-faq,#crest-faq-pm) p{margin:0;padding:0;border:0;text-transform:none;letter-spacing:normal;text-shadow:none;}
:is(#crest-faq,#crest-faq-pm) .fq-wrap{width:100%;max-width:calc(860px + 2 * var(--gutter));margin:0 auto;padding:0 var(--gutter);}
:is(#crest-faq,#crest-faq-pm) .fq-title{
  max-width:860px;margin:0 auto clamp(36px,4.2vw,58px);text-align:center;
  font-family:var(--f-head);font-weight:700;font-size:clamp(26px,2.6vw,38px);line-height:1.2;letter-spacing:-.022em;text-wrap:balance;color:var(--deep);
}
:is(#crest-faq,#crest-faq-pm) .fq-title span{display:block;color:var(--teal-dark);}

/* the list: each question in its own white box with a fine border; the open one gets a Teal outline and a soft shadow */
:is(#crest-faq,#crest-faq-pm) .fq-list{display:flex;flex-direction:column;gap:14px;}
:is(#crest-faq,#crest-faq-pm) .fq-item{border:1px solid rgba(14,42,51,.12);border-radius:14px;background:var(--white);transition:border-color .3s ease,box-shadow .4s var(--ease);}
:is(#crest-faq,#crest-faq-pm) .fq-item:hover{border-color:rgba(11,122,114,.35);}
:is(#crest-faq,#crest-faq-pm) .fq-item.is-open{border-color:rgba(0,209,193,.6);box-shadow:0 14px 34px -22px rgba(14,42,51,.35);}
:is(#crest-faq,#crest-faq-pm) .fq-q{font:inherit;}
:is(#crest-faq,#crest-faq-pm) .fq-q button{
  display:grid;grid-template-columns:auto minmax(0,1fr) 20px;align-items:baseline;column-gap:0;
  width:100%;margin:0;padding:clamp(18px,1.8vw,22px) clamp(18px,2vw,24px);border:0;border-radius:14px;background:none;box-shadow:none;
  font-family:var(--f-head);font-weight:700;font-size:clamp(15.5px,1.12vw,16.5px);line-height:1.45;letter-spacing:-.01em;text-align:left;text-transform:none;white-space:normal;
  color:var(--deep);cursor:pointer;transition:color .25s ease;
}
:is(#crest-faq,#crest-faq-pm) .fq-q button:hover,:is(#crest-faq,#crest-faq-pm) .fq-q button:focus{background:none;color:var(--deep);}
:is(#crest-faq,#crest-faq-pm) .fq-q button:focus{outline:none;}
:is(#crest-faq,#crest-faq-pm) .fq-q button:focus-visible{outline:2px solid var(--teal);outline-offset:2px;}
:is(#crest-faq,#crest-faq-pm) .fq-num{margin-right:.4em;font-weight:700;color:var(--teal-dark);font-variant-numeric:tabular-nums;}
:is(#crest-faq,#crest-faq-pm) .fq-text{text-wrap:pretty;}
/* a plain plus that turns to a cross when open */
:is(#crest-faq,#crest-faq-pm) .fq-ico{position:relative;align-self:center;width:20px;height:20px;margin-left:18px;justify-self:end;transition:transform .35s var(--ease);}
:is(#crest-faq,#crest-faq-pm) .fq-ico::before,:is(#crest-faq,#crest-faq-pm) .fq-ico::after{content:"";position:absolute;left:50%;top:50%;width:14px;height:2.5px;margin:-1.25px 0 0 -7px;border-radius:2px;background:var(--deep);}
:is(#crest-faq,#crest-faq-pm) .fq-ico::after{transform:rotate(90deg);}
:is(#crest-faq,#crest-faq-pm) .fq-item.is-open .fq-ico{transform:rotate(45deg);}

/* the answers, lined up with the question */
:is(#crest-faq,#crest-faq-pm) .fq-in{padding:0 clamp(18px,2vw,24px);}
:is(#crest-faq,#crest-faq-pm) .fq-in > :first-child{margin-top:2px;}
:is(#crest-faq,#crest-faq-pm) .fq-in > :last-child{margin-bottom:clamp(20px,2vw,24px);}   /* inside the fold, so a closed answer takes no room */
:is(#crest-faq,#crest-faq-pm) .fq-in p{font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.65;color:rgba(27,31,34,.72);}
:is(#crest-faq,#crest-faq-pm) .fq-in p + p{margin-top:.9em;}
:is(#crest-faq,#crest-faq-pm) .fq-in a,#crest-areas .ar-text a{color:var(--teal-dark);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;}
:is(#crest-faq,#crest-faq-pm) .fq-in a:hover,#crest-areas .ar-text a:hover{color:var(--deep);}
/* with script.js: closed answers fold away */
:is(#crest-faq,#crest-faq-pm).is-js .fq-a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .45s var(--ease);}
:is(#crest-faq,#crest-faq-pm).is-js .fq-in{overflow:hidden;min-height:0;visibility:hidden;transition:visibility 0s .45s;}
:is(#crest-faq,#crest-faq-pm).is-js .fq-item.is-open .fq-a{grid-template-rows:1fr;}
:is(#crest-faq,#crest-faq-pm).is-js .fq-item.is-open .fq-in{visibility:visible;transition:none;}

@media (prefers-reduced-motion:reduce){
  :is(#crest-faq,#crest-faq-pm).is-js .fq-a,:is(#crest-faq,#crest-faq-pm) .fq-item,:is(#crest-faq,#crest-faq-pm) .fq-ico{transition:none;}
}


/* ==========================================================================
   HOME 19. PLANNING A PROJECT
   On Paper, closing the page: the title and its line centred, then the words on the left and, on the right, the booking form
   from the hero (its styles are shared with the hero above) in a white card, with the invitation on a Teal Dark band at its top.
   ========================================================================== */
#crest-ask{
  --deep:#0E2A33; --teal:#00D1C1; --teal-dark:#0B7A72; --charcoal:#1B1F22; --paper:#F6F4EF; --white:#FFFFFF;
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --gutter:clamp(20px,5vw,80px);
  --ease:cubic-bezier(.16,.84,.24,1);
  position:relative;width:100%;
  padding:clamp(45px,4.9vw,73px) 0;
  background:var(--paper);color:var(--charcoal);
  font-family:var(--f-body);-webkit-font-smoothing:antialiased;
}
#crest-ask *,#crest-ask *::before,#crest-ask *::after{box-sizing:border-box;}
#crest-ask h2,#crest-ask p,#crest-ask span,#crest-ask div{margin:0;padding:0;border:0;text-transform:none;letter-spacing:normal;text-shadow:none;}
#crest-ask .ak-wrap{width:100%;padding-left:max(var(--gutter),calc(50% - 640px));padding-right:max(var(--gutter),calc(50% - 640px));}
#crest-ask .ak-title{
  max-width:1120px;margin:0 auto clamp(36px,4vw,56px);text-align:center;
  font-family:var(--f-head);font-weight:700;font-size:clamp(26px,2.6vw,38px);line-height:1.2;letter-spacing:-.022em;text-wrap:balance;color:var(--deep);
}
#crest-ask .ak-title span{display:block;color:var(--teal-dark);}
#crest-ask .ak-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.92fr);gap:clamp(36px,5vw,80px);align-items:center;}

/* the words */
#crest-ask .ak-copy p{font-size:clamp(15px,1.1vw,16px);line-height:1.65;color:rgba(27,31,34,.72);}
#crest-ask .ak-copy p + p{margin-top:1.1em;}
#crest-ask .ak-copy .ak-key{font-family:var(--f-head);font-weight:700;font-size:clamp(18px,1.4vw,21px);line-height:1.5;letter-spacing:-.01em;color:var(--teal-dark);}

/* the card: the invitation on Teal Dark, the form on White */
#crest-ask .ak-card{overflow:hidden;border-radius:18px;background:var(--white);box-shadow:0 30px 60px -34px rgba(14,42,51,.45),0 0 0 1px rgba(14,42,51,.06);}
#crest-ask .ak-invite{
  padding:clamp(18px,1.7vw,22px) clamp(20px,1.8vw,26px);background:var(--teal-dark);
  font-family:var(--f-head);font-weight:700;font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.5;color:var(--white);
}

@media (max-width:900px){
  #crest-ask .ak-row{grid-template-columns:minmax(0,1fr);}
}
@media (max-width:720px){
  #crest-ask .ch-form__grid{grid-template-columns:minmax(0,1fr);}
  #crest-ask .ch-form textarea{height:72px;}
}
@media (max-width:440px){
  #crest-ask button.ch-form__btn{padding:12px 8px;font-size:clamp(12.5px,3.85vw,15.5px);}
}


/* ==========================================================================
   SITE FOOTER  (footer.php)
   One Deep band, laid out like the WS Law footer: a Teal line along the top and a soft Teal glow; the call to action in a softly
   outlined card (a small label, the title, one line, then the Lime call button and an outlined one); a fine line; then four
   columns - the logo with a short description, Menu, Sectors and Get in Touch (small uppercase Teal labels with a short bar,
   single-column links with small arrows); then a thin bottom line with the copyright. Small, soft text throughout.
   ========================================================================== */
#crest-footer{
  --deep:#0E2A33; --teal:#00D1C1; --teal-dark:#0B7A72; --paper:#F6F4EF; --white:#FFFFFF;
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --gutter:clamp(20px,5vw,80px);
  --line:rgba(246,244,239,.1);
  --soft:rgba(246,244,239,.62);
  position:relative;width:100%;
  padding-top:clamp(40px,4vw,56px);
  border-top:3px solid var(--teal);
  background:radial-gradient(900px 520px at 12% 0%,rgba(0,209,193,.09),transparent 62%),radial-gradient(700px 420px at 100% 100%,rgba(0,209,193,.05),transparent 60%),var(--deep);color:var(--soft);
  font-family:var(--f-body);font-size:15px;line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
#crest-footer *,#crest-footer *::before,#crest-footer *::after{box-sizing:border-box;}
#crest-footer h2,#crest-footer h3,#crest-footer p,#crest-footer ul,#crest-footer li{
  margin:0;padding:0;border:0;list-style:none;text-transform:none;letter-spacing:normal;text-shadow:none;
}
#crest-footer a{color:inherit;text-decoration:none;box-shadow:none;transition:color .2s ease;}
#crest-footer svg{display:block;flex:none;}
#crest-footer img{display:block;max-width:none;border:0;border-radius:0;box-shadow:none;}
#crest-footer a:focus{outline:none;}
#crest-footer a:focus-visible{outline:3px solid var(--teal);outline-offset:3px;border-radius:4px;}
#crest-footer .ft-wrap{width:100%;max-width:calc(1200px + 2 * var(--gutter));margin:0 auto;padding:0 var(--gutter);}
#crest-footer .ft-ico{width:15px;height:15px;fill:var(--teal);}
#crest-footer .ft-arrow{width:16px;height:11px;fill:currentColor;}

/* ---------- call to action, in a softly outlined card ---------- */
#crest-footer .ft-cta{
  display:flex;align-items:center;justify-content:space-between;gap:24px 48px;
  padding:clamp(28px,3vw,40px) clamp(24px,3vw,40px);
  border:1px solid rgba(246,244,239,.12);border-radius:20px;background:rgba(246,244,239,.03);
  scroll-margin-top:100px;                  /* clears the sticky header when jumped to */
}
#crest-footer .ft-cta__copy{max-width:620px;}
#crest-footer .ft-cta__label{display:inline-flex;align-items:center;gap:8px;margin-bottom:14px;padding:6px 14px;border:1px solid rgba(0,209,193,.45);border-radius:999px;background:rgba(0,209,193,.08);font-size:11.5px;font-weight:700;line-height:1.2;letter-spacing:.18em;text-transform:uppercase;color:var(--teal);}
#crest-footer .ft-cta__label .ft-ico{width:12px;height:12px;}
#crest-footer .ft-cta__title{font-family:var(--f-head);font-weight:700;font-size:clamp(23px,2.1vw,31px);line-height:1.2;letter-spacing:-.02em;text-wrap:balance;color:var(--white);}
#crest-footer .ft-cta__title span{color:var(--teal);}
#crest-footer .ft-cta__text{margin-top:10px;font-size:15px;line-height:1.65;color:var(--soft);}
#crest-footer .ft-cta__actions{display:flex;flex-wrap:wrap;gap:12px;flex:none;}
#crest-footer .ft-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:0 24px;border-radius:999px;
  background:var(--teal);color:var(--deep);font-weight:600;font-size:15px;line-height:1.2;white-space:nowrap;
  transition:background-color .25s ease,border-color .25s ease,color .25s ease;
}
#crest-footer .ft-btn:hover{background:#80E8E0;color:var(--deep);}
#crest-footer .ft-btn--call{background:#C8F03C;color:var(--deep);font-weight:700;box-shadow:0 10px 26px -10px rgba(200,240,60,.6);}
#crest-footer .ft-btn--call .ft-ico{fill:var(--deep);}
#crest-footer .ft-btn--call:hover{background:#D6F56A;color:var(--deep);}
#crest-footer .ft-btn--line{border:1px solid rgba(246,244,239,.3);background:transparent;color:var(--white);}
#crest-footer .ft-btn--line:hover{border-color:var(--white);background:rgba(246,244,239,.06);color:var(--white);}

/* ---------- logo and contact | menu | sectors ---------- */
#crest-footer .ft-main{
  display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.8fr) minmax(0,.8fr) minmax(0,1.25fr);gap:36px clamp(28px,3.4vw,56px);
  margin-top:clamp(36px,3.6vw,48px);padding:clamp(36px,3.6vw,48px) 0 clamp(32px,3.2vw,44px);border-top:1px solid var(--line);
}
#crest-footer .ft-logo{display:inline-block;}
#crest-footer .ft-logo img{width:auto;height:44px;}
#crest-footer .ft-about{max-width:340px;margin-top:18px;font-size:14.5px;line-height:1.7;color:var(--soft);}
/* the social media pages: round outlined buttons; they fill Teal on hover */
#crest-footer .ft-social{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px;}
#crest-footer .ft-social a{
  display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid rgba(246,244,239,.2);border-radius:50%;
  color:rgba(246,244,239,.86);transition:background-color .25s ease,border-color .25s ease,color .25s ease,transform .25s ease;
}
#crest-footer .ft-social svg{width:17px;height:17px;fill:currentColor;}
#crest-footer .ft-social a:hover{border-color:var(--teal);background:var(--teal);color:var(--deep);transform:translateY(-2px);}
#crest-footer .ft-social a:focus-visible{border-radius:50%;}
#crest-footer .ft-contact strong{display:block;margin-bottom:2px;font-weight:700;color:var(--white);}
#crest-footer .ft-contact li{display:flex;align-items:flex-start;gap:12px;font-size:14.5px;}
#crest-footer .ft-contact li + li{margin-top:12px;}
#crest-footer .ft-contact .ft-ico{margin-top:4px;}
#crest-footer .ft-contact span,#crest-footer .ft-contact a{color:var(--soft);overflow-wrap:anywhere;}
#crest-footer .ft-contact a:hover{color:var(--teal);}
/* the Menu and Sectors labels: small capitals in Teal, a short bar under them */
#crest-footer .ft-head{margin-bottom:20px;font-family:var(--f-head);font-weight:600;font-size:13px;line-height:1.2;letter-spacing:.14em;text-transform:uppercase;color:var(--teal);}
#crest-footer .ft-head::after{content:"";display:block;width:26px;height:2px;margin-top:10px;border-radius:2px;background:var(--teal);}
#crest-footer .ft-links li + li{margin-top:10px;}
#crest-footer .ft-links a{display:inline-flex;align-items:baseline;gap:10px;font-size:14.5px;line-height:1.5;color:var(--soft);}
#crest-footer .ft-links a::before{content:"\203A";color:var(--teal);font-size:15px;line-height:1;}
#crest-footer .ft-links a:hover,#crest-footer .ft-links a[aria-current]{color:var(--white);}
#crest-footer .ft-links a:not([href]),#crest-footer .ft-links a:not([href]):hover{cursor:default;color:var(--soft);}   /* a name whose page is not live yet: shown, but not a link (crest_menu_link() in functions.php) */

/* ---------- copyright and back to top ---------- */
#crest-footer .ft-bottom{
  display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;
  padding:20px 0 24px;border-top:1px solid var(--line);font-size:13.5px;color:rgba(246,244,239,.5);
}
/* Back to top: a round Teal button floating in the bottom right corner of the screen, just the arrow;
   script.js shows it once the visitor has scrolled down (without it, it is always there) */
#crest-footer .ft-top{
  position:fixed;right:clamp(16px,2vw,28px);bottom:clamp(16px,2vw,28px);z-index:900;
  display:flex;align-items:center;justify-content:center;width:50px;height:50px;border-radius:50%;
  background:var(--teal);color:var(--deep);box-shadow:0 12px 28px -10px rgba(14,42,51,.55);
  transition:background-color .25s ease,transform .3s ease,opacity .3s ease,visibility 0s;
}
#crest-footer .ft-top .ft-arrow{width:18px;height:12px;transform:rotate(-90deg);}
#crest-footer .ft-top:hover{background:#80E8E0;color:var(--deep);transform:translateY(-2px);}
#crest-footer .ft-top:focus-visible{border-radius:50%;}
#crest-footer .ft-top.is-auto:not(.is-on){opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .3s ease,transform .3s ease,visibility 0s linear .3s;}

/* ---------- smaller screens ---------- */
@media (max-width:1000px){
  #crest-footer .ft-cta{flex-direction:column;align-items:flex-start;}
  #crest-footer .ft-main{grid-template-columns:repeat(2,minmax(0,1fr));}
  #crest-footer .ft-brand{grid-column:1 / -1;}
  #crest-footer .ft-main > .ft-col:last-child{grid-column:1 / -1;}
  #crest-footer .ft-links li + li{margin-top:2px;}
  #crest-footer .ft-links a{padding:5px 0;}   /* easier to tap */
}
@media (max-width:620px){
  #crest-footer .ft-bottom{padding-right:64px;}   /* clear of the floating Back to top button */
}
@media (max-width:520px){
  #crest-footer .ft-cta__actions{width:100%;flex-direction:column;}
  #crest-footer .ft-btn{width:100%;}
}
@media (prefers-reduced-motion:reduce){
  #crest-footer *,#crest-footer *::before,#crest-footer *::after{transition:none !important;}
}


/* ==========================================================================
   SECTION TITLES, as on WS Law: a small uppercase label with a short line ("— CREST COST CONSULTANTS") above each title,
   the title itself a little larger and tighter (still two centred lines, the second in Teal Dark), the subtitle small and soft.
   The label is decoration only: screen readers skip it.
   ========================================================================== */
#crest-intro .in-title,
#crest-how .hw-title,
#crest-svc .sv-title,
#crest-reviews .rv-title,
#crest-voices .rv-title,
#crest-say .rv-title,
#crest-say-again .rv-title,
#crest-consult .cs-title,
#crest-trust .tr-title,
#crest-diff .df-title,
#crest-fit .wk-title,
#crest-areas .ar-title,
#crest-compare .cp-title,
#crest-win .wn-title,
#crest-founder .fd-title,
#crest-guarantee .gt-title,
#crest-sides .gs-title,
#crest-resources .rs-title,
:is(#crest-faq,#crest-faq-pm) .fq-title,
#crest-ask .ak-title{
  font-family:'Poppins','Segoe UI',Arial,sans-serif;font-weight:700;font-size:clamp(26px,2.65vw,38px);line-height:1.14;letter-spacing:-.02em;
  max-width:min(100%,1120px);margin-left:auto;margin-right:auto;
}
#crest-intro .in-title::before,
#crest-how .hw-title::before,
#crest-svc .sv-title::before,
#crest-reviews .rv-title::before,
#crest-voices .rv-title::before,
#crest-say .rv-title::before,
#crest-say-again .rv-title::before,
#crest-consult .cs-title::before,
#crest-trust .tr-title::before,
#crest-diff .df-title::before,
#crest-fit .wk-title::before,
#crest-areas .ar-title::before,
#crest-compare .cp-title::before,
#crest-win .wn-title::before,
#crest-founder .fd-title::before,
#crest-guarantee .gt-title::before,
#crest-sides .gs-title::before,
#crest-resources .rs-title::before,
:is(#crest-faq,#crest-faq-pm) .fq-title::before,
#crest-ask .ak-title::before,
#crest-why .wy-title::before{
  content:"Crest Cost Consultants";content:"Crest Cost Consultants" / "";
  display:block;width:-moz-fit-content;width:fit-content;margin:0 auto 14px;padding-left:40px;
  background:linear-gradient(currentColor,currentColor) left center/28px 2px no-repeat;
  font-family:'DM Sans','Segoe UI',Arial,sans-serif;font-weight:700;font-size:12.5px;line-height:1.3;letter-spacing:.22em;text-transform:uppercase;
  color:#0B7A72;
}
#crest-why .wy-title::before{margin-left:0;color:#00D1C1;}
#crest-how .hw-title{max-width:none;}   /* its long first line needs the full width to stay on two lines */   /* the dark statement title: set left, in bright Teal */
#crest-svc .sv-sub,
#crest-reviews .rv-sub,
#crest-voices .rv-sub,
#crest-say .rv-sub,
#crest-say-again .rv-sub,
#crest-consult .cs-sub,
#crest-diff .df-sub,
#crest-fit .wk-sub,
#crest-areas .ar-sub,
#crest-compare .cp-sub,
#crest-resources .rs-sub{
  max-width:640px;margin-left:auto;margin-right:auto;
  font-size:clamp(15px,1.1vw,16px);line-height:1.65;color:rgba(27,31,34,.72);
}


/* ==========================================================================
   PHOTOS THAT SET THEIR OWN HEIGHT (for iPhone and iPad Safari)
   Safari can ignore a frame's fixed shape when the frame sits in a stretched grid, leaving a photo that fills the frame
   absolutely with no height at all - the words below then slide up over the title. Here the photo itself carries the shape.
   ========================================================================== */
#crest-win .wn-photo{aspect-ratio:auto;}
#crest-win .wn-photo img{position:relative;inset:auto;height:auto;aspect-ratio:5/4;}
@media (max-width:900px){
  #crest-win .wn-photo img{aspect-ratio:16/10;}
  #crest-fit .wk-img{aspect-ratio:auto;align-self:start;min-height:0;}
  #crest-fit .wk-img img{position:relative;inset:auto;height:auto;aspect-ratio:4/3;}
  #crest-how .hw-photo,#crest-how .hw-opening .hw-photo{aspect-ratio:auto;align-self:start;min-height:0;}
  #crest-how .hw-photo img{position:relative;inset:auto;height:auto;aspect-ratio:16/9;}
}


/* ==========================================================================
   JUSTIFIED TEXT: on desktop, the running paragraphs (several lines, set left) are justified, as on WS Law.
   On phones and tablets they are set left instead (see below).
   Centred lines, lists, questions, short statements and the text inside narrow cards keep their own alignment.
   ========================================================================== */
#crest-intro .in-lead,#crest-intro .in-note__quote,#crest-intro .in-note__text,
#crest-who .wh-paras p,
#crest-why .wy-body,
#crest-how .hw-opening__copy .hw-body,#crest-how .hw-close-copy .hw-body,
#crest-consult .cs-offer,#crest-consult .cs-how__item p,
#crest-fit .wk-copy p,
#crest-win .wn-copy p,
#crest-founder .fd-lead,#crest-founder .fd-copy p:not(.fd-close),
#crest-guarantee .gt-means p,
#crest-sides .gs-body p:not(.gs-point):not(.gs-strong):not(.gs-end),#crest-sides .gs-wrong p:not(.gs-point),
:is(#crest-faq,#crest-faq-pm) .fq-in p,
#crest-ask .ak-copy p:not(.ak-key){text-align:justify;text-justify:inter-word;}
@media (max-width:900px){
  /* phones and tablets: every paragraph goes back to plain left alignment, with no words split at line ends.
     In a narrow column, justified text stretches the spaces between words into wide gaps. */
  #crest-intro .in-lead,#crest-intro .in-note__quote,#crest-intro .in-note__text,
  #crest-who .wh-paras p,
  #crest-why .wy-body,
  #crest-how .hw-opening__copy .hw-body,#crest-how .hw-close-copy .hw-body,
  #crest-consult .cs-offer,#crest-consult .cs-how__item p,
  #crest-fit .wk-copy p,
  #crest-win .wn-copy p,
  #crest-founder .fd-lead,#crest-founder .fd-copy p:not(.fd-close),
  #crest-guarantee .gt-means p,
  #crest-sides .gs-body p:not(.gs-point):not(.gs-strong):not(.gs-end),#crest-sides .gs-wrong p:not(.gs-point),
  :is(#crest-faq,#crest-faq-pm) .fq-in p,
  #crest-ask .ak-copy p:not(.ak-key){text-align:left;-webkit-hyphens:manual;hyphens:manual;}
}


/* ==========================================================================
   CALLS TO ACTION BETWEEN SECTIONS  (crest_cta() in functions.php: the same words and buttons, three looks)
   band  - full-width Teal Dark band, words left, buttons right (above "What Makes Crest Cost Consultants Different?")
   card  - centred Deep card, the same design as the one closing the intro section (above "Areas Served by Our Quantity Surveyors in Kenya")
   line  - quiet Paper card, words left, buttons right (above "And What If Things Still Go Wrong?")
   ========================================================================== */
.cc-cta{
  --deep:#0E2A33; --teal:#00D1C1; --teal-dark:#0B7A72; --lime:#C8F03C; --paper:#F6F4EF; --white:#FFFFFF;
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --gutter:clamp(20px,5vw,80px);
  position:relative;box-sizing:border-box;width:100%;font-family:var(--f-body);-webkit-font-smoothing:antialiased;
}
.cc-cta *,.cc-cta *::before,.cc-cta *::after{box-sizing:border-box;}
.cc-cta p,.cc-cta ul,.cc-cta li,.cc-cta figure{margin:0;padding:0;border:0;list-style:none;}
.cc-cta .cc-cta__in{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:clamp(24px,4vw,64px);}
.cc-cta .cc-cta__title{font-family:var(--f-head);font-weight:700;font-size:clamp(22px,2vw,30px);line-height:1.22;letter-spacing:-.018em;text-wrap:balance;}
.cc-cta .cc-cta__points{display:flex;flex-wrap:wrap;gap:8px 26px;margin-top:14px;}
.cc-cta .cc-cta__points li{display:flex;align-items:center;gap:10px;font-size:clamp(15px,1.1vw,16px);line-height:1.35;}
.cc-cta .cc-cta__tick{display:flex;flex:none;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;}
.cc-cta .cc-cta__tick svg{display:block;width:12px;height:12px;}
.cc-cta .cc-cta__actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;}
.cc-cta a.cc-cta__btn,.cc-cta a.cc-cta__btn:visited{
  display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:0 30px;border-radius:999px;border:1.5px solid transparent;
  box-shadow:none;text-decoration:none;white-space:nowrap;
  font-family:var(--f-body);font-weight:600;font-size:16px;line-height:1.3;
  transition:background-color .25s ease,color .25s ease,border-color .25s ease;
}
.cc-cta a.cc-cta__btn:hover{text-decoration:none;}
.cc-cta a.cc-cta__btn:focus{outline:none;}
.cc-cta a.cc-cta__btn:focus-visible{outline:3px solid var(--teal);outline-offset:3px;}

/* band: Teal Dark, full width, Lime button */
.cc-cta--band{padding:clamp(36px,3.8vw,54px) 0;background:var(--teal-dark);color:var(--white);}
.cc-cta--band .cc-cta__in{padding-left:max(var(--gutter),calc(50% - 600px));padding-right:max(var(--gutter),calc(50% - 600px));}
.cc-cta--band .cc-cta__title{color:var(--white);}
.cc-cta--band .cc-cta__points li{color:rgba(255,255,255,.9);}
.cc-cta--band .cc-cta__tick{background:rgba(255,255,255,.16);}
.cc-cta--band .cc-cta__tick polygon{fill:var(--lime);}
.cc-cta--band a.cc-cta__btn,.cc-cta--band a.cc-cta__btn:visited{background:var(--lime);border-color:var(--lime);color:var(--deep);}
.cc-cta--band a.cc-cta__btn:hover{background:var(--white);border-color:var(--white);color:var(--deep);}
.cc-cta--band a.cc-cta__btn--ghost,.cc-cta--band a.cc-cta__btn--ghost:visited{background:transparent;border-color:rgba(255,255,255,.5);color:var(--white);}
.cc-cta--band a.cc-cta__btn--ghost:hover{background:var(--white);border-color:var(--white);color:var(--deep);}
.cc-cta--band a.cc-cta__btn:focus-visible{outline-color:var(--lime);}

/* card: a centred Deep card on Paper, the same design as the one closing the intro section (#crest-intro .in-cta) */
.cc-cta--card{padding:clamp(45px,4.9vw,73px) var(--gutter) 0;background:var(--paper);}
.cc-cta--card .cc-cta__card{
  position:relative;display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;gap:clamp(22px,2.4vw,28px);text-align:center;
  max-width:880px;margin:0 auto;padding:clamp(32px,3.4vw,48px) clamp(24px,3.4vw,48px);border-radius:20px;overflow:hidden;
  background:var(--deep);color:var(--white);
}
.cc-cta--card .cc-cta__card::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:16px;opacity:.3;pointer-events:none;
  background:
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 60px) 0 100%/100% 16px no-repeat,
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 12px) 0 100%/100% 8px no-repeat;
}
.cc-cta--card .cc-cta__title{color:var(--white);}
.cc-cta--card .cc-cta__points{justify-content:center;gap:8px 28px;}
.cc-cta--card .cc-cta__points li{color:rgba(246,244,239,.9);}
.cc-cta--card .cc-cta__tick{background:rgba(0,209,193,.18);}
.cc-cta--card .cc-cta__tick polygon{fill:var(--teal);}
.cc-cta--card .cc-cta__actions{justify-content:center;}
.cc-cta--card a.cc-cta__btn,.cc-cta--card a.cc-cta__btn:visited{border-width:1px;background:var(--teal);border-color:var(--teal);color:var(--deep);}
.cc-cta--card a.cc-cta__btn:hover{background:#80E8E0;border-color:#80E8E0;color:var(--deep);}
.cc-cta--card a.cc-cta__btn--ghost,.cc-cta--card a.cc-cta__btn--ghost:visited{background:transparent;border-color:rgba(246,244,239,.45);color:var(--white);}
.cc-cta--card a.cc-cta__btn--ghost:hover{background:var(--white);border-color:var(--white);color:var(--deep);}

/* line: a quiet Paper card inside the white section, Deep buttons */
.cc-cta--line{max-width:1000px;margin:clamp(56px,6.4vw,96px) auto 0;padding:clamp(26px,2.8vw,38px) clamp(24px,3.2vw,44px);border:1px solid rgba(14,42,51,.08);border-radius:18px;background:var(--paper);color:var(--deep);}
#crest-sides .cc-cta--line .cc-cta__title{font-size:clamp(20px,1.75vw,26px);line-height:1.22;letter-spacing:-.018em;color:var(--deep);}
#crest-sides .cc-cta--line .cc-cta__points{margin-top:14px;}
.cc-cta--line .cc-cta__points li{color:rgba(27,31,34,.78);}
.cc-cta--line .cc-cta__tick{background:var(--deep);}
.cc-cta--line .cc-cta__tick polygon{fill:var(--lime);}
.cc-cta--line a.cc-cta__btn,.cc-cta--line a.cc-cta__btn:visited{background:var(--deep);border-color:var(--deep);color:var(--white);}
.cc-cta--line a.cc-cta__btn:hover{background:var(--teal-dark);border-color:var(--teal-dark);color:var(--white);}
.cc-cta--line a.cc-cta__btn--ghost,.cc-cta--line a.cc-cta__btn--ghost:visited{background:transparent;border-color:var(--deep);color:var(--deep);}
.cc-cta--line a.cc-cta__btn--ghost:hover{background:var(--deep);border-color:var(--deep);color:var(--white);}
.cc-cta--line a.cc-cta__btn:focus-visible{outline-color:var(--deep);}

/* narrower screens: the words above the buttons, centred like the other calls to action */
@media (max-width:1000px){
  .cc-cta .cc-cta__in{grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center;gap:24px;}
  .cc-cta--band .cc-cta__points,.cc-cta--line .cc-cta__points{justify-content:center;}
  .cc-cta--band .cc-cta__actions,.cc-cta--line .cc-cta__actions{justify-content:center;}
}
@media (max-width:680px){
  .cc-cta .cc-cta__points{flex-direction:column;align-items:flex-start;gap:10px;width:-moz-fit-content;width:fit-content;max-width:100%;margin-left:auto;margin-right:auto;text-align:left;}
  .cc-cta .cc-cta__actions{width:100%;}
  .cc-cta a.cc-cta__btn{flex:1 1 100%;padding:0 12px;font-size:clamp(14px,4vw,16px);}
  .cc-cta--line{padding:26px 20px;}
  .cc-cta--card .cc-cta__card{padding:26px 22px;}
}
@media (prefers-reduced-motion:reduce){
  .cc-cta a.cc-cta__btn{transition:none;}
}


/* ==========================================================================
   SCROLL MOTION  (home page, below the hero; set up by initReveal() in script.js)
   Before a block is reached it waits, invisible; when it is reached it plays once.
   ========================================================================== */
html.crest-reveal [data-reveal]:not(.is-in){opacity:0;}
html.crest-reveal [data-reveal].is-in{animation:crest-rv-up .9s cubic-bezier(.16,.84,.24,1) var(--rv-d,0s) backwards;}
html.crest-reveal [data-reveal="title"].is-in{animation-name:crest-rv-title;animation-duration:1.1s;}
html.crest-reveal [data-reveal="card"].is-in{animation-name:crest-rv-card;animation-duration:1s;}
html.crest-reveal [data-reveal="img"].is-in{animation-name:crest-rv-img;animation-duration:1.2s;}
html.crest-reveal [data-reveal="img"].is-in img{animation:crest-rv-zoom 1.8s cubic-bezier(.16,.84,.24,1) var(--rv-d,0s) backwards;}
html.crest-reveal [data-reveal].rv-now,html.crest-reveal [data-reveal].rv-now img{animation:none;}
@keyframes crest-rv-up{from{opacity:0;transform:translate3d(0,28px,0);}to{opacity:1;transform:none;}}
@keyframes crest-rv-title{from{opacity:0;transform:translate3d(0,36px,0);filter:blur(6px);}to{opacity:1;transform:none;filter:none;}}
@keyframes crest-rv-card{from{opacity:0;transform:translate3d(0,40px,0) scale(.97);}to{opacity:1;transform:none;}}
@keyframes crest-rv-img{from{opacity:0;transform:scale(.95);}to{opacity:1;transform:none;}}
@keyframes crest-rv-zoom{from{transform:scale(1.08);clip-path:inset(5% round 20px);}to{transform:none;clip-path:inset(0 round 20px);}}
/* the words of the key statements: their brightness follows the scroll */
.crest-w{transition:opacity .12s linear;}


/* ==========================================================================
   EVERY BUTTON IN LIME, like the header's "Call Now": Lime fill, Deep lettering, a soft Lime glow; a lighter Lime on hover.
   (Set here, after every section's own button rules, so it wins everywhere.)
   ========================================================================== */
#crest-hero a.ch-cta,
#crest-hero a.ch-cta:visited,
#crest-hero a.ch-cta:focus,
#crest-hero a.ch-cta2,
#crest-hero a.ch-cta2:visited,
#crest-hero a.ch-cta2:focus,
#crest-hero button.ch-form__btn,
#crest-hero button.ch-form__btn:visited,
#crest-hero button.ch-form__btn:focus,
#crest-ask button.ch-form__btn,
#crest-ask button.ch-form__btn:visited,
#crest-ask button.ch-form__btn:focus,
#crest-hero button.ch-back,
#crest-hero button.ch-back:visited,
#crest-hero button.ch-back:focus,
#crest-ask button.ch-back,
#crest-ask button.ch-back:visited,
#crest-ask button.ch-back:focus,
#crest-intro a.in-cta__btn,
#crest-intro a.in-cta__btn:visited,
#crest-intro a.in-cta__btn:focus,
#crest-intro a.in-cta__btn--ghost,
#crest-intro a.in-cta__btn--ghost:visited,
#crest-intro a.in-cta__btn--ghost:focus,
#crest-how a.hw-cta__btn,
#crest-how a.hw-cta__btn:visited,
#crest-how a.hw-cta__btn:focus,
#crest-how a.hw-cta__btn--ghost,
#crest-how a.hw-cta__btn--ghost:visited,
#crest-how a.hw-cta__btn--ghost:focus,
#crest-consult a.cs-btn,
#crest-consult a.cs-btn:visited,
#crest-consult a.cs-btn:focus,
#crest-footer a.ft-btn,
#crest-footer a.ft-btn:visited,
#crest-footer a.ft-btn:focus,
#crest-footer a.ft-btn--line,
#crest-footer a.ft-btn--line:visited,
#crest-footer a.ft-btn--line:focus,
html .cc-cta a.cc-cta__btn,
html .cc-cta a.cc-cta__btn:visited,
html .cc-cta a.cc-cta__btn:focus,
html .cc-cta a.cc-cta__btn--ghost,
html .cc-cta a.cc-cta__btn--ghost:visited,
html .cc-cta a.cc-cta__btn--ghost:focus{
  border-color:#C8F03C;background:#C8F03C;color:#0E2A33;box-shadow:0 10px 26px -12px rgba(200,240,60,.65);
}
#crest-hero a.ch-cta:hover,
#crest-hero a.ch-cta2:hover,
#crest-hero button.ch-form__btn:hover,
#crest-ask button.ch-form__btn:hover,
#crest-hero button.ch-back:hover,
#crest-ask button.ch-back:hover,
#crest-intro a.in-cta__btn:hover,
#crest-intro a.in-cta__btn--ghost:hover,
#crest-how a.hw-cta__btn:hover,
#crest-how a.hw-cta__btn--ghost:hover,
#crest-consult a.cs-btn:hover,
#crest-footer a.ft-btn:hover,
#crest-footer a.ft-btn--line:hover,
html .cc-cta a.cc-cta__btn:hover,
html .cc-cta a.cc-cta__btn--ghost:hover{
  border-color:#D6F56A;background:#D6F56A;color:#0E2A33;box-shadow:0 14px 30px -12px rgba(200,240,60,.75);text-decoration:none;
}
/* on the Lime bands in "Who Understand Why Projects Fail" the buttons keep a fine Deep outline, so they still stand out */
#crest-how .hw-cta a.hw-cta__btn,#crest-how .hw-cta a.hw-cta__btn:visited,#crest-how .hw-cta a.hw-cta__btn:hover{border-color:#0E2A33;box-shadow:none;}
#crest-how .hw-cta a.hw-cta__btn:hover{background:#0E2A33;color:#C8F03C;}
/* "Learn more about us" */
#crest-founder .fd-toggle .fd-toggle__label,#crest-founder .fd-toggle:hover .fd-toggle__label{border-color:#C8F03C;background:#C8F03C;color:#0E2A33;box-shadow:0 10px 24px -14px rgba(200,240,60,.8);}
#crest-founder .fd-toggle:hover .fd-toggle__label{border-color:#D6F56A;background:#D6F56A;}
/* back to top */
#crest-footer .ft-top{background:#C8F03C;color:#0E2A33;box-shadow:0 12px 28px -10px rgba(200,240,60,.6);}
#crest-footer .ft-top:hover{background:#D6F56A;color:#0E2A33;}

/* where two buttons sit together, the second is see-through with an outline (so the two never look the same);
   it fills on hover. On dark backgrounds the outline is Lime and the lettering white; on light and Lime backgrounds both are Deep. */
#crest-hero a.ch-cta2,
#crest-hero a.ch-cta2:visited,
#crest-hero a.ch-cta2:focus,
#crest-intro a.in-cta__btn--ghost,
#crest-intro a.in-cta__btn--ghost:visited,
#crest-intro a.in-cta__btn--ghost:focus,
#crest-footer a.ft-btn--line,
#crest-footer a.ft-btn--line:visited,
#crest-footer a.ft-btn--line:focus,
html .cc-cta--band a.cc-cta__btn--ghost,
html .cc-cta--band a.cc-cta__btn--ghost:visited,
html .cc-cta--band a.cc-cta__btn--ghost:focus,
html .cc-cta--card a.cc-cta__btn--ghost,
html .cc-cta--card a.cc-cta__btn--ghost:visited,
html .cc-cta--card a.cc-cta__btn--ghost:focus{
  border:1.5px solid rgba(200,240,60,.75);background:transparent;color:#FFFFFF;box-shadow:none;
}
#crest-hero a.ch-cta2:hover,
#crest-intro a.in-cta__btn--ghost:hover,
#crest-footer a.ft-btn--line:hover,
html .cc-cta--band a.cc-cta__btn--ghost:hover,
html .cc-cta--card a.cc-cta__btn--ghost:hover{
  border-color:#C8F03C;background:#C8F03C;color:#0E2A33;box-shadow:0 10px 26px -12px rgba(200,240,60,.65);
}
html .cc-cta--line a.cc-cta__btn--ghost,
html .cc-cta--line a.cc-cta__btn--ghost:visited,
html .cc-cta--line a.cc-cta__btn--ghost:focus,
#crest-hero button.ch-back,
#crest-hero button.ch-back:visited,
#crest-hero button.ch-back:focus,
#crest-ask button.ch-back,
#crest-ask button.ch-back:visited,
#crest-ask button.ch-back:focus,
#crest-how .hw-cta a.hw-cta__btn--ghost,
#crest-how .hw-cta a.hw-cta__btn--ghost:visited,
#crest-how .hw-cta a.hw-cta__btn--ghost:focus{
  border:1.5px solid #0E2A33;background:transparent;color:#0E2A33;box-shadow:none;
}
html .cc-cta--line a.cc-cta__btn--ghost:hover,
#crest-hero button.ch-back:hover,
#crest-ask button.ch-back:hover,
#crest-how .hw-cta a.hw-cta__btn--ghost:hover{
  border-color:#0E2A33;background:#0E2A33;color:#FFFFFF;box-shadow:none;
}
/* on the Lime bands the first button is Deep with Lime lettering, so it stands apart from the band and from the outlined second one */
#crest-how .hw-cta a.hw-cta__btn:not(.hw-cta__btn--ghost),#crest-how .hw-cta a.hw-cta__btn:not(.hw-cta__btn--ghost):visited,#crest-how .hw-cta a.hw-cta__btn:not(.hw-cta__btn--ghost):focus{border-color:#0E2A33;background:#0E2A33;color:#C8F03C;box-shadow:0 10px 24px -14px rgba(14,42,51,.6);}
#crest-how .hw-cta a.hw-cta__btn:not(.hw-cta__btn--ghost):hover{border-color:#0B7A72;background:#0B7A72;color:#FFFFFF;}

/* ==========================================================================
   THE BOOKING POP-UP  (front.php; opened by every "Book Free Project Cost Review" button, script.js)
   A dimmed, softly blurred page with the hero's card in the middle: the offer, its four points, the company logos and the form.
   It scrolls inside itself on short screens; × , a click outside or Esc closes it.
   ========================================================================== */
#crest-pop{
  --deep:#0E2A33; --teal:#00D1C1; --teal-dark:#0B7A72; --lime:#C8F03C; --paper:#F6F4EF; --white:#FFFFFF; --bright50:#80E8E0;
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --ease:cubic-bezier(.16,.84,.24,1);
  position:fixed;inset:0;z-index:3000;display:flex;align-items:center;justify-content:center;padding:20px;
  background:rgba(14,42,51,.72);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  font-family:var(--f-body);font-size:16px;line-height:1.6;color:var(--deep);text-align:left;-webkit-font-smoothing:antialiased;
  opacity:0;visibility:hidden;transition:opacity .3s ease,visibility 0s linear .3s;
}
#crest-pop[hidden]{display:none;}
#crest-pop.is-open{opacity:1;visibility:visible;transition:opacity .3s ease,visibility 0s;}
html.crest-pop-open,html.crest-pop-open body{overflow:hidden;}
#crest-pop *,#crest-pop *::before,#crest-pop *::after{box-sizing:border-box;}
#crest-pop h2,#crest-pop p,#crest-pop ul,#crest-pop li,#crest-pop span,#crest-pop div{margin:0;padding:0;border:0;list-style:none;text-transform:none;letter-spacing:normal;text-shadow:none;}
#crest-pop svg{display:block;overflow:visible;}
#crest-pop img{max-width:none;border:0;}
#crest-pop .pp-panel{
  position:relative;width:100%;max-width:560px;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior:contain;
  border-radius:18px;box-shadow:0 40px 90px -30px rgba(0,0,0,.6),0 0 0 1px rgba(246,244,239,.12);
  transform:translate3d(0,18px,0) scale(.98);transition:transform .45s var(--ease);
}
#crest-pop.is-open .pp-panel{transform:none;}
#crest-pop .ch-pt{display:grid;grid-template-columns:22px minmax(0,1fr);column-gap:10px;align-items:center;
  font-family:var(--f-body);font-weight:400;font-size:clamp(14.5px,.15vw + 12.5px,16px);line-height:1.35;color:rgba(246,244,239,.94);}
#crest-pop .ch-txt{display:block;white-space:nowrap;}
#crest-pop .ch-tick{display:flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:rgba(0,209,193,.2);}
#crest-pop .ch-tick svg{width:12px;height:12px;}
#crest-pop .ch-tick polygon{fill:var(--teal);}
#crest-pop .ch-side{overflow:hidden;border-radius:18px;
  box-shadow:0 0 0 14px rgba(246,244,239,.07),0 0 0 15px rgba(246,244,239,.16);   /* the soft frame around the card */
  animation:ch-fade .7s .55s ease both;}
#crest-pop .ch-offer{padding:clamp(16px,1.5vw,20px) clamp(20px,1.8vw,26px);background:var(--teal-dark);}
#crest-pop .ch-offer__title{text-align:center;font-family:var(--f-head);font-weight:700;font-size:clamp(15.5px,.3vw + 12.5px,17px);line-height:1.25;letter-spacing:-.01em;text-wrap:balance;color:var(--white);}
#crest-pop .ch-offer__points{display:grid;row-gap:5px;margin-top:9px;}
#crest-pop .ch-offer .ch-pt{font-size:14px;color:var(--white);}
#crest-pop .ch-offer .ch-tick{background:rgba(255,255,255,.18);}
#crest-pop .ch-offer .ch-tick polygon{fill:var(--white);}
#crest-pop .ch-offer .ch-txt{white-space:normal;}
#crest-pop .ch-offer__points{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px;}
#crest-pop .ch-logos__head{margin-top:14px;text-align:center;font-family:var(--f-head);font-weight:700;font-size:11.5px;line-height:1.2;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.72);}
#crest-pop .ch-logos__head + .ch-logos{margin-top:8px;}
#crest-pop .ch-logos{margin-top:12px;overflow:hidden;}
#crest-pop .ch-logos ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(46px,1fr));gap:8px;}
#crest-pop .ch-logos.is-slider ul{display:flex;gap:0;transition:transform .7s cubic-bezier(.65,0,.35,1);}
#crest-pop .ch-logos.is-slider ul.no-anim{transition:none;}
#crest-pop .ch-logos.is-slider li{flex:none;width:calc((100% - 24px) / 4);margin-right:8px;}
#crest-pop .ch-logos li{display:flex;align-items:center;justify-content:center;min-width:0;height:46px;
  padding:4px 6px;border-radius:9px;background:var(--white);}
#crest-pop .ch-logos img{display:block;width:auto;height:auto;max-width:100%;max-height:38px;object-fit:contain;}
#crest-pop .ch-side{box-shadow:none;animation:none;border-radius:18px;}
#crest-pop .ch-offer__title{padding:0 34px;}   /* clear of the close button */
#crest-pop button.pp-close,#crest-pop button.pp-close:hover,#crest-pop button.pp-close:focus{
  position:absolute;top:12px;right:12px;z-index:2;display:flex;align-items:center;justify-content:center;width:36px;height:36px;margin:0;padding:0;
  border:0;border-radius:50%;background:rgba(255,255,255,.16);box-shadow:none;cursor:pointer;transition:background-color .2s ease;
}
#crest-pop button.pp-close:hover{background:rgba(255,255,255,.3);}
#crest-pop button.pp-close:focus{outline:none;}
#crest-pop button.pp-close:focus-visible{outline:3px solid var(--lime);outline-offset:2px;}
#crest-pop .pp-close span{position:relative;display:block;width:16px;height:16px;}
#crest-pop .pp-close span::before,#crest-pop .pp-close span::after{content:"";position:absolute;left:0;top:7px;width:16px;height:2px;border-radius:2px;background:#FFFFFF;transform:rotate(45deg);}
#crest-pop .pp-close span::after{transform:rotate(-45deg);}
/* the buttons: Next and the send button in Lime, Back see-through, as on the page */
#crest-pop button.ch-form__btn,#crest-pop button.ch-form__btn:focus{border-color:#C8F03C;background:#C8F03C;color:#0E2A33;box-shadow:0 10px 26px -12px rgba(200,240,60,.65);}
#crest-pop button.ch-form__btn:hover{border-color:#D6F56A;background:#D6F56A;color:#0E2A33;box-shadow:0 14px 30px -12px rgba(200,240,60,.75);}
#crest-pop button.ch-back,#crest-pop button.ch-back:focus{border:1.5px solid #0E2A33;background:transparent;color:#0E2A33;box-shadow:none;}
#crest-pop button.ch-back:hover{border-color:#0E2A33;background:#0E2A33;color:#FFFFFF;}
/* phones: the points and the fields one under another */
@media (max-width:600px){
  #crest-pop{padding:10px;}
  #crest-pop .pp-panel{max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px);}
  #crest-pop .ch-offer__points{grid-template-columns:minmax(0,1fr);}
  #crest-pop .ch-txt{white-space:normal;}
  #crest-pop .ch-form__grid{grid-template-columns:minmax(0,1fr);}
  #crest-pop .ch-form textarea{height:72px;}
  #crest-pop button.ch-form__btn{padding:12px 8px;font-size:clamp(12.5px,3.85vw,15.5px);}
}
@media (prefers-reduced-motion:reduce){
  #crest-pop,#crest-pop .pp-panel{transition:none;}
  #crest-pop .pp-panel{transform:none;}
}

/* ==========================================================================
   THE NEW PHOTOS (1672 x 941, 16:9; most are before-and-after pairs)
   Side by side with words or a card: each photo is exactly as tall as the words or card beside it, filling its frame
   (the photo's edges are trimmed as needed, never stretched). Stacked on tablets and phones: each photo shows whole, 16:9.
   ========================================================================== */
#crest-intro .in-story__media{aspect-ratio:auto;}
#crest-intro .in-story__media img{height:auto;aspect-ratio:16/9;}
#crest-who .wh-photo{aspect-ratio:auto;}
#crest-who .wh-photo img{height:auto;aspect-ratio:16/9;}
#crest-how .hw-photo,#crest-how .hw-opening .hw-photo{aspect-ratio:auto;min-height:0;}
#crest-how .hw-photo img{position:relative;inset:auto;height:auto;aspect-ratio:16/9;}
#crest-fit .wk-img{aspect-ratio:auto;min-height:0;}
#crest-fit .wk-img img{position:relative;inset:auto;height:auto;aspect-ratio:16/9;}
#crest-win .wn-photo img{aspect-ratio:16/9;}
@media (min-width:1001px){
  #crest-intro .in-story__grid{align-items:stretch;}
  #crest-intro .in-story__media,#crest-who .wh-photo{align-self:stretch;min-height:320px;}
  #crest-who .wh-photo{margin-top:0;margin-bottom:0;}   /* level with the words, top and bottom; the dots and circle still peek out */
  #crest-intro .in-story__media img,#crest-who .wh-photo img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center;}
}
@media (min-width:901px){
  #crest-how .hw-photo,#crest-how .hw-opening .hw-photo,#crest-fit .wk-img,#crest-win .wn-photo{align-self:stretch;min-height:320px;}
  #crest-how .hw-opening .hw-photo,#crest-how .hw-close .hw-photo,#crest-win .wn-photo{margin-top:0;margin-bottom:0;}   /* level with the words */
  #crest-how .hw-photo img,#crest-fit .wk-img img,#crest-win .wn-photo img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center;}
}

/* ==========================================================================
   RESULTS AT A GLANCE  (crest_results() in functions.php; one group just before each call to action, from the second on)
   A small label and the group's name; the large figure, centred; the other figures in a grid with fine lines between them
   (three across, as in the PDF); the small print under it. A number's unit word ("weeks", "bids", "audits", "days") sits
   smaller beside it. Each group is a full-width band: white, paper or deep.
   Phones: six figures two across, three one under another.
   (Every rule starts with the five ids, so the sections they sit in cannot restyle them.)
   ========================================================================== */
:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5){
  --deep:#0E2A33; --teal:#00D1C1; --teal-dark:#0B7A72; --lime:#C8F03C; --paper:#F6F4EF; --white:#FFFFFF;
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --gutter:clamp(20px,5vw,80px);
  --fig:var(--teal-dark); --ink:var(--deep); --soft:rgba(27,31,34,.68); --line:rgba(14,42,51,.12); --cell:var(--white);
  position:relative;box-sizing:border-box;width:100%;padding:clamp(48px,5.2vw,80px) 0;
  font-family:var(--f-body);-webkit-font-smoothing:antialiased;text-align:center;
}
:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) *,:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) *::before,:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) *::after{box-sizing:border-box;}
:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) h2,:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) h3,:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) p,:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) ul,:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) li,:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) strong,:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) span{margin:0;padding:0;border:0;list-style:none;text-transform:none;letter-spacing:normal;text-shadow:none;background:none;}
:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) .cr-res__in{width:100%;max-width:calc(1120px + 2 * var(--gutter));margin:0 auto;padding:0 var(--gutter);}

/* the looks */
:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5).cr-res--white{background:var(--white);}
:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5).cr-res--paper{background:var(--paper);}
:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5).cr-res--deep{background:var(--deep);--fig:var(--lime);--ink:var(--white);--soft:rgba(246,244,239,.74);--line:rgba(246,244,239,.14);--cell:var(--deep);}
/* the measuring scale along the foot of the Deep look */
:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5).cr-res--deep::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:16px;opacity:.3;pointer-events:none;
  background:
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 60px) 0 100%/100% 16px no-repeat,
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 12px) 0 100%/100% 8px no-repeat;
}

/* the label and name */
:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) .cr-res__head{margin-bottom:clamp(28px,3.2vw,44px);}
:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) .cr-res__label{
  display:block;width:-moz-fit-content;width:fit-content;margin:0 auto 14px;padding-left:40px;
  background:linear-gradient(currentColor,currentColor) left center/28px 2px no-repeat;
  font-family:var(--f-body);font-weight:700;font-size:12.5px;line-height:1.3;letter-spacing:.22em;text-transform:uppercase;color:var(--teal-dark);
}
:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5).cr-res--deep .cr-res__label{color:var(--teal);}
:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) .cr-res__title{
  display:block;max-width:20em;margin:0 auto;
  font-family:var(--f-head);font-weight:700;font-size:clamp(24px,2.4vw,34px);line-height:1.18;letter-spacing:-.022em;text-wrap:balance;color:var(--ink);
}

/* the large figure */
:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) .cr-res__lead{display:flex;flex-direction:column;align-items:center;gap:12px;margin-bottom:clamp(30px,3.4vw,48px);}
:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) .cr-res__big{font-family:var(--f-head);font-weight:800;font-size:clamp(52px,6.4vw,96px);line-height:1;letter-spacing:-.04em;color:var(--fig);}
:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) .cr-res__cap{max-width:32em;font-size:clamp(15.5px,1.2vw,17.5px);line-height:1.55;color:var(--soft);text-wrap:balance;}

/* the grid: three across, fine lines between the figures */
:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) .cr-res__grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;overflow:hidden;
  border:1px solid var(--line);border-radius:20px;background:var(--line);
}
:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) .cr-res__grid li{
  display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;min-width:0;
  padding:clamp(26px,2.8vw,38px) clamp(16px,2vw,28px);background:var(--cell);
}
:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5).cr-res--white .cr-res__grid{box-shadow:0 24px 50px -38px rgba(14,42,51,.45);}
:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5).cr-res--paper .cr-res__grid{box-shadow:0 24px 50px -38px rgba(14,42,51,.4);}
:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5).cr-res--deep .cr-res__grid{background:var(--line);}
:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5).cr-res--deep .cr-res__grid li{background:#11303A;}
:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) .cr-res__nw{white-space:nowrap;}
:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) .cr-res__fig{
  display:block;max-width:100%;font-family:var(--f-head);font-weight:800;font-size:clamp(28px,2.7vw,40px);line-height:1.08;letter-spacing:-.03em;
  white-space:nowrap;color:var(--fig);
}
:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) .cr-res__unit{font-size:.52em;font-weight:700;letter-spacing:-.01em;}
:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) .cr-res__txt{max-width:17em;text-wrap:balance;font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.5;color:var(--soft);}

/* the small print */
:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) .cr-res__note{max-width:52em;margin:18px auto 0;font-size:13.5px;line-height:1.55;color:var(--soft);}

/* where a group sits right above a call to action on the same background, the two share the space between them */
:is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5).cr-res--paper + .cc-cta--card{padding-top:0;}
/* group 5, inside "The Guarantee Has Two Sides": a full-width band between the two commitments and the call to action */
#crest-sides #crest-results-5{margin-top:clamp(56px,6.4vw,96px);}
#crest-sides #crest-results-5 + .gs-wrap > .cc-cta--line:first-child{margin-top:clamp(40px,4.4vw,64px);}

/* small laptops and tablets: a little tighter */
@media (max-width:1100px){
  :is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) .cr-res__fig{font-size:clamp(26px,3.2vw,36px);}
}
/* tablets: six figures two across */
@media (max-width:900px){
  :is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) .cr-res__grid--6{grid-template-columns:repeat(2,minmax(0,1fr));}
}
/* small tablets and phones: three figures one under another */
@media (max-width:700px){
  :is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) .cr-res__grid--3{grid-template-columns:minmax(0,1fr);}
  :is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) .cr-res__grid--3 li{padding:24px 20px;}
}
/* phones: six figures stay two across, smaller */
@media (max-width:560px){
  :is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) .cr-res__grid{border-radius:16px;}
  :is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) .cr-res__grid--6 li{gap:8px;padding:20px 10px 22px;}
  :is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) .cr-res__fig{font-size:clamp(21px,6.4vw,28px);}
  :is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) .cr-res__grid--3 .cr-res__fig{font-size:clamp(26px,8vw,32px);}
  :is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) .cr-res__txt{font-size:14px;line-height:1.45;}
  :is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) .cr-res__title{font-size:clamp(22px,6.2vw,26px);}
  :is(#crest-results-1,#crest-results-2,#crest-results-3,#crest-results-4,#crest-results-5) .cr-res__note{font-size:13px;}
}

/* ==========================================================================
   RESOURCES: "Explore" at the foot of each card (crest_resource_more() in functions.php)
   Unlike the white "Learn more" pills on the service and client cards: a plain word in Deep with a short Teal underline that runs
   the width of the word on hover, and an arrow in a small rounded Teal square, pointing up and out; on hover the square turns Lime
   and the arrow turns to point straight ahead. The cards keep their links on one line at their foot.
   ========================================================================== */
#crest-resources .rs-item{display:flex;flex-direction:column;}
#crest-resources .rs-item p.rs-foot{margin-top:auto;padding-top:22px;text-align:center;}
:is(#crest-resources,#rs-hub,#cu-stories,#calc-tools) a.rs-more,:is(#crest-resources,#rs-hub,#cu-stories,#calc-tools) a.rs-more:visited{
  position:relative;display:inline-flex;align-items:center;gap:12px;padding:4px 0;
  font-family:var(--f-head);font-weight:600;font-size:14.5px;line-height:1.3;letter-spacing:.01em;color:var(--deep);text-decoration:none;
  background:linear-gradient(var(--teal),var(--teal)) 0 100%/22px 2px no-repeat;
  transition:background-size .4s var(--ease),color .25s ease;
}
:is(#crest-resources,#rs-hub,#cu-stories,#calc-tools) .rs-more__go{
  display:flex;flex:none;align-items:center;justify-content:center;width:32px;height:32px;border-radius:10px;
  background:rgba(0,209,193,.14);color:var(--teal-dark);transition:background-color .3s ease,color .3s ease;
}
:is(#crest-resources,#rs-hub,#cu-stories,#calc-tools) .rs-more__arrow{display:block;width:14px;height:9px;fill:currentColor;transform:rotate(-45deg);transition:transform .4s var(--ease);}
#crest-resources .rs-item:hover .rs-more__go{background:var(--deep);color:var(--teal);}
:is(#crest-resources,#rs-hub,#cu-stories,#calc-tools) a.rs-more:hover{color:var(--teal-dark);text-decoration:none;background-size:calc(100% - 44px) 2px;}
:is(#crest-resources,#rs-hub,#cu-stories,#calc-tools) a.rs-more:hover .rs-more__go{background:#C8F03C;color:var(--deep);}
:is(#crest-resources,#rs-hub,#cu-stories,#calc-tools) a.rs-more:hover .rs-more__arrow{transform:none;}
:is(#crest-resources,#rs-hub,#cu-stories,#calc-tools) a.rs-more:focus{outline:none;}
:is(#crest-resources,#rs-hub,#cu-stories,#calc-tools) a.rs-more:focus-visible{outline:3px solid var(--teal);outline-offset:4px;border-radius:6px;}
:is(#crest-resources,#rs-hub,#cu-stories,#calc-tools) .rs-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;}
@media (prefers-reduced-motion:reduce){ #crest-resources a.rs-more,#crest-resources .rs-more__go,#crest-resources .rs-more__arrow{transition:none;} }

/* ==========================================================================
   "PLANNING A PROJECT": THE FORM CARD, exactly as in the hero - the offer, its four points and the company logos on Teal Dark,
   then the form on White, all inside the same soft frame (drawn in Deep here, as the section is light).
   (The rules below are the hero card's own, as copied for the pop-up.)
   ========================================================================== */
#crest-ask .ch-side :where(ul,li){margin:0;padding:0;list-style:none;}
#crest-ask .ch-side li::marker{content:none;}
#crest-ask .ch-side img{max-width:none;border:0;}
#crest-ask .ch-side svg{display:block;overflow:visible;}
#crest-ask .ch-pt{display:grid;grid-template-columns:22px minmax(0,1fr);column-gap:10px;align-items:center;
  font-family:var(--f-body);font-weight:400;font-size:clamp(14.5px,.15vw + 12.5px,16px);line-height:1.35;color:rgba(246,244,239,.94);}
#crest-ask .ch-txt{display:block;white-space:nowrap;}
#crest-ask .ch-tick{display:flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:rgba(0,209,193,.2);}
#crest-ask .ch-tick svg{width:12px;height:12px;}
#crest-ask .ch-tick polygon{fill:var(--teal);}
#crest-ask .ch-side{overflow:hidden;border-radius:18px;
  box-shadow:0 0 0 14px rgba(246,244,239,.07),0 0 0 15px rgba(246,244,239,.16);   /* the soft frame around the card */
  animation:ch-fade .7s .55s ease both;}
#crest-ask .ch-offer{padding:clamp(16px,1.5vw,20px) clamp(20px,1.8vw,26px);background:var(--teal-dark);}
#crest-ask .ch-offer__title{text-align:center;font-family:var(--f-head);font-weight:700;font-size:clamp(15.5px,.3vw + 12.5px,17px);line-height:1.25;letter-spacing:-.01em;text-wrap:balance;color:var(--white);}
#crest-ask .ch-offer__points{display:grid;row-gap:5px;margin-top:9px;}
#crest-ask .ch-offer .ch-pt{font-size:14px;color:var(--white);}
#crest-ask .ch-offer .ch-tick{background:rgba(255,255,255,.18);}
#crest-ask .ch-offer .ch-tick polygon{fill:var(--white);}
#crest-ask .ch-offer .ch-txt{white-space:normal;}
#crest-ask .ch-offer__points{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px;}
#crest-ask .ch-logos__head{margin-top:14px;text-align:center;font-family:var(--f-head);font-weight:700;font-size:11.5px;line-height:1.2;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.72);}
#crest-ask .ch-logos__head + .ch-logos{margin-top:8px;}
#crest-ask .ch-logos{margin-top:12px;overflow:hidden;}
#crest-ask .ch-logos ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(46px,1fr));gap:8px;}
#crest-ask .ch-logos.is-slider ul{display:flex;gap:0;transition:transform .7s cubic-bezier(.65,0,.35,1);}
#crest-ask .ch-logos.is-slider ul.no-anim{transition:none;}
#crest-ask .ch-logos.is-slider li{flex:none;width:calc((100% - 24px) / 4);margin-right:8px;}
#crest-ask .ch-logos li{display:flex;align-items:center;justify-content:center;min-width:0;height:46px;
  padding:4px 6px;border-radius:9px;background:var(--white);}
#crest-ask .ch-logos img{display:block;width:auto;height:auto;max-width:100%;max-height:38px;object-fit:contain;}
#crest-ask .ch-side{box-shadow:0 0 0 14px rgba(14,42,51,.045),0 0 0 15px rgba(14,42,51,.1),0 40px 70px -40px rgba(14,42,51,.45);animation:none;margin:15px;}
@media (max-width:720px){
  #crest-ask .ch-offer__points{grid-template-columns:minmax(0,1fr);}   /* phones: the four points one under another, as in the hero */
  #crest-ask .ch-pt{font-size:clamp(12px,3.1vw,15px);column-gap:8px;align-items:start;}
  #crest-ask .ch-offer .ch-pt{font-size:14px;}
}

/* ==========================================================================
   FREE CONSULTATION: the two buttons on the Teal Dark panel at the end of "how it works" - the first in Lime, the second
   see-through with a Lime outline and white lettering (as wherever two buttons sit together on a dark background).
   When the panel is too narrow for both side by side, they stack, each the panel's full width.
   ========================================================================== */
#crest-consult .cs-talk__actions{display:flex;flex-wrap:wrap;gap:10px;width:100%;}
#crest-consult .cs-talk__actions a.cs-btn{flex:1 1 auto;}
#crest-consult a.cs-btn.cs-btn--ghost,#crest-consult a.cs-btn.cs-btn--ghost:visited,#crest-consult a.cs-btn.cs-btn--ghost:focus{
  border:1.5px solid rgba(200,240,60,.75);background:transparent;color:#FFFFFF;box-shadow:none;
}
#crest-consult a.cs-btn.cs-btn--ghost:hover{border-color:#C8F03C;background:#C8F03C;color:#0E2A33;box-shadow:0 10px 26px -12px rgba(200,240,60,.65);}

/* ==========================================================================
   HERO PHOTOS: the sliding photos show a little more - sharper, under a lighter wash - yet the wash stays deepest
   behind the headline and points on the left, so the words read as clearly as before; the form card is solid.
   ========================================================================== */
#crest-hero{--photo-blur:1.5px;--slide-time:3s;}   /* each photo stays 3 seconds */
#crest-hero .ch-slides::after{
  background:
    linear-gradient(100deg,rgba(14,42,51,.9) 0%,rgba(14,42,51,.84) 42%,rgba(14,42,51,.74) 100%),
    linear-gradient(to bottom,rgba(14,42,51,.25),rgba(14,42,51,0) 30%,rgba(14,42,51,0) 75%,rgba(14,42,51,.3));
}
@media (max-width:1100px){
  /* stacked: the words run the full width, so the wash is even across */
  #crest-hero .ch-slides::after{background:rgba(14,42,51,.86);}
}

/* ==========================================================================
   DIASPORA 2. REPUTABLE PROJECT MANAGERS FOR KENYANS BUILDING FROM ABROAD  (diaspora.php)
   On White, after the logos and figures: the title centred on two lines (the second in Teal Dark) under the small label, the opening
   sentence as a bold lead, then one readable column of plain paragraphs. The six questions sit on a Deep panel in two columns, a Teal
   question mark beside each, the measuring scale along its foot; "This is where Crest Cost Consultants comes in." as a Teal Dark statement.
   ========================================================================== */
#crest-abroad{
  --deep:#0E2A33; --teal:#00D1C1; --teal-dark:#0B7A72; --charcoal:#1B1F22; --paper:#F6F4EF; --white:#FFFFFF;
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --gutter:clamp(20px,5vw,80px);
  position:relative;width:100%;
  padding:clamp(45px,4.9vw,73px) 0;
  background:var(--white);color:var(--charcoal);
  font-family:var(--f-body);-webkit-font-smoothing:antialiased;
}
#crest-abroad *,#crest-abroad *::before,#crest-abroad *::after{box-sizing:border-box;}
#crest-abroad h2,#crest-abroad p,#crest-abroad ul,#crest-abroad li{margin:0;padding:0;border:0;list-style:none;text-transform:none;letter-spacing:normal;text-shadow:none;}
#crest-abroad .ab-wrap{width:100%;max-width:calc(1190px + 2 * var(--gutter));margin:0 auto;padding:0 var(--gutter);}
#crest-abroad .ab-body,#crest-abroad .ab-qs{max-width:940px;margin-left:auto;margin-right:auto;}   /* one readable column; the photo row runs wider */

/* the title, as on the home page */
#crest-abroad .ab-title{
  max-width:min(100%,1120px);margin:0 auto clamp(22px,2.4vw,30px);text-align:center;text-wrap:balance;
  font-family:var(--f-head);font-weight:700;font-size:clamp(26px,2.65vw,38px);line-height:1.14;letter-spacing:-.02em;color:var(--deep);
}
#crest-abroad .ab-title span{display:block;color:var(--teal-dark);}
#crest-abroad .ab-title::before{
  content:"Crest Cost Consultants";content:"Crest Cost Consultants" / "";
  display:block;width:-moz-fit-content;width:fit-content;margin:0 auto 14px;padding-left:40px;
  background:linear-gradient(currentColor,currentColor) left center/28px 2px no-repeat;
  font-family:var(--f-body);font-weight:700;font-size:12.5px;line-height:1.3;letter-spacing:.22em;text-transform:uppercase;color:var(--teal-dark);
}
/* the opening sentence */
#crest-abroad .ab-lead{
  max-width:780px;margin:0 auto clamp(32px,3.6vw,48px);text-align:center;text-wrap:balance;
  font-family:var(--f-head);font-weight:700;font-size:clamp(18px,1.5vw,22px);line-height:1.45;letter-spacing:-.01em;color:var(--deep);
}

/* the paragraphs */
#crest-abroad .ab-body p{font-size:clamp(15px,1.1vw,16px);line-height:1.65;color:rgba(27,31,34,.72);text-align:justify;text-justify:inter-word;}
#crest-abroad .ab-body p + p{margin-top:1.1em;}

/* the questions */
#crest-abroad .ab-qs{
  position:relative;overflow:hidden;margin:clamp(36px,4vw,52px) auto;
  padding:clamp(28px,3.4vw,44px) clamp(22px,3.4vw,44px) clamp(38px,4.2vw,54px);border-radius:24px;background:var(--deep);
  box-shadow:0 40px 80px -50px rgba(14,42,51,.7);
}
#crest-abroad .ab-qs::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:16px;opacity:.3;pointer-events:none;
  background:
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 60px) 0 100%/100% 16px no-repeat,
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 12px) 0 100%/100% 8px no-repeat;
}
#crest-abroad .ab-qs__lead{
  text-align:center;font-family:var(--f-head);font-weight:700;font-size:clamp(17px,1.35vw,20px);line-height:1.4;letter-spacing:-.01em;color:var(--white);
}
#crest-abroad .ab-qs__list{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(24px,3.4vw,48px);
  margin-top:clamp(20px,2.4vw,28px);border-top:1px solid rgba(246,244,239,.16);
}
#crest-abroad .ab-qs__list li{
  display:grid;grid-template-columns:28px minmax(0,1fr);column-gap:14px;align-items:start;padding:16px 0;
  border-bottom:1px solid rgba(246,244,239,.12);
  font-size:clamp(15px,1.08vw,16px);line-height:1.55;color:rgba(246,244,239,.92);
}
#crest-abroad .ab-q{
  display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:var(--teal);
  font-family:var(--f-head);font-weight:700;font-size:15px;line-height:1;color:var(--deep);
}

/* the turn: a Teal Dark statement, centred */
#crest-abroad .ab-pivot{
  margin:clamp(36px,4vw,52px) 0 clamp(18px,2vw,24px);text-align:center;text-wrap:balance;
  font-family:var(--f-head);font-weight:700;font-size:clamp(21px,2vw,29px);line-height:1.3;letter-spacing:-.018em;color:var(--teal-dark);
}
#crest-abroad .ab-pivot::after{content:"";display:block;width:56px;height:4px;margin:16px auto 0;border-radius:4px;background:var(--teal);}

/* tablets and phones: the paragraphs set left; the questions one under another */
@media (max-width:900px){
  #crest-abroad .ab-body p{text-align:left;-webkit-hyphens:manual;hyphens:manual;}
}
@media (max-width:700px){
  #crest-abroad .ab-qs__list{grid-template-columns:minmax(0,1fr);}
  #crest-abroad .ab-qs{border-radius:20px;}
}

/* the photo beside the opening paragraphs: plain and rounded with a soft shadow (as in the home page intro), exactly as tall as the words
   on desktop; above them, whole at 16:9, on tablets and phones */
#crest-abroad .ab-story{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:clamp(36px,4.6vw,72px);align-items:stretch;}
#crest-abroad .ab-story .ab-body{display:flex;flex-direction:column;justify-content:center;max-width:none;margin:0;}
#crest-abroad .ab-photo{position:relative;min-height:320px;margin:0;}
#crest-abroad .ab-photo img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;border:0;border-radius:20px;box-shadow:0 24px 48px -28px rgba(14,42,51,.5);}
@media (max-width:1000px){
  #crest-abroad .ab-story{grid-template-columns:minmax(0,1fr);gap:28px;}
  #crest-abroad .ab-photo{min-height:0;}
  #crest-abroad .ab-photo img{position:relative;inset:auto;height:auto;aspect-ratio:16/9;}
}

/* ==========================================================================
   DIASPORA 3. QUANTITY SURVEYORS FOR KENYANS BUILDING FROM ABROAD WHO UNDERSTAND HOW PROJECTS BACK HOME GO WRONG  (diaspora.php)
   - the title centred on Paper, two lines (the second in Teal Dark) under the small label;
   - the problem as two halves of the page, as in "One Underlying Concern" on the home page: the opening words larger on Paper with the
     question under them as a Teal Dark statement, the two paragraphs on Teal Dark beside them;
   - the four mechanisms on Deep: the first sentence of the line above them as the heading, the rest in Teal; the cards two by two,
     the icon beside the words (one under another on small tablets and phones, the icon on top on phones);
   - a photo beside the closing paragraphs, exactly as tall as the words; "The difference is simple." leads the last one.
   ========================================================================== */
#crest-wrong{
  --deep:#0E2A33; --teal:#00D1C1; --teal-dark:#0B7A72; --lime:#C8F03C; --charcoal:#1B1F22; --paper:#F6F4EF; --white:#FFFFFF;
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --gutter:clamp(20px,5vw,80px);
  position:relative;width:100%;background:var(--paper);color:var(--charcoal);
  font-family:var(--f-body);-webkit-font-smoothing:antialiased;
}
#crest-wrong *,#crest-wrong *::before,#crest-wrong *::after{box-sizing:border-box;}
#crest-wrong h2,#crest-wrong p,#crest-wrong ul,#crest-wrong li,#crest-wrong figure{margin:0;padding:0;border:0;list-style:none;text-transform:none;letter-spacing:normal;text-shadow:none;}
#crest-wrong .wr-wrap{width:100%;max-width:calc(1190px + 2 * var(--gutter));margin:0 auto;padding:0 var(--gutter);}

/* the title */
#crest-wrong .wr-head{padding:clamp(45px,4.9vw,73px) var(--gutter) clamp(32px,3.6vw,48px);}
#crest-wrong .wr-title{
  max-width:1120px;margin:0 auto;text-align:center;text-wrap:balance;
  font-family:var(--f-head);font-weight:700;font-size:clamp(26px,2.65vw,38px);line-height:1.14;letter-spacing:-.02em;color:var(--deep);
}
#crest-wrong .wr-title span{display:block;color:var(--teal-dark);}
#crest-wrong .wr-title::before{
  content:"Crest Cost Consultants";content:"Crest Cost Consultants" / "";
  display:block;width:-moz-fit-content;width:fit-content;margin:0 auto 14px;padding-left:40px;
  background:linear-gradient(currentColor,currentColor) left center/28px 2px no-repeat;
  font-family:var(--f-body);font-weight:700;font-size:12.5px;line-height:1.3;letter-spacing:.22em;text-transform:uppercase;color:var(--teal-dark);
}

/* the two halves: each half's words reach up to 660px either side of the page's centre */
#crest-wrong .wr-halves{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
#crest-wrong .wr-half{display:flex;flex-direction:column;justify-content:center;padding-top:clamp(40px,4.6vw,68px);padding-bottom:clamp(40px,4.6vw,68px);}
#crest-wrong .wr-half--number{padding-left:max(var(--gutter),calc(100% - 660px));padding-right:clamp(28px,3.6vw,56px);background:var(--white);}
#crest-wrong .wr-half--problem{padding-left:clamp(28px,3.6vw,56px);padding-right:max(var(--gutter),calc(100% - 660px));background:var(--teal-dark);}
#crest-wrong .wr-open{font-size:clamp(17px,1.35vw,19.5px);line-height:1.65;color:var(--charcoal);}
#crest-wrong .wr-ask{
  margin-top:clamp(22px,2.4vw,30px);padding-top:clamp(20px,2.2vw,26px);border-top:3px solid var(--teal);
  font-family:var(--f-head);font-weight:700;font-size:clamp(23px,2.2vw,32px);line-height:1.22;letter-spacing:-.02em;text-wrap:balance;color:var(--teal-dark);
}
#crest-wrong .wr-half--problem p{font-size:clamp(15px,1.1vw,16px);line-height:1.7;color:rgba(255,255,255,.94);}   /* set left: in a half-width column, justified lines leave wide gaps */
#crest-wrong .wr-half--problem p + p{margin-top:1.1em;}

/* the four mechanisms */
#crest-wrong .wr-mechs{position:relative;padding:clamp(50px,5.6vw,84px) 0 clamp(58px,6.2vw,92px);background:var(--deep);}
#crest-wrong .wr-mechs::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:16px;opacity:.3;pointer-events:none;
  background:
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 60px) 0 100%/100% 16px no-repeat,
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 12px) 0 100%/100% 8px no-repeat;
}
#crest-wrong .wr-mechs__intro{
  max-width:900px;margin:0 auto;text-align:center;
  font-family:var(--f-head);font-weight:600;font-size:clamp(16px,1.3vw,19px);line-height:1.45;color:var(--teal);
}
#crest-wrong .wr-mechs__lead{
  display:block;margin-bottom:12px;text-wrap:balance;
  font-weight:700;font-size:clamp(23px,2.3vw,33px);line-height:1.22;letter-spacing:-.02em;color:var(--white);
}
#crest-wrong .wr-mechs__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,1.8vw,24px);max-width:1100px;margin:clamp(36px,4vw,56px) auto 0;}   /* two by two: room for the words */
#crest-wrong .wr-mech{
  display:grid;grid-template-columns:52px minmax(0,1fr);gap:22px;align-items:start;padding:clamp(26px,2.6vw,36px);   /* the icon beside the words, as on the home page */
  border:1px solid rgba(246,244,239,.12);border-top:3px solid var(--teal);border-radius:18px;background:rgba(255,255,255,.04);
  transition:border-color .3s ease,background-color .3s ease;
}
#crest-wrong .wr-mech:hover{border-color:rgba(0,209,193,.5);border-top-color:var(--teal);background:rgba(0,209,193,.06);}
#crest-wrong .wr-mech__ico{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:14px;background:rgba(0,209,193,.12);color:var(--teal);}
#crest-wrong .wr-mech__ico svg{display:block;width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
#crest-wrong .wr-mech p{font-size:clamp(14.5px,1vw,15.5px);line-height:1.65;color:rgba(246,244,239,.78);}
#crest-wrong .wr-mech__name{
  display:block;margin-bottom:10px;
  font-family:var(--f-head);font-weight:700;font-size:clamp(17px,1.3vw,19px);line-height:1.3;letter-spacing:-.01em;color:var(--white);
}

/* the closing: the photo beside the paragraphs */
#crest-wrong .wr-close{padding:clamp(50px,5.6vw,84px) 0;background:var(--white);}
#crest-wrong .wr-close__row{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(36px,4.6vw,72px);align-items:stretch;}
#crest-wrong .wr-photo{position:relative;min-height:320px;}
#crest-wrong .wr-photo img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;border:0;border-radius:20px;box-shadow:0 24px 48px -28px rgba(14,42,51,.5);}
#crest-wrong .wr-close__copy{display:flex;flex-direction:column;justify-content:center;}
#crest-wrong .wr-close__copy p{font-size:clamp(15px,1.1vw,16px);line-height:1.65;color:rgba(27,31,34,.72);}
#crest-wrong .wr-close__copy p + p{margin-top:1.1em;}
#crest-wrong .wr-close__copy strong{font-weight:700;color:var(--teal-dark);}
#crest-wrong .wr-q{font-style:italic;color:var(--deep);}
#crest-wrong .wr-close__copy .wr-last{margin-top:1.6em;padding-top:1.4em;border-top:1px solid rgba(14,42,51,.12);}
#crest-wrong .wr-last strong{display:block;margin-bottom:6px;font-family:var(--f-head);font-size:clamp(20px,1.8vw,26px);line-height:1.3;letter-spacing:-.015em;color:var(--teal-dark);}

/* tablets and phones: the halves and the photo row one above another; the paragraphs set left */
@media (max-width:900px){
  #crest-wrong .wr-halves{grid-template-columns:minmax(0,1fr);}
  #crest-wrong .wr-half--number,#crest-wrong .wr-half--problem{padding-left:var(--gutter);padding-right:var(--gutter);}
  #crest-wrong .wr-close__row{grid-template-columns:minmax(0,1fr);gap:28px;}
  #crest-wrong .wr-photo{min-height:0;}
  #crest-wrong .wr-photo img{position:relative;inset:auto;height:auto;aspect-ratio:16/9;}
}
@media (max-width:760px){
  #crest-wrong .wr-mechs__list{grid-template-columns:minmax(0,1fr);}   /* one under another */
}
@media (max-width:640px){
  #crest-wrong .wr-mech{grid-template-columns:minmax(0,1fr);gap:18px;}   /* phones: the icon above the words */
}
@media (prefers-reduced-motion:reduce){ #crest-wrong .wr-mech{transition:none;} }

/* ==========================================================================
   DIASPORA HERO: its longer headline and line kept level with the form card, as on the home page.
   On laptops and desktops the line runs the full width of its column; the five points stay one list, as on the home page.
   ========================================================================== */
@media (min-width:1101px){
  .crest-diaspora #crest-hero .ch-sub,:is(.crest-developers,.crest-contractors) #crest-hero .ch-sub,.crest-contractors #crest-hero .ch-sub{max-width:none;}   /* the Developers and Contractors heroes too */
}

/* ==========================================================================
   DIASPORA 4. PROJECT MANAGEMENT SERVICES FOR KENYANS BUILDING FROM ABROAD  (diaspora.php)
   Laid out like the Services section on the home page: on Paper, the title centred on two lines (the second in Teal Dark) and its line;
   then each stage: its name on a Deep panel with the measuring scale along its foot, held in view beside its services while they scroll;
   the services as white cards, two per row (a stage with an odd number opens with one wide card), each number in a small Deep square.
   Tablets: the stage panel above its services. Phones: one card under another.
   ========================================================================== */
#crest-pm{
  --deep:#0E2A33; --teal:#00D1C1; --teal-dark:#0B7A72; --charcoal:#1B1F22; --paper:#F6F4EF; --white:#FFFFFF;
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --gutter:clamp(20px,5vw,80px);
  --ease:cubic-bezier(.16,.84,.24,1);
  position:relative;width:100%;padding:clamp(50px,5.6vw,84px) 0 clamp(60px,6.4vw,100px);
  background:var(--paper);color:var(--charcoal);
  font-family:var(--f-body);-webkit-font-smoothing:antialiased;
}
#crest-pm *,#crest-pm *::before,#crest-pm *::after{box-sizing:border-box;}
#crest-pm h2,#crest-pm h3,#crest-pm h4,#crest-pm p{margin:0;padding:0;border:0;text-transform:none;letter-spacing:normal;text-shadow:none;}
#crest-pm .pm-wrap{width:100%;max-width:calc(1190px + 2 * var(--gutter));margin:0 auto;padding:0 var(--gutter);}
#crest-pm .pm-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;}

/* the title and its line */
#crest-pm .pm-head{max-width:1120px;margin:0 auto clamp(40px,4.6vw,64px);text-align:center;}
#crest-pm .pm-title{
  text-wrap:balance;font-family:var(--f-head);font-weight:700;font-size:clamp(26px,2.65vw,38px);line-height:1.14;letter-spacing:-.02em;color:var(--deep);
}
#crest-pm .pm-title span{display:block;color:var(--teal-dark);}
#crest-pm .pm-title::before{
  content:"Crest Cost Consultants";content:"Crest Cost Consultants" / "";
  display:block;width:-moz-fit-content;width:fit-content;margin:0 auto 14px;padding-left:40px;
  background:linear-gradient(currentColor,currentColor) left center/28px 2px no-repeat;
  font-family:var(--f-body);font-weight:700;font-size:12.5px;line-height:1.3;letter-spacing:.22em;text-transform:uppercase;color:var(--teal-dark);
}
#crest-pm .pm-sub{max-width:640px;margin:16px auto 0;font-size:clamp(15.5px,1.15vw,17px);line-height:1.6;color:rgba(27,31,34,.75);}

/* each stage: the Deep panel beside its cards */
#crest-pm .pm-phase{display:grid;grid-template-columns:minmax(0,.32fr) minmax(0,1fr);gap:clamp(18px,2vw,28px);align-items:start;}
#crest-pm .pm-phase + .pm-phase{margin-top:clamp(36px,4.2vw,56px);}
#crest-pm .pm-phase__head{
  position:sticky;top:120px;overflow:hidden;padding:clamp(28px,2.8vw,40px) clamp(24px,2.6vw,36px) clamp(42px,3.8vw,54px);border-radius:22px;background:var(--deep);
}
#crest-pm .pm-phase__head::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:14px;opacity:.35;pointer-events:none;
  background:
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 60px) 0 100%/100% 14px no-repeat,
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 12px) 0 100%/100% 7px no-repeat;
}
#crest-pm .pm-phase__name{font-family:var(--f-head);font-weight:700;font-size:clamp(22px,1.9vw,28px);line-height:1.2;letter-spacing:-.02em;color:var(--white);}
#crest-pm .pm-phase__name::after{content:"";display:block;width:44px;height:3px;margin-top:16px;border-radius:3px;background:var(--teal);}

/* the services */
#crest-pm .pm-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(14px,1.6vw,20px);}
#crest-pm .pm-card:first-child:nth-last-child(odd){grid-column:1 / -1;}   /* an odd number: the first card runs the full width */
#crest-pm .pm-card{
  padding:clamp(24px,2.4vw,32px);border:1px solid rgba(14,42,51,.07);border-radius:20px;background:var(--white);
  transition:border-color .3s ease,box-shadow .4s var(--ease),transform .4s var(--ease);
}
#crest-pm .pm-card:hover{border-color:rgba(11,122,114,.35);box-shadow:0 22px 44px -30px rgba(14,42,51,.45);transform:translateY(-3px);}
#crest-pm .pm-name{
  display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:14px;align-items:center;margin-bottom:14px;
  font-family:var(--f-head);font-weight:700;font-size:clamp(16.5px,1.25vw,18.5px);line-height:1.3;letter-spacing:-.012em;color:var(--deep);
}
#crest-pm .pm-num{
  display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:var(--deep);
  font-size:16px;font-weight:700;letter-spacing:0;color:var(--teal);
}
#crest-pm .pm-card p{font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.65;color:rgba(27,31,34,.72);}

/* tablets: the stage panel above its services */
@media (max-width:1000px){
  #crest-pm .pm-phase{grid-template-columns:minmax(0,1fr);}
  #crest-pm .pm-phase__head{position:relative;top:auto;}
}
/* phones: one card under another */
@media (max-width:640px){
  #crest-pm .pm-cards{grid-template-columns:minmax(0,1fr);}
  #crest-pm .pm-card{padding:24px 22px;}
}
@media (prefers-reduced-motion:reduce){
  #crest-pm .pm-card{transition:none;}
  #crest-pm .pm-card:hover{transform:none;}
}

/* ==========================================================================
   DIASPORA 5. WHAT KENYANS SAY ABOUT BUILDING WITH A QS ON THEIR SIDE  (diaspora.php)
   Dressed by the home page's "See What Our Clients Say" styles (HOME 6). Only differences: White behind it (the section
   above is on Paper), and who said it follows a dash, as on the home page.
   ========================================================================== */
#crest-say{background:#FFFFFF;}
#crest-say figcaption::before,#crest-say-again figcaption::before{content:"\2014\00A0";}   /* the second copy, near the close of the page, stays on Paper */

/* ==========================================================================
   DIASPORA 6. TALK TO US FROM WHEREVER YOU LIVE  (diaspora.php)
   Dressed by the home page's consultation styles (HOME 7, #crest-consult). Only differences: space above it (on the home page it
   follows the client quotes on the same Paper; here the quotes above are on White), the title's second line in Teal Dark,
   the card's three paragraphs spaced apart with the offer itself in Deep, and the call line with its two links in the Teal Dark panel.
   ========================================================================== */
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-consult{padding-top:clamp(60px,6.4vw,100px);}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-consult .cs-title span{display:block;color:var(--teal-dark);}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-consult .cs-offer + .cs-offer{margin-top:clamp(14px,1.4vw,18px);}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-consult .cs-talk p.cs-talk__line{font-family:var(--f-body);font-weight:500;font-size:clamp(15px,1.1vw,16px);line-height:1.7;color:rgba(255,255,255,.9);}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-consult a.cs-link,:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-consult a.cs-link:visited{
  color:var(--white);font-weight:700;white-space:nowrap;
  text-decoration:underline;text-decoration-color:#C8F03C;text-decoration-thickness:2px;text-underline-offset:5px;
  transition:color .2s ease;
}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-consult a.cs-link:hover{color:#C8F03C;}
@media (max-width:640px){
  :is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-consult .cs-talk{align-items:flex-start;text-align:left;}
}

/* ==========================================================================
   DIASPORA: PARAGRAPHS AT THE HOME PAGE'S SIZE
   As on the home page, every running paragraph is the same size and colour (15-16px, soft charcoal, regular weight):
   the opening line under "Reputable Project Managers...", "You may already have a number..." and the line under
   "Project Management Services..." had been set larger.
   ========================================================================== */
#crest-abroad .ab-lead{font-family:var(--f-body);font-weight:400;font-size:clamp(15px,1.1vw,16px);line-height:1.65;letter-spacing:normal;color:rgba(27,31,34,.72);}
#crest-wrong .wr-open{font-size:clamp(15px,1.1vw,16px);line-height:1.65;color:rgba(27,31,34,.72);}
#crest-pm .pm-sub{font-size:clamp(15px,1.1vw,16px);line-height:1.65;color:rgba(27,31,34,.72);}

/* ==========================================================================
   DIASPORA 7. WHY KENYANS ABROAD CAN TRUST OUR PROJECT MANAGEMENT SERVICES  (diaspora.php)
   Dressed by the home page's "Why Clients Trust" styles (#crest-trust), unchanged.
   ========================================================================== */

/* ==========================================================================
   DIASPORA 8. WHAT MAKES US DIFFERENT TO OTHER QUANTITY SURVEYORS WHO SERVE DIASPORA CLIENTS  (diaspora.php, #crest-edge)
   A Deep band between the white sections around it. The title centred on two lines (the second in Teal) under the label;
   the six points as numbered rows: a large outlined Teal number, the point's name, then its words, fine lines between the rows
   (on hover the number fills and a Teal line runs along the row's top). The six questions as small chips. Then the closing:
   its heading on the left, the paragraphs on the right, the last line in Teal.
   Tablets and phones: the number and name side by side, the words under them; the closing one column.
   ========================================================================== */
#crest-edge{
  --deep:#0E2A33; --teal:#00D1C1; --teal-dark:#0B7A72; --paper:#F6F4EF; --white:#FFFFFF;
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --gutter:clamp(20px,5vw,80px);
  --ease:cubic-bezier(.16,.84,.24,1);
  position:relative;width:100%;padding:clamp(60px,6.6vw,104px) 0;overflow:hidden;
  background:
    radial-gradient(60% 50% at 100% 0%,rgba(0,209,193,.10),transparent 70%),
    radial-gradient(50% 45% at 0% 100%,rgba(0,209,193,.06),transparent 70%),
    var(--deep);
  color:var(--paper);font-family:var(--f-body);-webkit-font-smoothing:antialiased;
}
#crest-edge *,#crest-edge *::before,#crest-edge *::after{box-sizing:border-box;}
#crest-edge h2,#crest-edge h3,#crest-edge p,#crest-edge ol,#crest-edge ul,#crest-edge li{margin:0;padding:0;border:0;list-style:none;background:none;text-transform:none;letter-spacing:normal;text-shadow:none;}
#crest-edge .eg-wrap{width:100%;max-width:calc(1120px + 2 * var(--gutter));margin:0 auto;padding:0 var(--gutter);}

/* the title and its line */
#crest-edge .eg-head{max-width:1120px;margin:0 auto clamp(40px,4.6vw,64px);text-align:center;}
#crest-edge .eg-title{font-family:var(--f-head);font-weight:700;font-size:clamp(26px,2.65vw,38px);line-height:1.14;letter-spacing:-.02em;text-wrap:balance;color:var(--white);}
#crest-edge .eg-title span{display:block;color:var(--teal);}
#crest-edge .eg-title::before{
  content:"Crest Cost Consultants";content:"Crest Cost Consultants" / "";
  display:block;width:-moz-fit-content;width:fit-content;margin:0 auto 14px;padding-left:40px;
  background:linear-gradient(currentColor,currentColor) left center/28px 2px no-repeat;
  font-family:var(--f-body);font-weight:700;font-size:12.5px;line-height:1.3;letter-spacing:.22em;text-transform:uppercase;color:var(--teal);
}
@media (min-width:1101px){ #crest-edge .eg-title{text-wrap:wrap;} }   /* the long first line stays whole: two lines */
#crest-edge .eg-sub{max-width:760px;margin:16px auto 0;text-wrap:balance;font-size:clamp(15px,1.1vw,16px);line-height:1.65;color:rgba(246,244,239,.78);}

/* the six points: numbered rows */
#crest-edge .eg-list{counter-reset:none;border-bottom:1px solid rgba(246,244,239,.12);}
#crest-edge .eg-row{
  position:relative;display:grid;grid-template-columns:clamp(72px,7vw,104px) minmax(0,.8fr) minmax(0,1.35fr);column-gap:clamp(20px,3vw,48px);align-items:start;
  padding:clamp(28px,3vw,40px) 0;border-top:1px solid rgba(246,244,239,.12);
}
#crest-edge .eg-row::before{
  content:"";position:absolute;left:0;top:-1px;width:0;height:2px;background:var(--teal);transition:width .6s var(--ease);
}
#crest-edge .eg-row:hover::before{width:100%;}
#crest-edge .eg-num{
  display:block;font-family:var(--f-head);font-weight:700;font-size:clamp(40px,4vw,58px);line-height:.95;letter-spacing:-.03em;color:var(--teal);
  transition:color .35s ease;
}
@supports ((-webkit-text-stroke:1px #000) or (text-stroke:1px #000)){
  #crest-edge .eg-num{color:transparent;-webkit-text-stroke:1.4px var(--teal);}
  #crest-edge .eg-row:hover .eg-num{color:var(--teal);}
}
#crest-edge .eg-name{
  padding-top:6px;font-family:var(--f-head);font-weight:600;font-size:clamp(18px,1.5vw,21px);line-height:1.3;letter-spacing:-.012em;text-wrap:balance;color:var(--white);
}
#crest-edge .eg-body{padding-top:6px;}
#crest-edge .eg-body p{font-size:clamp(15px,1.1vw,16px);line-height:1.7;color:rgba(246,244,239,.8);}
#crest-edge .eg-body p + p,#crest-edge .eg-asks + p{margin-top:.9em;}

/* the six questions: small chips */
#crest-edge .eg-asks{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px;}
#crest-edge .eg-asks li{
  display:inline-flex;align-items:center;gap:9px;padding:8px 15px 8px 9px;border:1px solid rgba(0,209,193,.32);border-radius:999px;
  background:rgba(0,209,193,.07);font-size:14.5px;font-weight:500;line-height:1.3;color:var(--white);
}
#crest-edge .eg-asks li::before{
  content:"?";display:flex;flex:none;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;
  background:var(--teal);font-family:var(--f-head);font-weight:700;font-size:11.5px;line-height:1;color:var(--deep);
}

/* the closing: heading on the left, paragraphs on the right */
#crest-edge .eg-close{
  display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.35fr);column-gap:clamp(20px,3vw,48px);align-items:start;   /* the same columns as the rows above */
  margin-top:clamp(44px,5vw,72px);padding-left:calc(clamp(72px,7vw,104px) + clamp(20px,3vw,48px));
}
#crest-edge .eg-close__head{font-family:var(--f-head);font-weight:700;font-size:clamp(23px,2.2vw,31px);line-height:1.2;letter-spacing:-.02em;text-wrap:balance;color:var(--white);}
#crest-edge .eg-close__head::after{content:"";display:block;width:48px;height:4px;margin-top:18px;border-radius:4px;background:var(--teal);}
#crest-edge .eg-close__copy p{font-size:clamp(15px,1.1vw,16px);line-height:1.7;color:rgba(246,244,239,.8);}
#crest-edge .eg-close__copy p + p{margin-top:1.1em;}
#crest-edge .eg-close__copy p.eg-end{
  margin-top:1.4em;font-family:var(--f-head);font-weight:700;font-size:clamp(17px,1.35vw,20px);line-height:1.4;letter-spacing:-.01em;text-wrap:balance;color:var(--teal);
}

/* tablets and phones */
@media (max-width:900px){
  #crest-edge .eg-row{grid-template-columns:auto minmax(0,1fr);column-gap:18px;row-gap:12px;align-items:center;}
  #crest-edge .eg-num{font-size:40px;}
  #crest-edge .eg-name{padding-top:0;}
  #crest-edge .eg-body{grid-column:1 / -1;padding-top:0;}
  #crest-edge .eg-close{grid-template-columns:minmax(0,1fr);row-gap:22px;padding-left:0;}
}
@media (max-width:520px){
  #crest-edge .eg-asks li{font-size:14px;}
}
@media (prefers-reduced-motion:reduce){
  #crest-edge .eg-row::before,#crest-edge .eg-num{transition:none;}
}

/* ==========================================================================
   DIASPORA 9. LOOKING FOR A PROJECT MANAGER IN KENYA WHO PROTECTS YOUR MONEY WHILE YOU BUILD FROM ABROAD?  (diaspora.php)
   Dressed by the home page's "Looking for Quantity Surveyors in Kenya..." styles (#crest-fit). Only difference: the line under the
   title is balanced, so its last word does not sit alone.
   ========================================================================== */
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-fit .wk-sub{text-wrap:balance;}

/* ==========================================================================
   DIASPORA 11. CHOOSING A QUANTITY SURVEYOR IN KENYA WHEN YOU LIVE ABROAD?  (diaspora.php)
   Dressed by the home page's comparison styles (#crest-compare). Only differences: the two lines under the title sit a little closer
   together, and the long first line of the title gets the room to stay whole on desktop (two lines in all).
   ========================================================================== */
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-compare .cp-sub + .cp-sub{margin-top:10px;}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-compare .cp-sub{text-wrap:balance;}
@media (min-width:1101px){
  :is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-compare .cp-head{max-width:1160px;}
  :is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-compare .cp-title{text-wrap:wrap;font-size:clamp(26px,2.3vw,34px);}   /* a touch smaller: its first line is the longest on the page */
}

/* ==========================================================================
   DIASPORA 12. PROJECT MANAGERS IN KENYA WHO HELP YOU FINISH THE HOUSE YOU PLANNED, WITHOUT THE SLEEPLESS NIGHTS  (diaspora.php)
   Dressed by the home page's "Win" styles (#crest-win). Added here: the line under the title (the same as the other sections' lines),
   the client's words in Teal Dark, the five points with a Teal Dark tick beside each, and the closing paragraph set off by a Teal rule.
   ========================================================================== */
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-win .wn-title{margin-bottom:0;}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-win .wn-sub{
  max-width:640px;margin:16px auto clamp(36px,4.4vw,60px);text-align:center;text-wrap:balance;
  font-size:clamp(15px,1.1vw,16px);line-height:1.65;color:rgba(27,31,34,.72);
}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-win .wn-q{font-weight:600;color:var(--teal-dark);}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-win .wn-copy p.wn-lead{font-family:var(--f-head);font-weight:700;font-size:clamp(17px,1.35vw,19px);line-height:1.35;letter-spacing:-.012em;text-align:left;color:var(--deep);}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-win .wn-list{margin:14px 0 0;padding:0;list-style:none;}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-win .wn-list li{
  display:grid;grid-template-columns:22px minmax(0,1fr);column-gap:12px;align-items:start;margin:0;padding:0 0 12px;list-style:none;
  font-size:clamp(15px,1.1vw,16px);line-height:1.6;color:rgba(27,31,34,.72);
}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-win .wn-tick{display:flex;align-items:center;justify-content:center;width:22px;height:22px;margin-top:2px;border-radius:50%;background:var(--teal-dark);}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-win .wn-tick svg{display:block;width:11px;height:11px;}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-win .wn-tick polygon{fill:var(--white);}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-win .wn-copy p.wn-last{margin-top:.9em;padding-left:18px;border-left:3px solid var(--teal);color:var(--charcoal);}
@media (min-width:1101px){
  :is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-win .wn-title{text-wrap:wrap;}
}

/* ==========================================================================
   DIASPORA 13. A QUANTITY SURVEYOR IN KENYA WHO TREATS YOUR MONEY AS WHAT IT IS: YEARS OF HARD WORK  (diaspora.php)
   Dressed by the home page's founder styles (#crest-founder), unchanged, except that the title's long first line keeps the room
   it needs on desktop, so the title stays on two lines.
   ========================================================================== */
@media (min-width:1101px){
  :is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-founder .fd-title{max-width:1120px;text-wrap:wrap;}
}

/* ==========================================================================
   DIASPORA 14. PROJECT MANAGERS IN KENYA WHO GUARANTEE THEIR WORK, EVEN WHEN YOU BUILD FROM ABROAD  (diaspora.php)
   Dressed by the home page's guarantee styles (#crest-guarantee). Added here: the line under the title, like the other sections'
   lines; and while the opening is the section's last part, no extra space under it. The long first line of the title keeps the room
   it needs on desktop, so the title stays on two lines.
   ========================================================================== */
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-guarantee .gt-head p.gt-intro{max-width:680px;margin:16px auto 0;text-wrap:balance;}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-guarantee .gt-head:last-child{margin-bottom:0;}
@media (min-width:1101px){
  :is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-guarantee .gt-head{max-width:1120px;}
  :is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-guarantee .gt-title{text-wrap:wrap;}
  :is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-guarantee .gt-lead,:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-guarantee .gt-head p:not(.gt-intro){max-width:820px;margin-left:auto;margin-right:auto;text-wrap:balance;}
}

/* the closing's own heading ("Why Starting Early Matters When You Build from Abroad"), like the panel's heading but in Deep on Paper,
   with the same short Teal bar under it; the paragraphs keep their home-page look */
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-guarantee .gt-close__head{
  margin-bottom:22px;text-align:center;text-wrap:balance;
  font-family:var(--f-head);font-weight:700;font-size:clamp(23px,2.2vw,32px);line-height:1.2;letter-spacing:-.02em;color:var(--deep);
}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-guarantee .gt-close__head::after{content:"";display:block;width:56px;height:4px;margin:18px auto 0;border-radius:4px;background:var(--teal);}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-guarantee .gt-close p + p:not(.gt-close__final){margin-top:1em;}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-guarantee .gt-close h3{margin:0 0 22px;padding:0;border:0;text-transform:none;}

/* ==========================================================================
   DIASPORA 15. THE TWO PROMISES, "AND IF THINGS STILL GO WRONG?" AND "WHAT YOU'RE REALLY GETTING"  (diaspora.php)
   Dressed by the home page's "The Guarantee Has Two Sides" styles (#crest-sides). Only differences: there is no title above the two
   promises here, so the first starts without a line over it; and the opening words of a paragraph that lead it are set in bold Deep,
   inside the paragraph.
   ========================================================================== */
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-sides .gs-side:first-child{border-top:0;padding-top:0;}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-sides .gs-body strong.gs-lede{font-family:var(--f-head);font-weight:700;color:var(--deep);}

/* ==========================================================================
   DIASPORA 16. FREQUENTLY ASKED QUESTIONS BY KENYANS ABROAD BEFORE HIRING A QUANTITY SURVEYOR IN KENYA  (diaspora.php)
   Dressed by the home page's FAQ styles (#crest-faq). Only difference: Paper behind it, as the promises above are on White
   (the question boxes stay white).
   ========================================================================== */
:is(.crest-diaspora,.crest-developers,.crest-contractors) :is(#crest-faq,#crest-faq-pm){background:var(--paper);}
@media (min-width:1101px){   /* the title runs wider than the questions, so it stays on two lines */
  :is(.crest-diaspora,.crest-developers,.crest-contractors) :is(#crest-faq,#crest-faq-pm) .fq-title{
    position:relative;left:50%;width:min(1120px,calc(100vw - 2 * var(--gutter)));max-width:none;
    margin-left:calc(min(1120px,calc(100vw - 2 * var(--gutter))) / -2);margin-right:0;text-wrap:wrap;
  }
}

/* ==========================================================================
   DIASPORA: PHONES AND TABLETS (iPhone, iPad, Android) - checked from 320px phones to 2560px screens
   - Touch screens: the form fields at 16px, so iPhone and iPad Safari do not zoom the page in when a field is tapped
     (it zooms on anything smaller); in the hero form and the booking pop-up.
   - The dots under the client quotes and the phone and WhatsApp links in "Talk to Us" get a larger tap area (unseen; they look the same).
   - iPhone and iPad Safari do not keep a background still while the page scrolls and stretch it instead: there the faint photo
     behind the founder section simply scrolls with it.
   ========================================================================== */
@media (hover:none) and (pointer:coarse){
  :is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-hero .ch-form input,:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-hero .ch-form textarea,:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-hero .ch-form select,
  body:has(.crest-diaspora,.crest-developers,.crest-contractors,.crest-our-story,.crest-areas-we-serve,.crest-resources-page,.crest-contact-us,.crest-about-us,.crest-case-studies,.crest-faqs,.crest-careers,.crest-project-cost-review,.crest-knowledge-base,.crest-cpd,.crest-calculators,.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) #crest-pop .ch-form input,body:has(.crest-diaspora,.crest-developers,.crest-contractors,.crest-our-story,.crest-areas-we-serve,.crest-resources-page,.crest-contact-us,.crest-about-us,.crest-case-studies,.crest-faqs,.crest-careers,.crest-project-cost-review,.crest-knowledge-base,.crest-cpd,.crest-calculators,.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) #crest-pop .ch-form textarea,body:has(.crest-diaspora,.crest-developers,.crest-contractors,.crest-our-story,.crest-areas-we-serve,.crest-resources-page,.crest-contact-us,.crest-about-us,.crest-case-studies,.crest-faqs,.crest-careers,.crest-project-cost-review,.crest-knowledge-base,.crest-cpd,.crest-calculators,.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) #crest-pop .ch-form select{font-size:16px;}
  :is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-hero .ch-form input[type="file"],body:has(.crest-diaspora,.crest-developers,.crest-contractors,.crest-our-story,.crest-areas-we-serve,.crest-resources-page,.crest-contact-us,.crest-about-us,.crest-case-studies,.crest-faqs,.crest-careers,.crest-project-cost-review,.crest-knowledge-base,.crest-cpd,.crest-calculators,.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) #crest-pop .ch-form input[type="file"]{font-size:14px;}
}
:is(#crest-say,#crest-say-again) button.rv-dot{position:relative;}
:is(#crest-say,#crest-say-again) button.rv-dot::after{content:"";position:absolute;left:-3px;right:-3px;top:-18px;bottom:-18px;}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-consult a.cs-link{padding:10px 0;}
@supports (-webkit-touch-callout:none){
  :is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-founder::before{background-attachment:scroll;}
}

/* ==========================================================================
   DIASPORA: WIDER LINES AND THE "FINISH THE HOUSE" LAYOUT
   - The line under "Looking for a Project Manager in Kenya..." and the two under "Choosing a Quantity Surveyor in Kenya..." run wider,
     so they read in fewer, longer lines.
   - "Project Managers in Kenya Who Help You Finish the House You Planned...": the opening paragraph and the lead-in across the top in
     a readable column; only the five points beside the photo; the closing paragraph below, in the same column.
   ========================================================================== */
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-fit .wk-sub{max-width:900px;text-wrap:pretty;}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-compare .cp-sub{max-width:900px;text-wrap:pretty;}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-win .wn-intro,:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-win .wn-outro{max-width:900px;margin-left:auto;margin-right:auto;}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-win .wn-intro{margin-bottom:clamp(28px,3.2vw,44px);}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-win .wn-intro p.wn-lead{margin-top:clamp(24px,2.6vw,34px);text-align:center;text-wrap:balance;}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-win .wn-outro{margin-top:clamp(32px,3.6vw,52px);}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-win .wn-outro p.wn-last{margin-top:0;}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-win .wn-row .wn-list{margin:0;}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-win .wn-row .wn-list li{padding:16px 0;border-top:1px solid rgba(14,42,51,.1);}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-win .wn-row .wn-list li:first-child{border-top:0;padding-top:0;}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-win .wn-row .wn-list li:last-child{padding-bottom:0;}

/* ==========================================================================
   DIASPORA: THE GUARANTEE AND THE PROMISES, SPREAD OUT
   - The three paragraphs under the guarantee's title run wider.
   - "Why Starting Early Matters...": its two paragraphs run wider and are justified (the heading, the lead line and the statement stay centred).
   - "What You're Really Getting": its paragraphs are justified (the heading and the four short lines stay centred).
   - The second promise opens with the same amount showing as the first; the list and the rest open with its round button.
   Phones and tablets: justified text goes back to plain left alignment, as everywhere on the site.
   ========================================================================== */
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-guarantee .gt-head p.gt-intro{max-width:1000px;text-wrap:pretty;}
@media (min-width:1101px){
  :is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-guarantee .gt-lead,:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-guarantee .gt-head p:not(.gt-intro){max-width:1000px;text-wrap:pretty;}
}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-guarantee .gt-close{max-width:1000px;}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-guarantee .gt-close p:not(.gt-close__lead):not(.gt-close__final){text-align:justify;text-justify:inter-word;}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-sides .gs-get p:not(.gs-motto){text-align:justify;text-justify:inter-word;}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-sides .gs-body .wh-more > .gs-ifs:first-child{margin-top:1em;}
@media (max-width:900px){
  :is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-guarantee .gt-close p:not(.gt-close__lead):not(.gt-close__final),
  :is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-sides .gs-get p:not(.gs-motto){text-align:left;}
}

/* ==========================================================================
   DIASPORA 12: the closing line of "Project Managers in Kenya Who Help You Finish the House You Planned..." as the section's
   closing statement: centred, in the heading font, a little larger, a short Teal bar above it.
   ========================================================================== */
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-win .wn-outro{max-width:860px;text-align:center;}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-win .wn-outro::before{content:"";display:block;width:56px;height:4px;margin:0 auto clamp(18px,2vw,24px);border-radius:4px;background:var(--teal);}
:is(.crest-diaspora,.crest-developers,.crest-contractors) #crest-win .wn-copy p.wn-last{
  padding:0;border:0;text-align:center;text-wrap:balance;
  font-family:var(--f-head);font-weight:600;font-size:clamp(17px,1.4vw,20px);line-height:1.55;letter-spacing:-.01em;color:var(--deep);
}

/* ==========================================================================
   DEVELOPERS 2. REPUTABLE PROJECT MANAGERS IN KENYA FOR DEVELOPERS  (developers.php)
   Dressed by the Diaspora page's "Reputable Project Managers..." styles (#crest-abroad). Only difference: the paragraphs after the photo
   row start a little below it.
   ========================================================================== */
#crest-abroad .ab-body--after{margin-top:clamp(28px,3.2vw,44px);}

/* ==========================================================================
   DEVELOPERS 3 AND 4  (developers.php)
   "Quantity Surveyors in Kenya Who Know Why Developments Stall" and "Project Management Services in Kenya for Property Developers" are
   dressed by the Diaspora page's #crest-wrong and #crest-pm styles. Added here: each service card's outcome line, set apart under a fine
   rule in Teal Dark, at the foot of the card.
   ========================================================================== */
#crest-pm .pm-card{display:flex;flex-direction:column;}
#crest-pm .pm-card p.pm-out{
  margin-top:auto;padding-top:14px;border-top:1px solid rgba(14,42,51,.1);
  font-family:var(--f-head);font-weight:600;font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.45;letter-spacing:-.005em;color:var(--teal-dark);
}
#crest-pm .pm-card p + p.pm-out{margin-top:16px;}
@supports (display:grid){ #crest-pm .pm-card > p:not(.pm-out){flex:1 0 auto;} }   /* the outcome lines of the cards in a row sit level */

/* ==========================================================================
   DEVELOPERS 7. PROJECT MANAGERS IN KENYA WHO PROTECT DEVELOPERS FROM THE COST NOBODY SEES COMING  (developers.php)
   Dressed by the numbered rows styles (#crest-edge). Added here: the three opening paragraphs in a readable column before the rows
   (justified on desktop, set left on phones and tablets), and the closing statement centred after them, a short Teal bar above it.
   ========================================================================== */
#crest-edge .eg-intro{max-width:900px;margin:0 auto clamp(40px,4.6vw,60px);}
#crest-edge .eg-intro p{font-size:clamp(15px,1.1vw,16px);line-height:1.7;color:rgba(246,244,239,.84);text-align:justify;text-justify:inter-word;}
#crest-edge .eg-intro p + p{margin-top:1.1em;}
#crest-edge p.eg-closing{
  max-width:900px;margin:clamp(44px,5vw,64px) auto 0;text-align:center;text-wrap:balance;
  font-family:var(--f-head);font-weight:600;font-size:clamp(17px,1.4vw,20px);line-height:1.55;letter-spacing:-.01em;color:var(--white);
}
#crest-edge p.eg-closing::before{content:"";display:block;width:56px;height:4px;margin:0 auto clamp(18px,2vw,24px);border-radius:4px;background:var(--teal);}
@media (max-width:900px){
  #crest-edge .eg-intro p{text-align:left;}
}
/* "Who we work best with" on the Developers page has two paragraphs: the usual gap between them */
:is(.crest-developers,.crest-contractors) #crest-fit .wk-copy p + p{margin-top:1em;}

/* ==========================================================================
   DEVELOPERS 2. REPUTABLE PROJECT MANAGERS IN KENYA FOR DEVELOPERS: the photo on the left, every paragraph on the right
   After the title and its line: the photo (whole) on the left; on the right the first paragraph, level with the photo, then the round
   "Read more" button that opens the other four. Tablets and phones: the photo first, then the paragraphs.
   ========================================================================== */
#crest-abroad .ab-story--more{align-items:start;grid-template-columns:minmax(0,1fr) minmax(0,1fr);}   /* the photo runs level with the two paragraphs that show */
@media (max-width:1000px){ #crest-abroad .ab-story--more{grid-template-columns:minmax(0,1fr);} }
#crest-abroad .ab-story--more .ab-photo{align-self:start;}
#crest-abroad .ab-story--more .ab-body{display:block;}
#crest-abroad .ab-story--more .ab-body > p + p{margin-top:1.1em;}
#crest-abroad .ab-story .wh-more > p:first-child{margin-top:1.1em;}
:is(.crest-developers,.crest-contractors) #crest-abroad .ab-title{margin-bottom:clamp(32px,3.6vw,48px);}   /* the opening line now sits beside the photo */
#crest-abroad .ab-story{--ease:cubic-bezier(.16,.84,.24,1);}
#crest-abroad .ab-story button.wh-toggle,#crest-abroad .ab-story button.wh-toggle:hover,#crest-abroad .ab-story button.wh-toggle:focus{margin-top:clamp(18px,2vw,24px);}

/* ==========================================================================
   DEVELOPERS 3. THE FOUR CHECKS: the cards as on the home page, with no Teal band along their top
   ========================================================================== */
:is(.crest-developers,.crest-contractors) #crest-wrong .wr-mech{border-top:1px solid rgba(246,244,239,.12);}
:is(.crest-developers,.crest-contractors) #crest-wrong .wr-mech:hover{border-color:rgba(0,209,193,.5);}

/* ==========================================================================
   DEVELOPERS 6. FREE QUANTITY SURVEY CONSULTATION FOR DEVELOPERS IN KENYA  (developers.php), presented afresh, the words unchanged:
   - the offer on a Deep panel, beside "Who you'll be speaking to" (a small person icon by its heading);
   - "In one call you will leave with:" on a White panel: the QS line above it, then the eight points numbered 01-08, two per row,
     each point's opening words as its heading, fine lines between the rows;
   - "Why before the contractor" on Teal Dark, beside who the call is for;
   - how it works read down one column, its icons beside each paragraph; the call panel beside it, staying in view while it scrolls.
   Tablets and phones: one column throughout.
   ========================================================================== */
:is(.crest-developers,.crest-contractors) #crest-consult h3,:is(.crest-developers,.crest-contractors) #crest-consult ol,:is(.crest-developers,.crest-contractors) #crest-consult li{margin:0;padding:0;border:0;list-style:none;text-transform:none;}
:is(.crest-developers,.crest-contractors) #crest-consult .dc-intro,
:is(.crest-developers,.crest-contractors) #crest-consult .dc-get,
:is(.crest-developers,.crest-contractors) #crest-consult .dc-fit,
:is(.crest-developers,.crest-contractors) #crest-consult .dc-more{max-width:1080px;margin-left:auto;margin-right:auto;}
:is(.crest-developers,.crest-contractors) #crest-consult .dc-get,
:is(.crest-developers,.crest-contractors) #crest-consult .dc-fit,
:is(.crest-developers,.crest-contractors) #crest-consult .dc-more{margin-top:clamp(40px,4.6vw,64px);}

/* the offer and who you will be speaking to */
:is(.crest-developers,.crest-contractors) #crest-consult .dc-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,4vw,56px);align-items:center;}
:is(.crest-developers,.crest-contractors) #crest-consult p.dc-offer{
  position:relative;overflow:hidden;padding:clamp(28px,3vw,40px) clamp(24px,3vw,40px) clamp(38px,3.8vw,50px);border-radius:22px;background:var(--deep);
  font-size:clamp(15px,1.1vw,16px);line-height:1.7;color:rgba(246,244,239,.9);
}
:is(.crest-developers,.crest-contractors) #crest-consult p.dc-offer::before{content:"";display:block;width:48px;height:4px;margin-bottom:18px;border-radius:4px;background:#C8F03C;}
:is(.crest-developers,.crest-contractors) #crest-consult p.dc-offer::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:14px;opacity:.3;pointer-events:none;
  background:
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 60px) 0 100%/100% 14px no-repeat,
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 12px) 0 100%/100% 7px no-repeat;
}
:is(.crest-developers,.crest-contractors) #crest-consult .dc-h{display:flex;align-items:center;gap:12px;margin-bottom:12px;font-family:var(--f-head);font-weight:700;font-size:clamp(18px,1.45vw,21px);line-height:1.3;letter-spacing:-.012em;color:var(--deep);}
:is(.crest-developers,.crest-contractors) #crest-consult .dc-h__ico{display:flex;flex:none;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:rgba(0,209,193,.14);color:var(--teal-dark);}
:is(.crest-developers,.crest-contractors) #crest-consult .dc-h__ico svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
:is(.crest-developers,.crest-contractors) #crest-consult .dc-who p,
:is(.crest-developers,.crest-contractors) #crest-consult p.dc-for,
:is(.crest-developers,.crest-contractors) #crest-consult .dc-list p{font-size:clamp(15px,1.1vw,16px);line-height:1.65;color:rgba(27,31,34,.72);}
:is(.crest-developers,.crest-contractors) #crest-consult .dc-who p,:is(.crest-developers,.crest-contractors) #crest-consult p.dc-for{text-align:justify;text-justify:inter-word;}

/* the eight points */
:is(.crest-developers,.crest-contractors) #crest-consult .dc-get{
  padding:clamp(28px,3.6vw,52px) clamp(22px,3.6vw,52px) clamp(18px,2.4vw,32px);border:1px solid rgba(14,42,51,.07);border-radius:24px;background:var(--white);
  box-shadow:0 24px 50px -36px rgba(14,42,51,.35);
}
:is(.crest-developers,.crest-contractors) #crest-consult p.dc-note{max-width:720px;margin:0 auto 10px;text-align:center;text-wrap:balance;font-size:clamp(15px,1.1vw,16px);line-height:1.65;color:rgba(27,31,34,.72);}
:is(.crest-developers,.crest-contractors) #crest-consult .dc-get__head{text-align:center;font-family:var(--f-head);font-weight:700;font-size:clamp(21px,1.9vw,27px);line-height:1.25;letter-spacing:-.018em;color:var(--deep);}
:is(.crest-developers,.crest-contractors) #crest-consult .dc-get__head::after{content:"";display:block;width:56px;height:4px;margin:16px auto 0;border-radius:4px;background:var(--teal);}
:is(.crest-developers,.crest-contractors) #crest-consult .dc-list{
  counter-reset:dc;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(28px,4vw,56px);margin-top:clamp(24px,2.8vw,36px);
}
:is(.crest-developers,.crest-contractors) #crest-consult .dc-list li{
  counter-increment:dc;position:relative;padding:clamp(20px,2vw,26px) 0 clamp(20px,2vw,26px) 58px;border-top:1px solid rgba(14,42,51,.1);
}
:is(.crest-developers,.crest-contractors) #crest-consult .dc-list li:nth-child(-n+2){border-top:0;}
:is(.crest-developers,.crest-contractors) #crest-consult .dc-list li::before{
  content:counter(dc,decimal-leading-zero);position:absolute;left:0;top:clamp(18px,1.9vw,24px);
  display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:var(--deep);
  font-family:var(--f-head);font-weight:700;font-size:15px;line-height:1;color:var(--teal);
}
:is(.crest-developers,.crest-contractors) #crest-consult .dc-list p.dc-name{margin-bottom:6px;font-family:var(--f-head);font-weight:600;font-size:clamp(15.5px,1.15vw,17px);line-height:1.4;letter-spacing:-.008em;color:var(--deep);}
:is(.crest-developers,.crest-contractors) #crest-consult .dc-list p.dc-name:last-child{margin-bottom:0;}

/* why before the contractor, and who the call is for */
:is(.crest-developers,.crest-contractors) #crest-consult .dc-fit{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(28px,4vw,56px);align-items:center;}
:is(.crest-developers,.crest-contractors) #crest-consult p.cs-why{
  padding:clamp(24px,2.6vw,34px);border-radius:20px;background:var(--teal-dark);
  font-family:var(--f-head);font-weight:600;font-size:clamp(17px,1.4vw,20px);line-height:1.45;letter-spacing:-.01em;color:var(--white);
}
:is(.crest-developers,.crest-contractors) #crest-consult p.cs-why strong{display:block;margin-bottom:8px;font-family:var(--f-body);font-weight:700;font-size:13px;line-height:1.3;letter-spacing:.16em;text-transform:uppercase;color:#C8F03C;}

/* how it works, and the call panel beside it */
:is(.crest-developers,.crest-contractors) #crest-consult .dc-more{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr);gap:clamp(28px,4vw,64px);align-items:start;}
:is(.crest-developers,.crest-contractors) #crest-consult .dc-how .cs-how__item{display:grid;grid-template-columns:28px minmax(0,1fr);column-gap:18px;align-items:start;padding:clamp(20px,2.2vw,28px) 0;border-top:1px solid rgba(14,42,51,.1);}
:is(.crest-developers,.crest-contractors) #crest-consult .dc-how .cs-how__item:first-child{padding-top:0;border-top:0;}
:is(.crest-developers,.crest-contractors) #crest-consult .dc-how .cs-how__item:last-child{padding-bottom:0;}
:is(.crest-developers,.crest-contractors) #crest-consult .dc-how p{font-size:clamp(15px,1.1vw,16px);line-height:1.65;color:rgba(27,31,34,.72);}
:is(.crest-developers,.crest-contractors) #crest-consult .dc-more .cs-talk{position:sticky;top:120px;align-self:start;}

@media (max-width:900px){
  :is(.crest-developers,.crest-contractors) #crest-consult .dc-intro,
  :is(.crest-developers,.crest-contractors) #crest-consult .dc-fit,
  :is(.crest-developers,.crest-contractors) #crest-consult .dc-more{grid-template-columns:minmax(0,1fr);}
  :is(.crest-developers,.crest-contractors) #crest-consult .dc-more .cs-talk{position:relative;top:auto;}
  :is(.crest-developers,.crest-contractors) #crest-consult .dc-who p,:is(.crest-developers,.crest-contractors) #crest-consult p.dc-for{text-align:left;}
}
@media (max-width:760px){
  :is(.crest-developers,.crest-contractors) #crest-consult .dc-list{grid-template-columns:minmax(0,1fr);}
  :is(.crest-developers,.crest-contractors) #crest-consult .dc-list li:nth-child(2){border-top:1px solid rgba(14,42,51,.1);}
}
@media (max-width:520px){
  :is(.crest-developers,.crest-contractors) #crest-consult .dc-list li{padding-left:0;padding-top:70px;}
  :is(.crest-developers,.crest-contractors) #crest-consult .dc-list li:first-child{padding-top:48px;}
  :is(.crest-developers,.crest-contractors) #crest-consult .dc-list li:first-child::before{top:0;}
}

/* ==========================================================================
   PAGE HEADER ON INNER PAGES  (our-story.php, areas-we-serve.php, resources.php, contact-us.php, about-us.php, case-studies.php, faqs.php, careers.php, project-cost-review.php, knowledge-base.php, cpd.php, calculators.php, guides.php, blog.php, kenya-construction-cost-index.php: #crest-pagehead), as on WS Law's inner pages
   Soft Paper with a faint Teal glow at the top, a fine line along its foot; the page's name large and centred, its last word in
   Teal Dark; one centred paragraph; the two buttons side by side (the first Lime, the second outlined in Deep), full width on phones.
   ========================================================================== */
#crest-pagehead{
  --deep:#0E2A33; --teal:#00D1C1; --teal-dark:#0B7A72; --lime:#C8F03C; --paper:#F6F4EF; --white:#FFFFFF;
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --gutter:clamp(20px,5vw,80px);
  --ease:cubic-bezier(.16,.84,.24,1);
  position:relative;width:100%;padding:clamp(64px,8vw,120px) 0 clamp(60px,7.4vw,110px);
  background:
    radial-gradient(70% 90% at 50% 0%,rgba(0,209,193,.09),transparent 70%),
    linear-gradient(180deg,rgba(0,209,193,.04),rgba(246,244,239,0) 60%),
    var(--paper);
  border-bottom:1px solid rgba(14,42,51,.08);
  color:var(--deep);font-family:var(--f-body);text-align:center;-webkit-font-smoothing:antialiased;
}
#crest-pagehead *,#crest-pagehead *::before,#crest-pagehead *::after{box-sizing:border-box;}
#crest-pagehead h1,#crest-pagehead p{margin:0;padding:0;border:0;text-transform:none;text-shadow:none;}
#crest-pagehead .ph-wrap{width:100%;max-width:calc(1010px + 2 * var(--gutter));margin:0 auto;padding:0 var(--gutter);}
#crest-pagehead .ph-title{
  font-family:var(--f-head);font-weight:700;font-size:clamp(40px,4.6vw,68px);line-height:1.08;letter-spacing:-.03em;color:var(--deep);
  animation:ph-up .8s var(--ease) both;
}
#crest-pagehead .ph-title span{color:var(--teal-dark);}
#crest-pagehead .ph-text{
  max-width:900px;margin:clamp(18px,2vw,26px) auto 0;text-wrap:balance;
  font-size:clamp(16px,1.3vw,19px);line-height:1.75;letter-spacing:normal;color:rgba(27,31,34,.72);
  animation:ph-up .8s .12s var(--ease) both;
}
#crest-pagehead .ph-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin-top:clamp(28px,3.2vw,40px);animation:ph-up .8s .24s var(--ease) both;}
#crest-pagehead a.ph-btn,#crest-pagehead a.ph-btn:visited,#crest-pagehead a.ph-btn:focus{
  display:inline-flex;align-items:center;justify-content:center;min-height:58px;padding:0 30px;border:1.5px solid #C8F03C;border-radius:999px;
  background:#C8F03C;color:var(--deep);box-shadow:0 12px 28px -12px rgba(200,240,60,.85);text-decoration:none;white-space:nowrap;
  font-family:var(--f-body);font-weight:600;font-size:16.5px;line-height:1.3;
  transition:background-color .25s ease,border-color .25s ease,color .25s ease,box-shadow .25s ease,transform .25s ease;
}
#crest-pagehead a.ph-btn:hover{border-color:#D6F56A;background:#D6F56A;color:var(--deep);transform:translateY(-1px);text-decoration:none;}
#crest-pagehead a.ph-btn--line,#crest-pagehead a.ph-btn--line:visited,#crest-pagehead a.ph-btn--line:focus{border-color:var(--deep);background:transparent;color:var(--deep);box-shadow:none;}
#crest-pagehead a.ph-btn--line:hover{border-color:var(--deep);background:var(--deep);color:var(--white);}
#crest-pagehead a.ph-btn:focus{outline:none;}
#crest-pagehead a.ph-btn:focus-visible{outline:3px solid var(--teal);outline-offset:3px;}
@keyframes ph-up{from{opacity:0;transform:translate3d(0,18px,0);}to{opacity:1;transform:none;}}
@media (max-width:520px){
  #crest-pagehead a.ph-btn{flex:1 1 100%;padding:0 14px;font-size:clamp(14.5px,4vw,16.5px);}
}
@media (prefers-reduced-motion:reduce){
  #crest-pagehead .ph-title,#crest-pagehead .ph-text,#crest-pagehead .ph-actions{animation:none;}
  #crest-pagehead a.ph-btn{transition:none;}
}

/* ==========================================================================
   OUR STORY PAGE  (our-story.php)
   - The page header's three paragraphs centred, one under another.
   - Each section's title centred under the small "Crest Cost Consultants" label, as everywhere on the site; short titles on one line with
     the last words in Teal Dark (Teal on Deep), the long one on two lines.
   - Running paragraphs at the site's size, justified on desktop and set left on phones and tablets.
   - Where We Began: the photo (whole) beside the story, the steps read down a Teal line with a dot at each; the photo stays in view on desktop.
   - Our Growth: a Deep band. New Partnerships: two columns of paragraphs. What Drives Us: three paragraphs side by side, then the closing line.
   ========================================================================== */
#crest-pagehead .ph-text{max-width:1010px;margin-left:auto;margin-right:auto;}   /* wide enough for the opening sentence on one line */
#crest-pagehead .ph-text p{margin:0;font-size:clamp(16px,1.3vw,19px);line-height:1.75;color:rgba(27,31,34,.72);text-align:justify;text-justify:inter-word;text-wrap:wrap;}
#crest-pagehead .ph-text p + p{margin-top:1em;}
@media (max-width:900px){ #crest-pagehead .ph-text p{text-align:left;} }   /* phones and tablets: set left, as everywhere on the site */

.os-sec{
  --deep:#0E2A33; --teal:#00D1C1; --teal-dark:#0B7A72; --charcoal:#1B1F22; --paper:#F6F4EF; --white:#FFFFFF;
  --f-head:'Poppins','Segoe UI',Arial,sans-serif;
  --f-body:'DM Sans','Segoe UI',Arial,sans-serif;
  --gutter:clamp(20px,5vw,80px);
  position:relative;width:100%;padding:clamp(50px,5.6vw,84px) 0;
  color:var(--charcoal);font-family:var(--f-body);-webkit-font-smoothing:antialiased;
}
.os-sec *,.os-sec *::before,.os-sec *::after{box-sizing:border-box;}
.os-sec h2,.os-sec p,.os-sec ol,.os-sec li,.os-sec figure{margin:0;padding:0;border:0;list-style:none;text-transform:none;letter-spacing:normal;text-shadow:none;}
.os-sec--white{background:var(--white);}
.os-sec--paper{background:var(--paper);}
.os-sec--deep{overflow:hidden;background:var(--deep);color:var(--paper);}
.os-sec--deep::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:16px;opacity:.3;pointer-events:none;
  background:
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 60px) 0 100%/100% 16px no-repeat,
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 12px) 0 100%/100% 8px no-repeat;
}
.os-sec .os-wrap{width:100%;max-width:calc(1160px + 2 * var(--gutter));margin:0 auto;padding:0 var(--gutter);}
.os-sec .os-wrap--read{max-width:calc(900px + 2 * var(--gutter));}

/* the titles */
.os-sec .os-head{max-width:900px;margin:0 auto clamp(36px,4.2vw,56px);text-align:center;}
.os-sec .os-title{
  margin:0 auto clamp(28px,3.2vw,40px);text-align:center;text-wrap:balance;
  font-family:var(--f-head);font-weight:700;font-size:clamp(26px,2.65vw,38px);line-height:1.14;letter-spacing:-.02em;color:var(--deep);
}
.os-sec .os-head .os-title{margin-bottom:0;}
.os-sec .os-title span{color:var(--teal-dark);}
.os-sec .os-title--two span{display:block;}
.os-sec .os-title::before{
  content:"Crest Cost Consultants";content:"Crest Cost Consultants" / "";
  display:block;width:-moz-fit-content;width:fit-content;margin:0 auto 14px;padding-left:40px;
  background:linear-gradient(currentColor,currentColor) left center/28px 2px no-repeat;
  font-family:var(--f-body);font-weight:700;font-size:12.5px;line-height:1.3;letter-spacing:.22em;text-transform:uppercase;color:var(--teal-dark);
}
.os-sec--deep .os-title{color:var(--white);}
.os-sec--deep .os-title span,.os-sec--deep .os-title::before{color:var(--teal);}
.os-sec .os-sub{max-width:760px;margin:16px auto 0;text-wrap:pretty;font-size:clamp(15px,1.1vw,16px);line-height:1.65;color:rgba(27,31,34,.72);}

/* the paragraphs */
.os-sec .os-copy p,.os-sec .ob-steps p,.os-sec .od-three p{font-size:clamp(15px,1.1vw,16px);line-height:1.7;color:rgba(27,31,34,.72);}
.os-sec .os-copy p,.os-sec .ob-steps li:not(.ob-turn) p{text-align:justify;text-justify:inter-word;}
.os-sec .os-copy p + p{margin-top:1.1em;}
.os-sec--deep .os-copy p{color:rgba(246,244,239,.84);}

/* where we began: the photo beside the steps */
#os-began .ob-row{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(36px,5vw,80px);align-items:start;}
#os-began .ob-photo{position:sticky;top:130px;margin:0;}
#os-began .ob-photo img{display:block;width:100%;height:auto;max-width:none;border:0;border-radius:20px;box-shadow:0 24px 48px -28px rgba(14,42,51,.5);}
#os-began .ob-steps{position:relative;padding-left:34px;}
#os-began .ob-steps::before{content:"";position:absolute;left:6px;top:8px;bottom:8px;width:2px;border-radius:2px;background:linear-gradient(var(--teal),rgba(0,209,193,.15));}
#os-began .ob-steps li{position:relative;}
#os-began .ob-steps li + li{margin-top:clamp(20px,2.2vw,28px);}
#os-began .ob-steps li::before{content:"";position:absolute;left:-34px;top:.45em;width:14px;height:14px;border:3px solid var(--paper);border-radius:50%;background:var(--teal-dark);box-shadow:0 0 0 1.5px var(--teal-dark);}
#os-began .ob-steps li.ob-turn p{font-family:var(--f-head);font-weight:600;font-size:clamp(17px,1.4vw,20px);line-height:1.5;letter-spacing:-.01em;color:var(--teal-dark);}
#os-began .ob-steps li.ob-turn::before{background:var(--teal);box-shadow:0 0 0 1.5px var(--teal);}

/* new partnerships: two columns */
#os-partners .os-cols{columns:2;column-gap:clamp(36px,5vw,72px);column-rule:1px solid rgba(14,42,51,.1);}
#os-partners .os-cols p{break-inside:avoid;}
#os-partners .os-cols p + p{margin-top:0;}
#os-partners .os-cols p:not(:last-child){padding-bottom:1.1em;}   /* the second column starts level with the first */

/* what drives us: three side by side, then the closing line */

/* tablets and phones */
@media (max-width:900px){
  .os-sec .os-copy p,.os-sec .ob-steps li:not(.ob-turn) p{text-align:left;}
  #os-began .ob-row{grid-template-columns:minmax(0,1fr);gap:32px;}
  #os-began .ob-photo{position:relative;top:auto;}
  #os-partners .os-cols{columns:1;}
  #os-partners .os-cols p:not(:last-child){padding-bottom:0;}
  #os-partners .os-cols p + p{margin-top:1.1em;}
}

/* ==========================================================================
   OUR STORY PAGE, CONTINUED: "What Our Clients Say", "What We Do", "Why We Stand Out"  (our-story.php)
   - The quotes use the shared quote styles (#crest-say). Under the panel: the note on case studies, small and soft; then the closing
     line centred in the heading font, with the page header's two buttons.
   - What We Do: eight white cards, four to a row; each opens with the service icon in a Deep square.
   - Why We Stand Out: "Clients value us for:" on a Deep panel, the seven points in two columns with Teal ticks.
   ========================================================================== */
:is(.crest-our-story,.crest-areas-we-serve,.crest-contact-us) #crest-say .rv-title span{display:inline;}   /* one line, like the page's other short titles */
:is(.crest-our-story,.crest-areas-we-serve,.crest-contact-us,.crest-about-us,.crest-case-studies,.crest-faqs,.crest-careers,.crest-project-cost-review,.crest-knowledge-base,.crest-cpd,.crest-calculators,.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) #crest-say .os-note{margin:18px auto 0;text-align:center;font-size:14.5px;font-style:italic;line-height:1.5;color:rgba(27,31,34,.6);}
:is(.crest-our-story,.crest-areas-we-serve,.crest-contact-us,.crest-contractors,.crest-about-us,.crest-case-studies,.crest-faqs,.crest-careers,.crest-project-cost-review,.crest-knowledge-base,.crest-cpd,.crest-calculators,.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) :is(#crest-say,#crest-say-again) .os-ask{max-width:820px;margin:clamp(40px,4.6vw,60px) auto 0;text-align:center;}
:is(.crest-our-story,.crest-areas-we-serve,.crest-contact-us,.crest-contractors,.crest-about-us,.crest-case-studies,.crest-faqs,.crest-careers,.crest-project-cost-review,.crest-knowledge-base,.crest-cpd,.crest-calculators,.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) :is(#crest-say,#crest-say-again) .os-ask p{margin:0;text-wrap:balance;font-family:'Poppins','Segoe UI',Arial,sans-serif;font-weight:600;font-size:clamp(18px,1.6vw,22px);line-height:1.5;letter-spacing:-.01em;color:#0E2A33;}
:is(.crest-our-story,.crest-areas-we-serve,.crest-contact-us,.crest-contractors,.crest-about-us,.crest-case-studies,.crest-faqs,.crest-careers,.crest-project-cost-review,.crest-knowledge-base,.crest-cpd,.crest-calculators,.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) :is(#crest-say,#crest-say-again) .os-ask::before{content:"";display:block;width:56px;height:4px;margin:0 auto clamp(18px,2vw,24px);border-radius:4px;background:#00D1C1;}
:is(.crest-our-story,.crest-areas-we-serve,.crest-contact-us,.crest-contractors,.crest-about-us,.crest-case-studies,.crest-faqs,.crest-careers,.crest-project-cost-review,.crest-knowledge-base,.crest-cpd,.crest-calculators,.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) :is(#crest-say,#crest-say-again) .ph-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin-top:clamp(22px,2.6vw,32px);}
:is(.crest-our-story,.crest-areas-we-serve,.crest-contact-us,.crest-contractors,.crest-about-us,.crest-case-studies,.crest-faqs,.crest-careers,.crest-project-cost-review,.crest-knowledge-base,.crest-cpd,.crest-calculators,.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) :is(#crest-say,#crest-say-again) a.ph-btn,:is(.crest-our-story,.crest-areas-we-serve,.crest-contact-us,.crest-contractors,.crest-about-us,.crest-case-studies,.crest-faqs,.crest-careers,.crest-project-cost-review,.crest-knowledge-base,.crest-cpd,.crest-calculators,.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) :is(#crest-say,#crest-say-again) a.ph-btn:visited,:is(.crest-our-story,.crest-areas-we-serve,.crest-contact-us,.crest-contractors,.crest-about-us,.crest-case-studies,.crest-faqs,.crest-careers,.crest-project-cost-review,.crest-knowledge-base,.crest-cpd,.crest-calculators,.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) :is(#crest-say,#crest-say-again) a.ph-btn:focus{
  display:inline-flex;align-items:center;justify-content:center;min-height:58px;padding:0 30px;border:1.5px solid #C8F03C;border-radius:999px;
  background:#C8F03C;color:#0E2A33;box-shadow:0 12px 28px -12px rgba(200,240,60,.85);text-decoration:none;white-space:nowrap;
  font-family:'DM Sans','Segoe UI',Arial,sans-serif;font-weight:600;font-size:16.5px;line-height:1.3;transition:background-color .25s ease,border-color .25s ease,color .25s ease;
}
:is(.crest-our-story,.crest-areas-we-serve,.crest-contact-us,.crest-contractors,.crest-about-us,.crest-case-studies,.crest-faqs,.crest-careers,.crest-project-cost-review,.crest-knowledge-base,.crest-cpd,.crest-calculators,.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) :is(#crest-say,#crest-say-again) a.ph-btn:hover{border-color:#D6F56A;background:#D6F56A;color:#0E2A33;text-decoration:none;}
:is(.crest-our-story,.crest-areas-we-serve,.crest-contact-us,.crest-contractors,.crest-about-us,.crest-case-studies,.crest-faqs,.crest-careers,.crest-project-cost-review,.crest-knowledge-base,.crest-cpd,.crest-calculators,.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) :is(#crest-say,#crest-say-again) a.ph-btn--line,:is(.crest-our-story,.crest-areas-we-serve,.crest-contact-us,.crest-contractors,.crest-about-us,.crest-case-studies,.crest-faqs,.crest-careers,.crest-project-cost-review,.crest-knowledge-base,.crest-cpd,.crest-calculators,.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) :is(#crest-say,#crest-say-again) a.ph-btn--line:visited,:is(.crest-our-story,.crest-areas-we-serve,.crest-contact-us,.crest-contractors,.crest-about-us,.crest-case-studies,.crest-faqs,.crest-careers,.crest-project-cost-review,.crest-knowledge-base,.crest-cpd,.crest-calculators,.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) :is(#crest-say,#crest-say-again) a.ph-btn--line:focus{border-color:#0E2A33;background:transparent;color:#0E2A33;box-shadow:none;}
:is(.crest-our-story,.crest-areas-we-serve,.crest-contact-us,.crest-contractors,.crest-about-us,.crest-case-studies,.crest-faqs,.crest-careers,.crest-project-cost-review,.crest-knowledge-base,.crest-cpd,.crest-calculators,.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) :is(#crest-say,#crest-say-again) a.ph-btn--line:hover{background:#0E2A33;color:#FFFFFF;}
:is(.crest-our-story,.crest-areas-we-serve,.crest-contact-us,.crest-contractors,.crest-about-us,.crest-case-studies,.crest-faqs,.crest-careers,.crest-project-cost-review,.crest-knowledge-base,.crest-cpd,.crest-calculators,.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) :is(#crest-say,#crest-say-again) a.ph-btn:focus{outline:none;}
:is(.crest-our-story,.crest-areas-we-serve,.crest-contact-us,.crest-contractors,.crest-about-us,.crest-case-studies,.crest-faqs,.crest-careers,.crest-project-cost-review,.crest-knowledge-base,.crest-cpd,.crest-calculators,.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) :is(#crest-say,#crest-say-again) a.ph-btn:focus-visible{outline:3px solid #00D1C1;outline-offset:3px;}

/* what we do */
:is(#os-services,#cu-services) .os-svcs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(14px,1.6vw,20px);}
:is(#os-services,#cu-services) .os-svc{
  display:grid;grid-template-columns:50px minmax(0,1fr);column-gap:20px;align-items:start;align-content:start;padding:clamp(22px,2.4vw,32px);border:1px solid rgba(14,42,51,.07);border-radius:20px;background:var(--white);
  transition:border-color .3s ease,box-shadow .4s ease,transform .4s ease;
}
:is(#os-services,#cu-services) .os-svc:hover{border-color:rgba(11,122,114,.35);box-shadow:0 22px 44px -30px rgba(14,42,51,.45);transform:translateY(-3px);}
:is(#os-services,#cu-services) .os-svc__ico{grid-row:span 2;display:flex;align-items:center;justify-content:center;width:50px;height:50px;border-radius:14px;background:var(--deep);color:var(--teal);}
:is(#os-services,#cu-services) .os-svc__ico svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
:is(#os-services,#cu-services) .os-svc__name{margin:2px 0 8px;font-family:var(--f-head);font-weight:700;font-size:clamp(16.5px,1.25vw,18px);line-height:1.3;letter-spacing:-.012em;color:var(--deep);}
:is(#os-services,#cu-services) .os-svc p{font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.65;color:rgba(27,31,34,.72);}
:is(#os-services,#cu-services) .os-svc strong.os-lede{font-weight:500;color:var(--deep);}

/* why we stand out */
#os-standout .os-value{
  position:relative;overflow:hidden;max-width:1080px;margin:0 auto;
  padding:clamp(30px,4vw,56px) clamp(22px,4vw,56px) clamp(40px,4.8vw,64px);border-radius:28px;background:var(--deep);
  box-shadow:0 40px 80px -50px rgba(14,42,51,.7);
}
#os-standout .os-value::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:16px;opacity:.3;pointer-events:none;
  background:
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 60px) 0 100%/100% 16px no-repeat,
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 12px) 0 100%/100% 8px no-repeat;
}
#os-standout .os-value__head{margin:0;padding:0;border:0;text-align:center;font-family:var(--f-head);font-weight:700;font-size:clamp(21px,1.9vw,27px);line-height:1.25;letter-spacing:-.018em;text-transform:none;color:var(--white);}
#os-standout .os-value__head::after{content:"";display:block;width:56px;height:4px;margin:16px auto 0;border-radius:4px;background:var(--teal);}
#os-standout .os-value__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(28px,4vw,56px);margin:clamp(24px,2.8vw,36px) 0 0;padding:0;list-style:none;}
#os-standout .os-value__list li{display:grid;grid-template-columns:26px minmax(0,1fr);column-gap:14px;align-items:start;margin:0;padding:16px 0;border-top:1px solid rgba(246,244,239,.12);list-style:none;}
#os-standout .os-value__list li:nth-child(-n+2){border-top:0;}
#os-standout .os-value__list li:last-child:nth-child(odd){grid-column:1 / -1;}
#os-standout .os-value__list p{font-size:clamp(15px,1.08vw,16px);line-height:1.6;color:rgba(246,244,239,.82);}
#os-standout .os-value__list strong{font-weight:700;color:var(--white);}
#os-standout .os-tick{display:flex;align-items:center;justify-content:center;width:26px;height:26px;margin-top:0;border-radius:50%;background:var(--teal);}
#os-standout .os-tick svg{display:block;width:14px;height:14px;fill:none;stroke:var(--deep);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;}

@media (max-width:900px){
  #os-standout .os-value__list{grid-template-columns:minmax(0,1fr);}
  #os-standout .os-value__list li:nth-child(2){border-top:1px solid rgba(246,244,239,.12);}
  #os-standout .os-value{border-radius:22px;}
}
@media (max-width:820px){ :is(#os-services,#cu-services) .os-svcs{grid-template-columns:minmax(0,1fr);} }
@media (max-width:520px){ :is(#os-services,#cu-services) .os-svc{grid-template-columns:minmax(0,1fr);row-gap:0;} :is(#os-services,#cu-services) .os-svc__ico{grid-row:auto;margin-bottom:16px;} }
@media (max-width:640px){
  :is(.crest-our-story,.crest-areas-we-serve,.crest-contact-us,.crest-contractors,.crest-about-us,.crest-case-studies,.crest-faqs,.crest-careers,.crest-project-cost-review,.crest-knowledge-base,.crest-cpd,.crest-calculators,.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) :is(#crest-say,#crest-say-again) a.ph-btn{flex:1 1 100%;padding:0 14px;font-size:clamp(14.5px,4vw,16.5px);}
}
@media (prefers-reduced-motion:reduce){ :is(#os-services,#cu-services) .os-svc{transition:none;} :is(#os-services,#cu-services) .os-svc:hover{transform:none;} }

/* ==========================================================================
   OUR STORY PAGE: THE FREE CONSULTATION, AND "PARTNERSHIPS, RECOGNITIONS & COLLABORATIONS"  (our-story.php)
   - The consultation: the bold line under the title; the seven points as white cards with a Teal icon, four then three (centred);
     the closing paragraph centred; a Deep panel with the Lime button and its line.
   - The logos and figures (#crest-proof, shared with the home page) sit on White here under this page's own title.
   ========================================================================== */
:is(#os-consult,#rs-review,#kb-about,#calc-review,#ge-review,#bn-review,#ci-plan,#cu-locations) .oc-lead{margin:16px auto 0;font-family:var(--f-head);font-weight:700;font-size:clamp(18px,1.5vw,21px);line-height:1.4;letter-spacing:-.01em;color:var(--deep);}
#os-consult .oc-lead + .os-sub{margin-top:10px;}
#os-consult .oc-clarity__head{margin:0 0 clamp(20px,2.4vw,30px);padding:0;border:0;text-align:center;text-transform:none;font-family:var(--f-head);font-weight:700;font-size:clamp(19px,1.6vw,23px);line-height:1.3;letter-spacing:-.012em;color:var(--deep);}
:is(#os-consult,#cr-know,#cr-grow) .oc-list{--g:clamp(14px,1.6vw,20px);display:flex;flex-wrap:wrap;justify-content:center;gap:var(--g);margin:0;padding:0;list-style:none;}
:is(#os-consult,#cr-know,#cr-grow) .oc-item{
  flex:0 0 calc((100% - 3 * var(--g)) / 4);display:flex;flex-direction:column;gap:14px;margin:0;padding:clamp(20px,2vw,26px);list-style:none;
  border:1px solid rgba(14,42,51,.07);border-radius:18px;background:var(--white);
}
:is(#os-consult,#cr-know,#cr-grow) .oc-ico{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;background:rgba(0,209,193,.14);color:var(--teal-dark);}
:is(#os-consult,#cr-know,#cr-grow) .oc-ico svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
:is(#os-consult,#cr-know,#cr-grow) .oc-item p{font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.6;color:rgba(27,31,34,.72);}
:is(#os-consult,#cr-know,#cr-grow) .oc-name{display:block;margin-bottom:6px;font-family:var(--f-head);font-weight:700;font-size:clamp(16px,1.2vw,17.5px);line-height:1.3;letter-spacing:-.01em;color:var(--deep);}
:is(#os-consult,#cr-know,#cr-grow,#kb-about,#cpd-how) .oc-close{
  max-width:820px;margin:clamp(40px,4.6vw,60px) auto 0;text-align:center;text-wrap:balance;
  font-family:var(--f-head);font-weight:600;font-size:clamp(18px,1.6vw,22px);line-height:1.5;letter-spacing:-.01em;color:var(--deep);
}
:is(#os-consult,#cr-know,#cr-grow,#kb-about,#cpd-how) .oc-close::before{content:"";display:block;width:56px;height:4px;margin:0 auto clamp(18px,2vw,24px);border-radius:4px;background:var(--teal);}
:is(#os-consult,#aw-need,#aw-abroad,#aw-contact,#aw-ready,#rs-review,#cu-about,#cu-cost,#crest-faq,#crest-faq-pm,#au-concept,#au-across,#au-team,#crest-edge,#pr-ready,#cpd-arrange,#calc-advice,#calc-review,#ge-review,#bn-review,#ci-plan) .oc-book{
  position:relative;overflow:hidden;max-width:880px;margin:clamp(32px,3.6vw,48px) auto 0;padding:clamp(30px,3.4vw,44px) clamp(22px,3.4vw,44px) clamp(40px,4.2vw,54px);
  border-radius:24px;background:var(--deep);text-align:center;
}
:is(#os-consult,#aw-need,#aw-abroad,#aw-contact,#aw-ready,#rs-review,#cu-about,#cu-cost,#crest-faq,#crest-faq-pm,#au-concept,#au-across,#au-team,#crest-edge,#pr-ready,#cpd-arrange,#calc-advice,#calc-review,#ge-review,#bn-review,#ci-plan) .oc-book::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:16px;opacity:.3;pointer-events:none;
  background:
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 60px) 0 100%/100% 16px no-repeat,
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 12px) 0 100%/100% 8px no-repeat;
}
:is(#os-consult,#aw-need,#aw-abroad,#aw-contact,#aw-ready,#rs-review,#cu-about,#cu-cost,#crest-faq,#crest-faq-pm,#au-concept,#au-across,#au-team,#crest-edge,#pr-ready,#cpd-arrange,#calc-advice,#calc-review,#ge-review,#bn-review,#ci-plan) a.oc-btn,:is(#os-consult,#aw-need,#aw-abroad,#aw-contact,#aw-ready,#rs-review,#cu-about,#cu-cost,#crest-faq,#crest-faq-pm,#au-concept,#au-across,#au-team,#crest-edge,#pr-ready,#cpd-arrange,#calc-advice,#calc-review,#ge-review,#bn-review,#ci-plan) a.oc-btn:visited,:is(#os-consult,#aw-need,#aw-abroad,#aw-contact,#aw-ready,#rs-review,#cu-about,#cu-cost,#crest-faq,#crest-faq-pm,#au-concept,#au-across,#au-team,#crest-edge,#pr-ready,#cpd-arrange,#calc-advice,#calc-review,#ge-review,#bn-review,#ci-plan) a.oc-btn:focus{
  display:inline-flex;align-items:center;justify-content:center;min-height:60px;padding:10px 34px;border-radius:999px;text-align:center;
  background:#C8F03C;color:var(--deep);box-shadow:0 12px 30px -12px rgba(200,240,60,.75);text-decoration:none;
  font-family:var(--f-body);font-weight:700;font-size:clamp(15.5px,1.2vw,17px);line-height:1.3;transition:background-color .25s ease,transform .25s ease;
}
:is(#os-consult,#aw-need,#aw-abroad,#aw-contact,#aw-ready,#rs-review,#cu-about,#cu-cost,#crest-faq,#crest-faq-pm,#au-concept,#au-across,#au-team,#crest-edge,#pr-ready,#cpd-arrange,#calc-advice,#calc-review,#ge-review,#bn-review,#ci-plan) a.oc-btn:hover{background:#D6F56A;color:var(--deep);transform:translateY(-1px);text-decoration:none;}
:is(#os-consult,#aw-need,#aw-abroad,#aw-contact,#aw-ready,#rs-review,#cu-about,#cu-cost,#crest-faq,#crest-faq-pm,#au-concept,#au-across,#au-team,#crest-edge,#pr-ready,#cpd-arrange,#calc-advice,#calc-review,#ge-review,#bn-review,#ci-plan) a.oc-btn:focus{outline:none;}
:is(#os-consult,#aw-need,#aw-abroad,#aw-contact,#aw-ready,#rs-review,#cu-about,#cu-cost,#crest-faq,#crest-faq-pm,#au-concept,#au-across,#au-team,#crest-edge,#pr-ready,#cpd-arrange,#calc-advice,#calc-review,#ge-review,#bn-review,#ci-plan) a.oc-btn:focus-visible{outline:3px solid var(--teal);outline-offset:3px;}
:is(#os-consult,#aw-need,#aw-abroad,#aw-contact,#aw-ready,#rs-review,#cu-about,#cu-cost,#crest-faq,#crest-faq-pm,#au-concept,#au-across,#au-team,#crest-edge,#pr-ready,#cpd-arrange,#calc-advice,#calc-review,#ge-review,#bn-review,#ci-plan) .oc-book p{max-width:600px;margin:16px auto 0;text-wrap:balance;font-size:clamp(15px,1.1vw,16px);line-height:1.6;color:rgba(246,244,239,.84);}

:is(.crest-our-story,.crest-areas-we-serve,.crest-contact-us,.crest-about-us,.crest-case-studies,.crest-faqs,.crest-careers,.crest-project-cost-review,.crest-knowledge-base,.crest-cpd,.crest-calculators,.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) #crest-proof{background:#FFFFFF;}
:is(.crest-our-story,.crest-areas-we-serve,.crest-contact-us,.crest-about-us,.crest-case-studies,.crest-faqs,.crest-careers,.crest-project-cost-review,.crest-knowledge-base,.crest-cpd,.crest-calculators,.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) #crest-proof .pf-title{
  max-width:1120px;margin:clamp(10px,1.4vw,18px) auto clamp(34px,4vw,52px);padding:0;border:0;text-align:center;text-wrap:balance;text-transform:none;
  font-family:'Poppins','Segoe UI',Arial,sans-serif;font-weight:700;font-size:clamp(26px,2.65vw,38px);line-height:1.14;letter-spacing:-.02em;color:#0E2A33;
}
:is(.crest-our-story,.crest-areas-we-serve,.crest-contact-us,.crest-about-us,.crest-case-studies,.crest-faqs,.crest-careers,.crest-project-cost-review,.crest-knowledge-base,.crest-cpd,.crest-calculators,.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) #crest-proof .pf-title span{display:block;color:#0B7A72;}
:is(.crest-our-story,.crest-areas-we-serve,.crest-contact-us,.crest-about-us,.crest-case-studies,.crest-faqs,.crest-careers,.crest-project-cost-review,.crest-knowledge-base,.crest-cpd,.crest-calculators,.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) #crest-proof .pf-title::before{
  content:"Crest Cost Consultants";content:"Crest Cost Consultants" / "";
  display:block;width:-moz-fit-content;width:fit-content;margin:0 auto 14px;padding-left:40px;
  background:linear-gradient(currentColor,currentColor) left center/28px 2px no-repeat;
  font-family:'DM Sans','Segoe UI',Arial,sans-serif;font-weight:700;font-size:12.5px;line-height:1.3;letter-spacing:.22em;text-transform:uppercase;color:#0B7A72;
}
:is(.crest-our-story,.crest-areas-we-serve,.crest-contact-us,.crest-about-us,.crest-case-studies,.crest-faqs,.crest-careers,.crest-project-cost-review,.crest-knowledge-base,.crest-cpd,.crest-calculators,.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) #crest-proof{padding-bottom:clamp(50px,5.6vw,84px);}
:is(.crest-our-story,.crest-areas-we-serve,.crest-contact-us,.crest-about-us,.crest-case-studies,.crest-faqs,.crest-careers,.crest-project-cost-review,.crest-knowledge-base,.crest-cpd,.crest-calculators,.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) #crest-proof h3.pf-head{margin-top:0;padding:0;border:0;}

@media (max-width:1100px){ :is(#os-consult,#cr-know,#cr-grow) .oc-item{flex-basis:calc((100% - 2 * var(--g)) / 3);} }
@media (max-width:820px){ :is(#os-consult,#cr-know,#cr-grow) .oc-item{flex-basis:calc((100% - var(--g)) / 2);} }
@media (max-width:520px){
  :is(#os-consult,#cr-know,#cr-grow) .oc-item{flex-basis:100%;}
  :is(#os-consult,#aw-need,#aw-abroad,#aw-contact,#aw-ready,#rs-review,#cu-about,#cu-cost,#crest-faq,#crest-faq-pm,#au-concept,#au-across,#au-team,#crest-edge,#pr-ready,#cpd-arrange,#calc-advice,#calc-review,#ge-review,#bn-review,#ci-plan) a.oc-btn{width:100%;padding:0 16px;}
}
@media (prefers-reduced-motion:reduce){ :is(#os-consult,#aw-need,#aw-abroad,#aw-contact,#aw-ready,#rs-review,#cu-about,#cu-cost,#crest-faq,#crest-faq-pm,#au-concept,#au-across,#au-team,#crest-edge,#pr-ready,#cpd-arrange,#calc-advice,#calc-review,#ge-review,#bn-review,#ci-plan) a.oc-btn{transition:none;} }

/* ==========================================================================
   OUR STORY: WHAT DRIVES US  (our-story.php, #os-drives)
   "Our goal is simple..." as a large statement on a Deep panel, a Lime bar above it and the measuring scale along its foot, staying in
   view on desktop beside the three paragraphs; each paragraph with a Teal line icon in a soft circle, fine lines between them.
   Tablets and phones: the paragraphs first, then the statement.
   ========================================================================== */
#os-drives .od-row{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);grid-template-areas:"goal three";gap:clamp(32px,5vw,80px);align-items:start;max-width:1120px;margin:0 auto;}
#os-drives .od-three{grid-area:three;}
#os-drives .od-item{display:grid;grid-template-columns:52px minmax(0,1fr);column-gap:22px;align-items:start;padding:clamp(22px,2.4vw,30px) 0;border-top:1px solid rgba(14,42,51,.1);}
#os-drives .od-item:first-child{padding-top:0;border-top:0;}
#os-drives .od-item:last-child{padding-bottom:0;}
#os-drives .od-ico{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:50%;background:rgba(0,209,193,.14);color:var(--teal-dark);}
#os-drives .od-ico svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
#os-drives .od-item p{padding-top:4px;font-size:clamp(15px,1.1vw,16px);line-height:1.7;color:rgba(27,31,34,.72);text-align:justify;text-justify:inter-word;}
#os-drives p.od-goal{
  grid-area:goal;position:sticky;top:130px;overflow:hidden;margin:0;
  padding:clamp(30px,3.6vw,48px) clamp(26px,3.2vw,44px) clamp(44px,4.6vw,60px);border-radius:24px;background:var(--deep);
  box-shadow:0 40px 80px -50px rgba(14,42,51,.7);
  font-family:var(--f-head);font-weight:600;font-size:clamp(21px,2vw,28px);line-height:1.4;letter-spacing:-.015em;text-align:left;text-wrap:pretty;color:var(--white);
}
#os-drives p.od-goal::before{content:"";display:block;width:56px;height:4px;margin-bottom:clamp(18px,2vw,24px);border-radius:4px;background:#C8F03C;}
#os-drives p.od-goal::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:14px;opacity:.3;pointer-events:none;
  background:
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 60px) 0 100%/100% 14px no-repeat,
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 12px) 0 100%/100% 7px no-repeat;
}
@media (max-width:900px){
  #os-drives .od-row{grid-template-columns:minmax(0,1fr);grid-template-areas:"three" "goal";gap:clamp(32px,6vw,44px);}
  #os-drives p.od-goal{position:relative;top:auto;}
  #os-drives .od-item p{text-align:left;}
}
@media (max-width:520px){
  #os-drives .od-item{grid-template-columns:44px minmax(0,1fr);column-gap:16px;}
  #os-drives .od-ico{width:44px;height:44px;}
  #os-drives .od-ico svg{width:21px;height:21px;}
}

/* ==========================================================================
   AREAS WE SERVE: THE PAGE HEADER'S TWO-PART TITLE  (areas-we-serve.php)
   "Areas We Serve" large; "Quantity Surveyors and Project Managers in Kenya" on its own line under it, smaller, in Teal Dark.
   The " | " between them stays in the heading for search engines and screen readers, but is not shown.
   ========================================================================== */
#crest-pagehead .ph-title .ph-pipe{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;}
#crest-pagehead .ph-title .ph-sub{
  display:block;margin-top:clamp(10px,1.2vw,16px);text-wrap:balance;
  font-family:var(--f-head);font-weight:600;font-size:clamp(19px,2vw,28px);line-height:1.3;letter-spacing:-.015em;color:var(--teal-dark);
}

/* ==========================================================================
   AREAS WE SERVE: "DO YOU NEED QUANTITY SURVEYORS AND PROJECT MANAGERS IN KENYA?" AND THE QUOTES  (areas-we-serve.php)
   - The photo (whole, rounded, a soft shadow) beside the four paragraphs, centred against them; the photo above them on tablets and
     phones. The Deep panel with the button is the Our Story page's (.oc-book).
   - The quotes and the closing line under them are the Our Story page's; here on Paper, as the section above is White.
   ========================================================================== */
#aw-need .os-wrap{max-width:calc(1280px + 2 * var(--gutter));}   /* a little wider than the page's other sections, so the photo can be larger */
#aw-need .aw-row{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(32px,4.4vw,64px);align-items:center;}   /* the photo takes the larger share; still whole, never cropped */
#aw-need .aw-photo{margin:0;}
#aw-need .aw-photo img{display:block;width:100%;height:auto;max-width:none;border:0;border-radius:20px;box-shadow:0 24px 48px -28px rgba(14,42,51,.5);}
#aw-need .oc-book{margin-top:clamp(40px,4.6vw,60px);}
.crest-areas-we-serve #crest-say{background:#F6F4EF;}
@media (max-width:1100px){   /* small laptops and tablets: too narrow for the photo to be a good size beside the words, so it sits above them */
  #aw-need .aw-row{grid-template-columns:minmax(0,1fr);gap:clamp(28px,3.6vw,40px);}
  #aw-need .aw-photo,#aw-need .aw-row .os-copy{width:100%;max-width:860px;margin-left:auto;margin-right:auto;}
}
@media (max-width:520px){ #aw-need a.oc-btn{width:100%;padding:10px 16px;} }

/* ==========================================================================
   AREAS WE SERVE: THE LOCATIONS, THE DIASPORA AND FOREIGN INVESTORS  (areas-we-serve.php)
   - Locations: the two opening paragraphs centred; the four towns as cards with a map pin, four to a row, Nairobi (the office) on
     Deep with a Lime pin; the line on other counties centred under a dashed line.
   - Abroad: the two audiences as white panels side by side, a line icon on a Deep square; then the closing Deep panel (the Our Story
     booking panel, .oc-book) with its own heading and paragraph above the Lime button.
   ========================================================================== */
#aw-locations .os-head .os-sub + .os-sub{margin-top:10px;}
#aw-locations .aw-places{--g:clamp(14px,1.6vw,20px);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--g);}
#aw-locations .aw-place{
  position:relative;display:flex;flex-direction:column;padding:clamp(22px,2.2vw,30px);border:1px solid rgba(14,42,51,.08);border-radius:20px;background:var(--paper);
  transition:border-color .3s ease,box-shadow .4s ease,transform .4s ease;
}
#aw-locations .aw-place:hover{border-color:rgba(11,122,114,.35);box-shadow:0 22px 44px -30px rgba(14,42,51,.45);transform:translateY(-3px);}
#aw-locations .aw-place__pin{display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin-bottom:18px;border-radius:50%;background:rgba(0,209,193,.16);color:var(--teal-dark);}
#aw-locations .aw-place__pin svg,#aw-locations .aw-more__pin svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
#aw-locations .aw-place__name{margin:0 0 10px;padding:0;border:0;text-transform:none;font-family:var(--f-head);font-weight:700;font-size:clamp(19px,1.6vw,22px);line-height:1.2;letter-spacing:-.015em;color:var(--deep);}
#aw-locations .aw-place p{font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.65;color:rgba(27,31,34,.72);}
#aw-locations .aw-place--home{border-color:var(--deep);background:var(--deep);box-shadow:0 30px 60px -40px rgba(14,42,51,.7);}
#aw-locations .aw-place--home .aw-place__pin{background:#C8F03C;color:var(--deep);}
#aw-locations .aw-place--home .aw-place__name{color:var(--white);}
#aw-locations .aw-place--home p{color:rgba(246,244,239,.84);}
#aw-locations .aw-more{
  display:flex;align-items:center;justify-content:center;gap:12px;max-width:860px;margin:clamp(32px,3.6vw,48px) auto 0;padding-top:clamp(24px,2.6vw,32px);
  border-top:1.5px dashed rgba(11,122,114,.3);text-align:left;
  font-family:var(--f-head);font-weight:600;font-size:clamp(16px,1.3vw,18.5px);line-height:1.5;letter-spacing:-.005em;color:var(--deep);
}
#aw-locations .aw-more__pin{display:flex;flex:none;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:rgba(0,209,193,.16);color:var(--teal-dark);}

#aw-abroad .aw-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,2vw,28px);}
#aw-abroad .aw-panel{padding:clamp(26px,3vw,42px);border:1px solid rgba(14,42,51,.07);border-radius:22px;background:var(--white);box-shadow:0 24px 50px -38px rgba(14,42,51,.35);}
#aw-abroad .aw-panel__ico{display:flex;align-items:center;justify-content:center;width:52px;height:52px;margin-bottom:20px;border-radius:14px;background:var(--deep);color:var(--teal);}
#aw-abroad .aw-panel__ico svg{display:block;width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
#aw-abroad .aw-panel__head{margin:0 0 14px;padding:0;border:0;text-transform:none;font-family:var(--f-head);font-weight:700;font-size:clamp(21px,1.9vw,27px);line-height:1.22;letter-spacing:-.018em;color:var(--deep);}
#aw-abroad .aw-panel p{font-size:clamp(15px,1.1vw,16px);line-height:1.7;color:rgba(27,31,34,.72);text-align:justify;text-justify:inter-word;}
#aw-abroad .aw-panel p + p{margin-top:1em;}
#aw-abroad .oc-book.aw-where{max-width:1000px;margin-top:clamp(36px,4.2vw,56px);padding-top:clamp(34px,4vw,52px);}
#aw-abroad .aw-where__head{margin:0;padding:0;border:0;text-transform:none;text-wrap:balance;font-family:var(--f-head);font-weight:700;font-size:clamp(23px,2.3vw,33px);line-height:1.2;letter-spacing:-.02em;color:var(--white);}
#aw-abroad .aw-where__head::after{content:"";display:block;width:56px;height:4px;margin:16px auto 0;border-radius:4px;background:var(--teal);}
#aw-abroad .oc-book p.aw-where__text{max-width:760px;margin:18px auto clamp(24px,2.8vw,34px);font-size:clamp(15px,1.12vw,16.5px);line-height:1.7;color:rgba(246,244,239,.86);text-wrap:pretty;}

@media (max-width:1100px){ #aw-locations .aw-places{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (max-width:900px){
  #aw-abroad .aw-pair{grid-template-columns:minmax(0,1fr);}
  #aw-abroad .aw-panel p{text-align:left;}
}
@media (max-width:600px){
  #aw-locations .aw-places{grid-template-columns:minmax(0,1fr);}
  #aw-locations .aw-more{align-items:flex-start;}
}
@media (prefers-reduced-motion:reduce){ #aw-locations .aw-place{transition:none;} #aw-locations .aw-place:hover{transform:none;} }

/* ==========================================================================
   AREAS WE SERVE: CONTACT, WHY CHOOSE US, READY, RESOURCES  (areas-we-serve.php)
   - Contact: the four ways to reach us as link cards, four to a row (two on tablets, one on phones): a line icon on a Deep square,
     the label small and uppercase, the number or address in the heading font; the office card adds its note.
   - Why choose us: the numbered rows (#crest-edge); "Here is what you can expect..." in the heading font under the opening paragraph.
   - Ready: the button and its line centred under the paragraphs.
   - Resources & Blogs: the home page's cards, on Paper here.
   ========================================================================== */
:is(#aw-contact,#cu-contact) .aw-ways{--g:clamp(14px,1.6vw,20px);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--g);}
:is(#aw-contact,#cu-contact) a.aw-way,:is(#aw-contact,#cu-contact) a.aw-way:visited{
  display:flex;flex-direction:column;align-items:flex-start;padding:clamp(22px,2.2vw,30px);border:1px solid rgba(14,42,51,.08);border-radius:20px;
  background:var(--paper);color:var(--deep);text-decoration:none;
  transition:border-color .3s ease,box-shadow .4s ease,transform .4s ease,background-color .3s ease;
}
:is(#aw-contact,#cu-contact) a.aw-way:hover{border-color:rgba(11,122,114,.4);background:var(--white);box-shadow:0 22px 44px -30px rgba(14,42,51,.45);transform:translateY(-3px);text-decoration:none;}
:is(#aw-contact,#cu-contact) a.aw-way:focus{outline:none;}
:is(#aw-contact,#cu-contact) a.aw-way:focus-visible{outline:3px solid var(--teal);outline-offset:3px;}
:is(#aw-contact,#cu-contact) .aw-way__ico{display:flex;align-items:center;justify-content:center;width:50px;height:50px;margin-bottom:18px;border-radius:14px;background:var(--deep);color:var(--teal);transition:background-color .3s ease,color .3s ease;}
:is(#aw-contact,#cu-contact) a.aw-way:hover .aw-way__ico{background:#C8F03C;color:var(--deep);}
:is(#aw-contact,#cu-contact) .aw-way__ico svg{display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
:is(#aw-contact,#cu-contact) .aw-way__name{font-family:var(--f-body);font-weight:700;font-size:12.5px;line-height:1.3;letter-spacing:.16em;text-transform:uppercase;color:var(--teal-dark);}
:is(#aw-contact,#cu-contact) .aw-way__val{margin-top:8px;font-family:var(--f-head);font-weight:600;font-size:clamp(15px,1.15vw,17px);line-height:1.4;letter-spacing:-.005em;color:var(--deep);}
:is(#aw-contact,#cu-contact) .aw-nw{white-space:nowrap;}   /* a phone number never splits; the email breaks only after its @ */
:is(#aw-contact,#cu-contact) .aw-way__note{margin-top:8px;font-size:14px;line-height:1.55;color:rgba(27,31,34,.66);}
#aw-contact .oc-book{margin-top:clamp(36px,4.2vw,56px);}

.crest-areas-we-serve #crest-edge .eg-intro p.eg-lead{margin-top:1.3em;text-align:left;font-family:'Poppins','Segoe UI',Arial,sans-serif;font-weight:600;font-size:clamp(17px,1.4vw,20px);line-height:1.4;letter-spacing:-.01em;color:#FFFFFF;}

#aw-ready .aw-ready__book{margin-top:clamp(26px,3vw,36px);text-align:center;}
#aw-ready .aw-ready__book p{max-width:600px;margin:16px auto 0;text-wrap:balance;font-size:clamp(15px,1.1vw,16px);line-height:1.6;color:rgba(27,31,34,.72);}
#aw-ready .os-head{margin-bottom:0;}
#aw-ready .os-head .os-sub + .os-sub{margin-top:10px;}

.crest-areas-we-serve #crest-resources{background:#F6F4EF;}
.crest-areas-we-serve #crest-resources .rs-title span{display:inline;}   /* one line, like the page's other short titles */

@media (max-width:1100px){ :is(#aw-contact,#cu-contact) .aw-ways{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (max-width:600px){ :is(#aw-contact,#cu-contact) .aw-ways{grid-template-columns:minmax(0,1fr);} }
@media (prefers-reduced-motion:reduce){ :is(#aw-contact,#cu-contact) a.aw-way{transition:none;} :is(#aw-contact,#cu-contact) a.aw-way:hover{transform:none;} }

/* ==========================================================================
   RESOURCES: "FREE, NO-OBLIGATION, PROJECT FEASIBILITY REVIEW — WORTH KES 60,000"  (resources.php, #rs-review)
   - The page header's long title a little smaller, so it sits on two lines on desktop.
   - The bold line under the title is the Our Story consultation's (.oc-lead); the two paragraphs in a readable column, the 7–10% in Teal Dark.
   - "Seven Cost Exposures to Catch Early" on a Deep panel with the measuring scale along its foot: the seven numbered 01-07 in two
     columns (fine lines between the rows), each name in white, the last across both columns; one column on phones and small tablets.
   - "What You'll Leave With" centred under a short Teal bar; then the Our Story booking panel (.oc-book).
   ========================================================================== */
#crest-pagehead .ph-title--long{max-width:960px;margin-left:auto;margin-right:auto;font-size:clamp(34px,4vw,58px);text-wrap:balance;}
#rs-review .oc-lead{max-width:820px;text-wrap:balance;}
#rs-review .os-title .rr-nw,#rs-review .rr-nw{display:inline;white-space:nowrap;color:inherit;}   /* "No-Obligation" never splits at its hyphen */
@media (max-width:400px){ #rs-review a.oc-btn{font-size:14.5px;} }   /* small phones: the long button label on two lines */
#rs-review .rr-copy{max-width:900px;margin:0 auto;}
#rs-review .rr-copy strong.rr-key{font-weight:700;color:var(--teal-dark);}

#rs-review .rr-risks{
  position:relative;overflow:hidden;max-width:1080px;margin:clamp(44px,5vw,68px) auto 0;
  padding:clamp(30px,4vw,56px) clamp(22px,4vw,56px) clamp(40px,4.8vw,64px);border-radius:28px;background:var(--deep);
  box-shadow:0 40px 80px -50px rgba(14,42,51,.7);
}
#rs-review .rr-risks::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:16px;opacity:.3;pointer-events:none;
  background:
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 60px) 0 100%/100% 16px no-repeat,
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 12px) 0 100%/100% 8px no-repeat;
}
#rs-review .rr-risks__head,#rs-review .rr-leave__head{margin:0;padding:0;border:0;text-align:center;text-transform:none;font-family:var(--f-head);font-weight:700;font-size:clamp(21px,1.9vw,27px);line-height:1.25;letter-spacing:-.018em;}
#rs-review .rr-risks__head{color:var(--white);}
#rs-review .rr-risks__head::after,#rs-review .rr-leave__head::after{content:"";display:block;width:56px;height:4px;margin:16px auto 0;border-radius:4px;background:var(--teal);}
#rs-review .rr-list{counter-reset:rr;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(28px,4vw,56px);margin:clamp(24px,2.8vw,36px) 0 0;padding:0;list-style:none;}
#rs-review .rr-list li{
  counter-increment:rr;position:relative;margin:0;padding:18px 0 18px 58px;list-style:none;border-top:1px solid rgba(246,244,239,.12);
}
#rs-review .rr-list li:nth-child(-n+2){border-top:0;}
#rs-review .rr-list li:last-child:nth-child(odd){grid-column:1 / -1;}
#rs-review .rr-list li::before{
  content:counter(rr,decimal-leading-zero);position:absolute;left:0;top:16px;
  display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1.5px solid rgba(0,209,193,.55);border-radius:12px;
  font-family:var(--f-head);font-weight:700;font-size:14.5px;line-height:1;color:var(--teal);
}
#rs-review .rr-list p{font-size:clamp(15px,1.08vw,16px);line-height:1.6;color:rgba(246,244,239,.8);}
#rs-review .rr-list strong.rr-name{display:block;margin-bottom:4px;font-family:var(--f-head);font-weight:600;font-size:clamp(16px,1.2vw,17.5px);line-height:1.35;letter-spacing:-.008em;color:var(--white);}

#rs-review .rr-leave{max-width:820px;margin:clamp(44px,5vw,64px) auto 0;text-align:center;}
#rs-review .rr-leave__head{color:var(--deep);}
#rs-review .rr-leave p{margin-top:18px;text-wrap:balance;font-family:var(--f-head);font-weight:500;font-size:clamp(17px,1.4vw,20px);line-height:1.6;letter-spacing:-.005em;color:var(--deep);}
#rs-review .oc-book{margin-top:clamp(36px,4.2vw,56px);}

@media (max-width:900px){
  #rs-review .rr-copy p{text-align:left;}
}
@media (max-width:760px){
  #rs-review .rr-list{grid-template-columns:minmax(0,1fr);}
  #rs-review .rr-list li:nth-child(2){border-top:1px solid rgba(246,244,239,.12);}
  #rs-review .rr-risks{border-radius:22px;}
}

/* ==========================================================================
   RESOURCES: THE NINE RESOURCES  (resources.php, #rs-hub)
   On Paper. News & Blogs first, across the full width on a Deep card with the measuring scale along its foot: its name and headline on
   the left, its two paragraphs and "Explore" on the right. The other eight as white cards, two to a row, the same height across a row:
   a line icon in a Deep square beside the resource's name (small, uppercase, Teal Dark), the headline in the heading font, the words,
   then "Explore" (the home page's link) at the foot over a fine line. One card under another on phones and small tablets.
   ========================================================================== */
:is(#rs-hub,#cu-stories) .rh-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,1.8vw,24px);}
:is(#rs-hub,#cu-stories) .rh-card{
  display:flex;flex-direction:column;scroll-margin-top:110px;padding:clamp(26px,2.8vw,40px);
  border:1px solid rgba(14,42,51,.07);border-radius:22px;background:var(--white);
  transition:border-color .3s ease,box-shadow .4s ease,transform .4s ease;
}
:is(#rs-hub,#cu-stories) .rh-card:not(.rh-card--lead):hover{border-color:rgba(11,122,114,.35);box-shadow:0 22px 44px -30px rgba(14,42,51,.45);transform:translateY(-3px);}
:is(#rs-hub,#cu-stories) .rh-label{display:flex;align-items:center;gap:14px;margin:0 0 18px;}
:is(#rs-hub,#cu-stories) .rh-ico{display:flex;flex:none;align-items:center;justify-content:center;width:48px;height:48px;border-radius:14px;background:var(--deep);color:var(--teal);transition:background-color .3s ease,color .3s ease;}
:is(#rs-hub,#cu-stories) .rh-card:not(.rh-card--lead):hover .rh-ico{background:#C8F03C;color:var(--deep);}
:is(#rs-hub,#cu-stories) .rh-ico svg{display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
:is(#rs-hub,#cu-stories) .rh-name{font-family:var(--f-body);font-weight:700;font-size:12.5px;line-height:1.35;letter-spacing:.16em;text-transform:uppercase;color:var(--teal-dark);}
:is(#rs-hub,#cu-stories) .rh-head{margin:0;font-family:var(--f-head);font-weight:700;font-size:clamp(19px,1.6vw,23px);line-height:1.28;letter-spacing:-.015em;text-wrap:balance;color:var(--deep);}
:is(#rs-hub,#cu-stories) .rh-body{display:flex;flex:1 1 auto;flex-direction:column;margin-top:14px;}
:is(#rs-hub,#cu-stories) .rh-body > p:not(.rs-foot){font-size:clamp(15px,1.08vw,16px);line-height:1.7;color:rgba(27,31,34,.72);}
:is(#rs-hub,#cu-stories) .rh-body > p + p:not(.rs-foot){margin-top:1em;}
:is(#rs-hub,#cu-stories) .rh-body p.rs-foot{margin-top:auto;padding-top:22px;}
:is(#rs-hub,#cu-stories) .rh-body p.rs-foot::before{content:"";display:block;height:1px;margin-bottom:16px;background:rgba(14,42,51,.1);}
:is(#rs-hub,#cu-stories) .rh-card:not(.rh-card--lead):hover .rs-more__go{background:var(--deep);color:var(--teal);}

/* News & Blogs: the Deep card across the full width */
:is(#rs-hub,#cu-stories) .rh-card--lead{
  position:relative;overflow:hidden;grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);column-gap:clamp(28px,4.4vw,72px);
  padding:clamp(30px,3.8vw,56px) clamp(24px,3.8vw,56px) clamp(42px,4.8vw,66px);border:0;background:var(--deep);box-shadow:0 40px 80px -50px rgba(14,42,51,.7);
}
:is(#rs-hub,#cu-stories) .rh-card--lead::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:16px;opacity:.3;pointer-events:none;
  background:
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 60px) 0 100%/100% 16px no-repeat,
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 12px) 0 100%/100% 8px no-repeat;
}
:is(#rs-hub,#cu-stories) .rh-card--lead .rh-ico{background:#C8F03C;color:var(--deep);}
:is(#rs-hub,#cu-stories) .rh-card--lead .rh-name{color:var(--teal);}
:is(#rs-hub,#cu-stories) .rh-card--lead .rh-head{font-size:clamp(24px,2.4vw,34px);line-height:1.2;letter-spacing:-.02em;color:var(--white);}
:is(#rs-hub,#cu-stories) .rh-card--lead .rh-body{margin-top:0;}
:is(#rs-hub,#cu-stories) .rh-card--lead .rh-body > p:not(.rs-foot){color:rgba(246,244,239,.84);text-align:justify;text-justify:inter-word;}
:is(#rs-hub,#cu-stories) .rh-card--lead .rh-body p.rs-foot::before{background:rgba(246,244,239,.14);}
:is(#rs-hub,#cu-stories) .rh-card--lead a.rs-more,:is(#rs-hub,#cu-stories) .rh-card--lead a.rs-more:visited{color:var(--white);}
:is(#rs-hub,#cu-stories) .rh-card--lead a.rs-more:hover{color:#C8F03C;}
:is(#rs-hub,#cu-stories) .rh-card--lead .rs-more__go{background:rgba(0,209,193,.16);color:var(--teal);}

@media (max-width:900px){
  :is(#rs-hub,#cu-stories) .rh-card--lead{grid-template-columns:minmax(0,1fr);}
  :is(#rs-hub,#cu-stories) .rh-card--lead .rh-body{margin-top:18px;}
  :is(#rs-hub,#cu-stories) .rh-card--lead .rh-body > p:not(.rs-foot){text-align:left;}
}
@media (max-width:760px){
  :is(#rs-hub,#cu-stories) .rh-grid{grid-template-columns:minmax(0,1fr);}
}
@media (max-width:1100px){ :is(#rs-hub,#cu-stories) .rh-name{letter-spacing:.12em;} }   /* the longer names take fewer lines in the narrower cards */
@media (max-width:520px){
  :is(#rs-hub,#cu-stories) .rh-ico{width:44px;height:44px;}
}
@media (prefers-reduced-motion:reduce){ :is(#rs-hub,#cu-stories) .rh-card,:is(#rs-hub,#cu-stories) .rh-ico{transition:none;} :is(#rs-hub,#cu-stories) .rh-card:hover{transform:none;} }

/* ==========================================================================
   CONTACT US  (contact-us.php)
   - The page header: the long headline (as on the Resources page), one button, and the line on the offer under it, small and soft,
     "Worth KES 60,000, free for you." in Teal Dark.
   - "Ready to Determine Your Project Feasibility...": "Here's How to Contact Us" in the heading font under the title; the four link cards
     are the Areas We Serve page's (.aw-way).
   - Who we are: the first two paragraphs on a Deep panel staying in view beside the other four on desktop (the first large, a Lime bar
     above it); the names and figures picked out in Teal Dark; then the Our Story booking panel (.oc-book). One column on tablets and phones.
   ========================================================================== */
#crest-pagehead .ph-note{max-width:720px;margin:clamp(16px,1.8vw,22px) auto 0;text-wrap:balance;font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.6;color:rgba(27,31,34,.66);animation:ph-up .8s .3s var(--ease) both;}
#crest-pagehead .ph-note strong{font-weight:700;color:var(--teal-dark);}
@media (prefers-reduced-motion:reduce){ #crest-pagehead .ph-note{animation:none;} }

#cu-contact .cu-how{margin:16px 0 0;font-family:var(--f-head);font-weight:600;font-size:clamp(18px,1.6vw,22px);line-height:1.4;letter-spacing:-.01em;color:var(--teal-dark);}

#cu-about .cu-row{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(32px,5vw,80px);align-items:start;max-width:1120px;margin:0 auto;}
#cu-about .cu-lead{
  position:sticky;top:130px;overflow:hidden;
  padding:clamp(30px,3.6vw,48px) clamp(26px,3.2vw,44px) clamp(44px,4.6vw,60px);border-radius:24px;background:var(--deep);
  box-shadow:0 40px 80px -50px rgba(14,42,51,.7);
}
#cu-about .cu-lead::before{content:"";display:block;width:56px;height:4px;margin-bottom:clamp(18px,2vw,24px);border-radius:4px;background:#C8F03C;}
#cu-about .cu-lead::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:14px;opacity:.3;pointer-events:none;
  background:
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 60px) 0 100%/100% 14px no-repeat,
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 12px) 0 100%/100% 7px no-repeat;
}
#cu-about .cu-lead p{font-size:clamp(15px,1.1vw,16px);line-height:1.7;color:rgba(246,244,239,.82);}
#cu-about .cu-lead p.cu-lead__big{margin-bottom:1.1em;font-family:var(--f-head);font-weight:600;font-size:clamp(20px,1.85vw,26px);line-height:1.42;letter-spacing:-.015em;text-wrap:pretty;color:var(--white);}
#cu-about .os-copy strong.cu-key{font-weight:700;color:var(--teal-dark);}
#cu-about .oc-book{margin-top:clamp(44px,5vw,68px);}

@media (max-width:900px){
  #cu-about .cu-row{grid-template-columns:minmax(0,1fr);gap:clamp(28px,5vw,40px);}
  #cu-about .cu-lead{position:relative;top:auto;}
}
@media (max-width:520px){ #crest-pagehead .ph-actions a.ph-btn:only-child{flex:1 1 100%;} }

/* ==========================================================================
   CONTACT US, CONTINUED: THE QUOTES, THE FOUNDER, THE SERVICES, THE LOCATIONS  (contact-us.php)
   - The quotes are the Our Story page's (#crest-say), on White here.
   - The founder: the paragraphs in a readable column; "We lead with honesty..." centred as the closing statement, a short Teal bar above it.
   - The services: the Our Story page's cards (.os-svc), on Paper here as the section is White; the seventh across both columns.
   - The locations: the paragraph beside a Deep panel - a Lime pin, "Kenya" large, the countries as tags; one column on tablets and phones.
   ========================================================================== */
.crest-contact-us #crest-say{background:#FFFFFF;}
#cu-founder .cu-key{font-weight:700;color:var(--teal-dark);}
#cu-founder .cu-values{
  max-width:820px;margin:clamp(40px,4.6vw,60px) auto 0;text-align:center;text-wrap:balance;
  font-family:var(--f-head);font-weight:600;font-size:clamp(18px,1.6vw,22px);line-height:1.5;letter-spacing:-.01em;color:var(--deep);
}
#cu-founder .cu-values::before{content:"";display:block;width:56px;height:4px;margin:0 auto clamp(18px,2vw,24px);border-radius:4px;background:var(--teal);}

#cu-services .os-svc{background:var(--paper);}
#cu-services .os-svc:hover{background:var(--white);}
#cu-services .os-svc:last-child:nth-child(odd){grid-column:1 / -1;}

#cu-locations .cu-loc{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(32px,5vw,72px);align-items:center;max-width:1120px;margin:0 auto;}
#cu-locations .os-copy p{font-size:clamp(16px,1.2vw,17.5px);line-height:1.75;}
#cu-locations .cu-map{
  position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;text-align:center;
  padding:clamp(30px,3.6vw,46px) clamp(22px,3vw,40px) clamp(42px,4.6vw,58px);border-radius:24px;
  background:radial-gradient(70% 60% at 50% 0%,rgba(0,209,193,.16),transparent 70%),var(--deep);
  box-shadow:0 40px 80px -50px rgba(14,42,51,.7);
}
#cu-locations .cu-map::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:14px;opacity:.3;pointer-events:none;
  background:
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 60px) 0 100%/100% 14px no-repeat,
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 12px) 0 100%/100% 7px no-repeat;
}
#cu-locations .cu-map__pin{display:flex;align-items:center;justify-content:center;width:58px;height:58px;border-radius:50%;background:#C8F03C;color:var(--deep);box-shadow:0 0 0 10px rgba(200,240,60,.12);}
#cu-locations .cu-map__pin svg{display:block;width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
#cu-locations .cu-map__home{margin-top:16px;font-family:var(--f-head);font-weight:700;font-size:clamp(24px,2.2vw,30px);line-height:1.2;letter-spacing:-.02em;color:var(--white);}
#cu-locations .cu-map__tags{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:20px 0 0;padding:20px 0 0;border-top:1px dashed rgba(0,209,193,.3);list-style:none;}
#cu-locations .cu-map__tags li{margin:0;padding:6px 14px;border:1px solid rgba(0,209,193,.32);border-radius:999px;background:rgba(0,209,193,.07);list-style:none;font-size:14px;font-weight:600;line-height:1.3;color:var(--white);}
#cu-locations .cu-map__tags li.cu-map__more{border-style:dashed;background:transparent;color:var(--teal);}

@media (max-width:900px){
  #cu-locations .cu-loc{grid-template-columns:minmax(0,1fr);gap:clamp(28px,5vw,40px);}
}

/* ==========================================================================
   CONTACT US, CLOSING SECTIONS  (contact-us.php)
   - "Know What Your Project Will Cost...": the paragraphs in a readable column, then the Our Story booking panel (.oc-book).
   - The FAQ (#crest-faq, the home page's): on Paper here, the title on one line; the lists in the answers with a Teal dash before each
     point, its name in Deep; the booking panel under the questions.
   - The latest project stories: the three latest posts as cards on Paper, three to a row (one on phones): the featured image whole, the
     date small and uppercase, the title, the excerpt, then "Read more" (the resource cards' link). Until there are posts, the News & Blogs
     card from the Resources page.
   - "Partnerships, Recognitions & Collaborations" (#crest-proof): on Paper here, as the stories above are on White.
   ========================================================================== */
#cu-cost .os-copy{margin-bottom:0;}
.crest-contact-us :is(#crest-faq,#crest-faq-pm){background:#F6F4EF;}
.crest-contact-us :is(#crest-faq,#crest-faq-pm) .fq-title span{display:inline;}
:is(#crest-faq,#crest-faq-pm) .fq-in ul.fq-points{margin:.9em 0 0;padding:0;list-style:none;}
:is(#crest-faq,#crest-faq-pm) .fq-in ul.fq-points + p{margin-top:.9em;}
:is(#crest-faq,#crest-faq-pm) .fq-in ul.fq-points li{position:relative;margin:0;padding:0 0 0 24px;list-style:none;font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.65;color:rgba(27,31,34,.72);}
:is(#crest-faq,#crest-faq-pm) .fq-in ul.fq-points li + li{margin-top:8px;}
:is(#crest-faq,#crest-faq-pm) .fq-in ul.fq-points li::before{content:"";position:absolute;left:0;top:.8em;width:12px;height:3px;border-radius:3px;background:var(--teal-dark);}
:is(#crest-faq,#crest-faq-pm) .fq-in ul.fq-points strong{font-weight:700;color:var(--deep);}
:is(#crest-faq,#crest-faq-pm) .oc-book{margin-top:clamp(40px,4.6vw,60px);}

#cu-stories .cu-stories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,1.8vw,24px);}
#cu-stories .cu-story{display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(14,42,51,.07);border-radius:20px;background:var(--paper);transition:border-color .3s ease,box-shadow .4s ease,transform .4s ease;}
#cu-stories .cu-story:hover{border-color:rgba(11,122,114,.35);box-shadow:0 22px 44px -30px rgba(14,42,51,.45);transform:translateY(-3px);}
#cu-stories .cu-story__img{display:block;}
#cu-stories .cu-story__img img{display:block;width:100%;height:auto;max-width:none;border:0;}
#cu-stories .cu-story__body{display:flex;flex:1 1 auto;flex-direction:column;padding:clamp(20px,2.2vw,28px);}
#cu-stories .cu-story__date{font-family:var(--f-body);font-weight:700;font-size:12.5px;line-height:1.3;letter-spacing:.14em;text-transform:uppercase;color:var(--teal-dark);}
#cu-stories .cu-story__title{margin:10px 0 0;padding:0;border:0;text-transform:none;font-family:var(--f-head);font-weight:700;font-size:clamp(17px,1.35vw,19.5px);line-height:1.3;letter-spacing:-.012em;color:var(--deep);}
#cu-stories .cu-story__title a{color:inherit;text-decoration:none;}
#cu-stories .cu-story__title a:hover{color:var(--teal-dark);}
#cu-stories .cu-story__text{margin-top:10px;font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.65;color:rgba(27,31,34,.72);}
#cu-stories .cu-story p.rs-foot{margin-top:auto;padding-top:20px;}
#cu-stories .cu-story:hover .rs-more__go{background:var(--deep);color:var(--teal);}
.crest-contact-us #crest-proof{background:#F6F4EF;}

@media (max-width:1000px){ #cu-stories .cu-stories{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (max-width:640px){ #cu-stories .cu-stories{grid-template-columns:minmax(0,1fr);} }
@media (prefers-reduced-motion:reduce){ #cu-stories .cu-story{transition:none;} #cu-stories .cu-story:hover{transform:none;} }

/* ==========================================================================
   CONTACT US: THE CARDS THREE TO A ROW, AND THE CONTACT FORM IN ITS OWN SECTION  (contact-us.php, #cu-contact, #cu-message)
   - The four ways to reach us three to a row, the fourth centred under them; two to a row on tablets, one on phones (on the About Us
     and Case Studies pages too).
   - "Send Us a Message" on Deep: the form on a white card with a soft shadow - name, email and phone side by side, the message across;
     the fields on Paper, Teal Dark when in use; the Lime button. The fields are 16px, so iPhone and iPad do not zoom in when one is tapped.
     Tablets: name and email side by side, phone and message across; phones: one under another.
   ========================================================================== */
:is(#cu-contact,.crest-about-us #aw-contact,.crest-case-studies #aw-contact) .aw-ways{display:flex;flex-wrap:wrap;justify-content:center;}
:is(#cu-contact,.crest-about-us #aw-contact,.crest-case-studies #aw-contact) .aw-ways > .aw-way{flex:0 0 calc((100% - 2 * var(--g)) / 3);min-width:0;}
#cu-contact .aw-way__val{overflow-wrap:anywhere;}   /* a long email address never runs past its card */
@media (max-width:900px){ :is(#cu-contact,.crest-about-us #aw-contact,.crest-case-studies #aw-contact) .aw-ways > .aw-way{flex-basis:calc((100% - var(--g)) / 2);} }
@media (max-width:600px){ :is(#cu-contact,.crest-about-us #aw-contact,.crest-case-studies #aw-contact) .aw-ways > .aw-way{flex-basis:100%;} }

#cu-message .os-title{margin-bottom:clamp(28px,3.2vw,40px);}
#cu-message .cu-form{
  scroll-margin-top:120px;max-width:900px;margin:0 auto;padding:clamp(24px,3.2vw,44px);border-radius:24px;background:var(--white);
  box-shadow:0 40px 80px -40px rgba(0,0,0,.55);
}
#cu-message .cu-form__note{margin:0 0 18px;padding:11px 14px;border-radius:12px;font-size:14.5px;font-weight:600;line-height:1.45;}
#cu-message .cu-form__note--ok{background:rgba(0,209,193,.14);color:var(--teal-dark);}
#cu-message .cu-form__note--bad{background:#F6CFC8;color:#B3261E;}
#cu-message .cu-form__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
#cu-message .cu-field{margin:0;}
#cu-message .cu-field--wide{grid-column:1 / -1;}
#cu-message .cu-form label{display:block;margin:0 0 6px;font-family:var(--f-body);font-weight:600;font-size:13.5px;line-height:1.3;color:var(--deep);}
#cu-message .cu-req{margin-left:2px;color:#B3261E;}
#cu-message .cu-form input,#cu-message .cu-form textarea{
  display:block;width:100%;height:50px;margin:0;padding:0 14px;border:1px solid rgba(14,42,51,.18);border-radius:12px;
  background:var(--paper);color:var(--deep);box-shadow:none;outline:none;
  font-family:var(--f-body);font-weight:500;font-size:16px;line-height:1.4;
  transition:border-color .2s ease,background-color .2s ease,box-shadow .2s ease;
}
#cu-message .cu-form textarea{height:160px;min-height:110px;padding:12px 14px;resize:vertical;}
#cu-message .cu-form input::placeholder,#cu-message .cu-form textarea::placeholder{color:rgba(27,31,34,.42);opacity:1;}
#cu-message .cu-form input:focus,#cu-message .cu-form textarea:focus{border-color:var(--teal-dark);background:var(--white);box-shadow:0 0 0 3px rgba(0,209,193,.25);}
#cu-message .cu-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
#cu-message button.cu-form__btn,#cu-message button.cu-form__btn:focus{
  display:block;width:100%;min-height:56px;margin:20px 0 0;padding:12px 20px;border:0;border-radius:999px;
  background:#C8F03C;color:var(--deep);box-shadow:0 12px 28px -14px rgba(200,240,60,.85);cursor:pointer;text-transform:none;letter-spacing:normal;
  font-family:var(--f-body);font-weight:700;font-size:16.5px;line-height:1.3;transition:background-color .25s ease,transform .25s ease;
}
#cu-message button.cu-form__btn:hover{background:#D6F56A;color:var(--deep);transform:translateY(-1px);}
#cu-message button.cu-form__btn:focus{outline:none;}
#cu-message button.cu-form__btn:focus-visible{outline:3px solid var(--teal-dark);outline-offset:3px;}

@media (max-width:760px){
  #cu-message .cu-form__grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  #cu-message .cu-field:nth-child(3){grid-column:1 / -1;}   /* phone across, under name and email */
}
@media (max-width:520px){
  #cu-message .cu-form__grid{grid-template-columns:minmax(0,1fr);}
}
@media (prefers-reduced-motion:reduce){ #cu-message .cu-form input,#cu-message .cu-form textarea,#cu-message button.cu-form__btn{transition:none;} #cu-message button.cu-form__btn:hover{transform:none;} }

/* ==========================================================================
   CONTRACTORS 3 AND 5  (contractors.php)
   - The line under "Quantity Surveyors in Kenya Who Know Where Contractors Lose Margin" (#crest-wrong): centred, at the size of the other lines.
   - The quotes' long titles (#crest-say, #crest-say-again) keep the room they need on desktop, so they stay on two lines.
   - The consultation (#crest-consult): the two lines under its title a little apart; a step in "how it works" with two paragraphs.
   - The comparison (#crest-compare): its long title keeps the room it needs on desktop.
   ========================================================================== */
#crest-wrong .wr-sub{max-width:760px;margin:16px auto 0;text-align:center;text-wrap:balance;font-size:clamp(15px,1.1vw,16px);line-height:1.65;color:rgba(27,31,34,.72);}
.crest-contractors #crest-consult .cs-sub + .cs-sub{margin-top:10px;}
@media (min-width:1101px){ .crest-contractors #crest-consult .cs-head{max-width:1240px;} .crest-contractors #crest-consult .cs-title{text-wrap:wrap;font-size:clamp(26px,2.1vw,30px);} .crest-contractors #crest-consult .cs-sub{max-width:820px;} }   /* the consultation's long title: a touch smaller, on two lines */
.crest-contractors #crest-consult .dc-how__text p + p{margin-top:1em;}
@media (min-width:1101px){   /* the quotes' long title runs wider than the line under it, so it stays on two lines */
  .crest-contractors :is(#crest-say,#crest-say-again) .rv-head{max-width:1120px;}
  .crest-contractors :is(#crest-say,#crest-say-again) .rv-title{text-wrap:wrap;}
  .crest-contractors :is(#crest-say,#crest-say-again) .rv-sub{max-width:760px;}
}

/* ==========================================================================
   ABOUT US PAGE  (about-us.php)
   - The page header's long headline on two lines on desktop and tablets, "& Project Management Firm" on the second.
   - "...Supporting Your Projects from Concept to Completion": the photo (whole, rounded, staying in view on desktop) beside the seven
     paragraphs; "You don't have to manage these pressures..." as the turning point in the heading font, Teal Dark, a short Teal bar
     above it. The booking panel is the Our Story page's (.oc-book). Tablets and phones: the photo above the paragraphs.
   - The quotes (#crest-say) on Paper, their long title on two lines on desktop.
   - The nine services: white cards, three to a row (two on tablets, one on phones), the same height across a row.
   ========================================================================== */
#au-concept .au-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,4.6vw,72px);align-items:start;}
#au-concept .au-photo{position:sticky;top:130px;margin:0;}
#au-concept .au-photo img{display:block;width:100%;height:auto;max-width:none;border:0;border-radius:20px;box-shadow:0 24px 48px -28px rgba(14,42,51,.5);}
#au-concept .os-copy p.au-turn{
  margin-top:1.4em;margin-bottom:.4em;text-align:left;
  font-family:var(--f-head);font-weight:600;font-size:clamp(18px,1.5vw,21px);line-height:1.45;letter-spacing:-.01em;color:var(--teal-dark);
}
#au-concept .os-copy p.au-turn::before{content:"";display:block;width:48px;height:4px;margin-bottom:14px;border-radius:4px;background:var(--teal);}
#au-concept .oc-book,#au-across .oc-book{margin-top:clamp(40px,4.6vw,60px);}

@media (min-width:901px){   /* the page header's long headline: "& Project Management Firm" on its own line, in Teal Dark */
  .crest-about-us #crest-pagehead .ph-title--long{max-width:1120px;font-size:clamp(34px,3.8vw,54px);}
  .crest-about-us #crest-pagehead .ph-title--long span{display:block;}
}
@media (max-width:400px){ .crest-about-us #crest-pagehead .ph-title--long{font-size:clamp(27px,8vw,31px);} }   /* small phones: the long headline in fewer lines */
.crest-about-us #crest-say{background:#F6F4EF;}
@media (min-width:1101px){
  .crest-about-us #crest-say .rv-head{max-width:1120px;}
  .crest-about-us #crest-say .rv-title{text-wrap:wrap;}
}

#au-services .os-head .os-sub + .os-sub{margin-top:10px;}
#au-services .au-svcs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,1.8vw,24px);}
#au-services .au-svc{
  display:flex;flex-direction:column;padding:clamp(22px,2.4vw,32px);border:1px solid rgba(14,42,51,.07);border-radius:20px;background:var(--white);
  transition:border-color .3s ease,box-shadow .4s ease,transform .4s ease;
}
#au-services .au-svc:hover{border-color:rgba(11,122,114,.35);box-shadow:0 22px 44px -30px rgba(14,42,51,.45);transform:translateY(-3px);}
#au-services .au-svc__top{display:flex;align-items:center;gap:14px;margin-bottom:16px;}
#au-services .au-svc__ico{display:flex;flex:none;align-items:center;justify-content:center;width:48px;height:48px;border-radius:14px;background:var(--deep);color:var(--teal);transition:background-color .3s ease,color .3s ease;}
#au-services .au-svc:hover .au-svc__ico{background:#C8F03C;color:var(--deep);}
#au-services .au-svc__ico svg{display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
#au-services .au-svc__name{margin:0;padding:0;border:0;text-transform:none;font-family:var(--f-head);font-weight:700;font-size:clamp(17px,1.3vw,19px);line-height:1.3;letter-spacing:-.012em;color:var(--deep);}
#au-services .au-svc p{font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.65;color:rgba(27,31,34,.72);}
#au-services .au-svc p + p{margin-top:.8em;}
#au-services .au-svc p.au-svc__lead{font-weight:500;color:var(--deep);}
#au-services .au-svc__list{margin:auto 0 0;padding:18px 0 0;list-style:none;}
#au-services .au-svc p + .au-svc__list{margin-top:18px;}
#au-services .au-svc__list{border-top:1px solid rgba(14,42,51,.1);}
#au-services .au-svc__list li{display:grid;grid-template-columns:20px minmax(0,1fr);column-gap:10px;align-items:start;margin:0;padding:0;list-style:none;font-size:clamp(14px,1vw,15px);line-height:1.5;color:var(--deep);}
#au-services .au-svc__list li + li{margin-top:9px;}
#au-services .au-tick{display:flex;align-items:center;justify-content:center;width:20px;height:20px;margin-top:1px;border-radius:50%;background:rgba(0,209,193,.16);color:var(--teal-dark);}
#au-services .au-tick svg{display:block;width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;}

@media (max-width:1100px){ #au-services .au-svcs{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (max-width:900px){
  #au-concept .au-row{grid-template-columns:minmax(0,1fr);gap:28px;}
  #au-concept .au-photo{position:relative;top:auto;max-width:760px;margin:0 auto;}
}
@media (max-width:680px){ #au-services .au-svcs{grid-template-columns:minmax(0,1fr);} }
@media (prefers-reduced-motion:reduce){ #au-services .au-svc,#au-services .au-svc__ico{transition:none;} #au-services .au-svc:hover{transform:none;} }

/* ==========================================================================
   ABOUT US PAGE, CONTINUED  (about-us.php)
   - "How to Choose...": the numbered rows (#crest-edge); the booking panel under them outlined on the Deep band, so it still reads as a panel.
   - "Our ... Team in Kenya": the paragraphs on the left, the team photo (whole, rounded, staying in view on desktop) on the right;
     tablets and phones: the photo first, then the paragraphs.
   ========================================================================== */
.crest-about-us #crest-edge .oc-book{margin-top:clamp(40px,4.6vw,60px);border:1px solid rgba(246,244,239,.14);background:rgba(255,255,255,.04);}
#au-team .au-team{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(32px,4.6vw,72px);align-items:start;}
#au-team .au-photo{position:sticky;top:130px;margin:0;}
#au-team .au-photo img{display:block;width:100%;height:auto;max-width:none;border:0;border-radius:20px;box-shadow:0 24px 48px -28px rgba(14,42,51,.5);}
#au-team .oc-book{margin-top:clamp(40px,4.6vw,60px);}
@media (min-width:1101px){ #au-team .os-head{max-width:1120px;} #au-team .os-title{text-wrap:wrap;} }   /* the long title on two lines */
@media (max-width:900px){
  #au-team .au-team{grid-template-columns:minmax(0,1fr);gap:28px;}
  #au-team .au-photo{order:-1;position:relative;top:auto;max-width:760px;margin:0 auto;}
}

/* ==========================================================================
   ABOUT US: THE FOUNDER, THE BUDGET, WHERE WE'RE GOING  (about-us.php)
   - The founder: his name, then "Founder & Lead Quantity Surveyor" on its own line in Teal Dark (the " | " hidden); the credentials as
     cards, three then two (centred; two to a row on tablets, one on phones), each logo on a white tile; the ones still being worked
     towards with a dashed outline; their links in Teal Dark; the closing paragraph centred under a short Teal bar.
   - The budget: the guarantee on a Deep panel between the paragraphs, its figure in Lime.
   - "Where We Began" and "Where We're Going" use the Our Story page's styles (#os-began, .os-sec--deep).
   ========================================================================== */
#au-founder .au-pipe{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;}
#au-founder .os-head .os-sub{max-width:860px;}
#au-founder .au-cred__head{
  margin:0 0 clamp(22px,2.6vw,32px);padding:0;border:0;text-align:center;text-transform:none;text-wrap:balance;
  font-family:var(--f-head);font-weight:700;font-size:clamp(20px,1.8vw,25px);line-height:1.3;letter-spacing:-.015em;color:var(--deep);
}
#au-founder .au-cred__head::after{content:"";display:block;width:56px;height:4px;margin:14px auto 0;border-radius:4px;background:var(--teal);}
#au-founder .au-creds{--g:clamp(16px,1.8vw,24px);display:flex;flex-wrap:wrap;justify-content:center;gap:var(--g);}
#au-founder .au-cred{
  flex:0 0 calc((100% - 2 * var(--g)) / 3);min-width:0;display:flex;flex-direction:column;
  padding:clamp(22px,2.4vw,30px);border:1px solid rgba(14,42,51,.1);border-radius:20px;background:var(--paper);
}
#au-founder .au-cred--wip{border:1.5px dashed rgba(11,122,114,.38);background:var(--white);}
#au-founder .au-cred__logo{display:flex;align-items:center;justify-content:center;height:84px;margin-bottom:18px;padding:12px 16px;border:1px solid rgba(14,42,51,.07);border-radius:14px;background:var(--white);}
#au-founder .au-cred__logo img{display:block;width:auto;height:auto;max-width:100%;max-height:58px;border:0;object-fit:contain;}
#au-founder .au-cred__ico{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:14px;background:var(--deep);color:var(--teal);}
#au-founder .au-cred__ico svg{display:block;width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
#au-founder .au-cred__name{margin:0 0 10px;padding:0;border:0;text-transform:none;font-family:var(--f-head);font-weight:700;font-size:clamp(17px,1.3vw,19px);line-height:1.3;letter-spacing:-.012em;color:var(--deep);}
#au-founder .au-cred p{font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.65;color:rgba(27,31,34,.72);}
#au-founder .au-cred a,#au-founder .au-cred a:visited{color:var(--teal-dark);font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;}
#au-founder .au-cred a:hover{color:var(--deep);}
#au-founder .au-cred__close{
  max-width:820px;margin:clamp(40px,4.6vw,60px) auto 0;text-align:center;text-wrap:balance;
  font-family:var(--f-head);font-weight:600;font-size:clamp(17px,1.45vw,20px);line-height:1.55;letter-spacing:-.01em;color:var(--deep);
}
#au-founder .au-cred__close::before{content:"";display:block;width:56px;height:4px;margin:0 auto clamp(18px,2vw,24px);border-radius:4px;background:var(--teal);}

#au-budget .os-copy p.au-guarantee{
  position:relative;overflow:hidden;margin:1.6em 0;padding:clamp(24px,3vw,36px) clamp(22px,3vw,36px) clamp(32px,3.6vw,44px);border-radius:20px;background:var(--deep);
  text-align:center;text-wrap:balance;font-family:var(--f-head);font-weight:600;font-size:clamp(18px,1.6vw,22px);line-height:1.5;letter-spacing:-.01em;color:var(--white);
}
#au-budget .os-copy p.au-guarantee strong{font-weight:700;color:#C8F03C;}
#au-budget .os-copy p.au-guarantee::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:14px;opacity:.3;pointer-events:none;
  background:
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 60px) 0 100%/100% 14px no-repeat,
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 12px) 0 100%/100% 7px no-repeat;
}
#au-budget .os-copy p.au-guarantee + p{margin-top:0;}

@media (max-width:1000px){ #au-founder .au-cred{flex-basis:calc((100% - var(--g)) / 2);} }
@media (max-width:640px){ #au-founder .au-cred{flex-basis:100%;} }

/* ==========================================================================
   CASE STUDIES PAGE  (case-studies.php)
   - The page header's long title on two lines on desktop and tablets, "Case Studies" on the second, in Teal Dark.
   - The opening paragraphs (#cs-intro): a readable column; the first a little larger, in Deep, as the lead.
   ========================================================================== */
@media (min-width:901px){
  .crest-case-studies #crest-pagehead .ph-title--long{max-width:1120px;font-size:clamp(34px,3.6vw,50px);}
  .crest-case-studies #crest-pagehead .ph-title--long span{display:block;}
}
#cs-intro .os-copy p.cs-lead{font-size:clamp(17px,1.35vw,19.5px);line-height:1.65;color:var(--deep);}

/* ==========================================================================
   CASE STUDIES PAGE, CONTINUED  (case-studies.php)
   - "Ready to Understand Your Project Costs?...": the Areas We Serve contact cards, white here as the section is on Paper; the long title
     on two lines on desktop.
   - "Case Studies | What Our Clients Think": the Our Story quotes; "What Our Clients Think" on its own line in Teal Dark (the " | " hidden).
   - The locations: three white cards side by side, a line icon on a Deep square, then the closing statement centred.
   - "Blogs & Resources": the home page's cards, the title on one line, on White here (the cards on Paper).
   - "Partnerships...": on Paper here.
   ========================================================================== */
.crest-case-studies #aw-contact a.aw-way,.crest-case-studies #aw-contact a.aw-way:visited{background:#FFFFFF;}
.crest-case-studies #aw-contact a.aw-way:hover{background:#FFFFFF;}
@media (min-width:1101px){ .crest-case-studies #aw-contact .os-head{max-width:1120px;} }   /* the long title: wider, its lines balanced */
.crest-case-studies #crest-say .cs-pipe{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;}

#cs-locations .cs-places{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,1.8vw,24px);}
#cs-locations .cs-place{padding:clamp(24px,2.6vw,34px);border:1px solid rgba(14,42,51,.07);border-radius:22px;background:var(--white);box-shadow:0 24px 50px -38px rgba(14,42,51,.35);}
#cs-locations .cs-place__ico{display:flex;align-items:center;justify-content:center;width:52px;height:52px;margin-bottom:18px;border-radius:14px;background:var(--deep);color:var(--teal);}
#cs-locations .cs-place__ico svg{display:block;width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
#cs-locations .cs-place__name{margin:0 0 12px;padding:0;border:0;text-transform:none;font-family:var(--f-head);font-weight:700;font-size:clamp(18px,1.5vw,21px);line-height:1.28;letter-spacing:-.015em;color:var(--deep);}
#cs-locations .cs-place p{font-size:clamp(15px,1.08vw,16px);line-height:1.7;color:rgba(27,31,34,.72);}
#cs-locations .cs-close{
  max-width:820px;margin:clamp(40px,4.6vw,60px) auto 0;text-align:center;text-wrap:balance;
  font-family:var(--f-head);font-weight:600;font-size:clamp(18px,1.6vw,22px);line-height:1.5;letter-spacing:-.01em;color:var(--deep);
}
#cs-locations .cs-close::before{content:"";display:block;width:56px;height:4px;margin:0 auto clamp(18px,2vw,24px);border-radius:4px;background:var(--teal);}

.crest-case-studies #crest-resources{background:#FFFFFF;}
.crest-case-studies #crest-resources .rs-item{background:#F6F4EF;}
.crest-case-studies #crest-resources .rs-title span{display:inline;}
.crest-case-studies #crest-proof{background:#F6F4EF;}

@media (max-width:1100px){ #cs-locations .cs-places{grid-template-columns:minmax(0,1fr);max-width:760px;margin:0 auto;} }   /* small laptops, tablets and phones: one readable column */
@media (max-width:400px){ .crest-case-studies #crest-pagehead .ph-title--long{font-size:clamp(27px,8vw,31px);} }   /* small phones: the long headline in fewer lines */

/* ==========================================================================
   FAQS PAGE  (faqs.php)
   - The page header's long title, balanced on two lines on desktop ("Frequently Asked Questions" in Teal Dark).
   - The two lists of questions (#crest-faq on White, #crest-faq-pm on Paper): each ends in the Deep panel with its closing line over
     two buttons, the Lime one (it opens the booking pop-up) and an outlined one (the Project Cost Calculator).
   - "Why Choose Crest Cost Consultants?" (#crest-edge): "What Makes Crest Cost Different?" centred over the rows; each row's short
     line in Teal.
   - "How the Process Works" (#fq-process): the nine steps down a Teal line, each number in a Deep circle.
   - Partnerships (#crest-proof) on Paper with its paragraph under the title; Resources (#crest-resources) on White, cards on Paper.
   ========================================================================== */
.crest-faqs #crest-pagehead .ph-title--long{max-width:1120px;font-size:clamp(32px,3.4vw,48px);text-wrap:balance;}
@media (max-width:400px){ .crest-faqs #crest-pagehead .ph-title--long{font-size:clamp(26px,7.6vw,30px);} }   /* small phones: the long headline in fewer lines */

.crest-faqs #crest-faq-pm{background:#F6F4EF;}
.crest-faqs :is(#crest-faq,#crest-faq-pm) .oc-book.fq-ready{margin-top:clamp(40px,4.6vw,60px);}
.crest-faqs :is(#crest-faq,#crest-faq-pm) .oc-book p.fq-ready__line{
  max-width:720px;margin:0 auto clamp(22px,2.4vw,30px);text-wrap:balance;
  font-family:'Poppins','Segoe UI',Arial,sans-serif;font-weight:600;font-size:clamp(18px,1.6vw,22px);line-height:1.45;letter-spacing:-.01em;color:#FFFFFF;
}
.crest-faqs :is(#crest-faq,#crest-faq-pm) .fq-ready__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;}
.crest-faqs :is(#crest-faq,#crest-faq-pm) a.oc-btn.oc-btn--line,.crest-faqs :is(#crest-faq,#crest-faq-pm) a.oc-btn.oc-btn--line:visited,.crest-faqs :is(#crest-faq,#crest-faq-pm) a.oc-btn.oc-btn--line:focus{
  background:transparent;color:#FFFFFF;box-shadow:inset 0 0 0 1.5px rgba(246,244,239,.55);
}
.crest-faqs :is(#crest-faq,#crest-faq-pm) a.oc-btn.oc-btn--line:hover{background:rgba(255,255,255,.08);color:#FFFFFF;box-shadow:inset 0 0 0 1.5px #00D1C1;}

.crest-faqs #crest-edge .eg-subhead{
  margin:0 0 clamp(22px,2.6vw,34px);text-align:center;text-wrap:balance;
  font-family:'Poppins','Segoe UI',Arial,sans-serif;font-weight:700;font-size:clamp(21px,2vw,28px);line-height:1.25;letter-spacing:-.015em;color:#FFFFFF;
}
.crest-faqs #crest-edge h4.eg-name{margin:0;border:0;text-transform:none;text-wrap:pretty;}
.crest-faqs .fq-nb{white-space:nowrap;}   /* "Cost-Saving" and "No-Obligation" kept whole, never broken at the hyphen */
.crest-faqs #crest-edge .eg-body p.eg-tag{
  font-family:'Poppins','Segoe UI',Arial,sans-serif;font-weight:600;font-size:clamp(15.5px,1.2vw,17px);line-height:1.45;letter-spacing:-.005em;color:#00D1C1;
}
.crest-faqs #crest-edge .eg-body p.eg-tag + p{margin-top:.55em;}

:is(#fq-process,#pr-how,#cpd-how) .pw-steps{max-width:900px;margin:0 auto;padding:0;list-style:none;}
:is(#fq-process,#pr-how,#cpd-how) .pw-step{
  position:relative;display:grid;grid-template-columns:52px minmax(0,1fr);column-gap:clamp(18px,2.4vw,30px);
  margin:0;padding:0 0 clamp(30px,3.4vw,44px);list-style:none;
}
:is(#fq-process,#pr-how,#cpd-how) .pw-step:last-child{padding-bottom:0;}
:is(#fq-process,#pr-how,#cpd-how) .pw-step:not(:last-child)::before{
  content:"";position:absolute;left:25px;top:60px;bottom:8px;width:2px;border-radius:2px;background:linear-gradient(#00D1C1,rgba(0,209,193,.15));
}
:is(#fq-process,#pr-how,#cpd-how) .pw-num{
  display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:50%;background:#0E2A33;color:#00D1C1;
  font-family:'Poppins','Segoe UI',Arial,sans-serif;font-weight:700;font-size:19px;line-height:1;box-shadow:0 10px 24px -14px rgba(14,42,51,.6);
}
:is(#fq-process,#pr-how,#cpd-how) .pw-name{
  margin:0;padding:11px 0 0;border:0;text-transform:none;text-wrap:balance;
  font-family:'Poppins','Segoe UI',Arial,sans-serif;font-weight:600;font-size:clamp(18px,1.5vw,21px);line-height:1.3;letter-spacing:-.012em;color:#0E2A33;
}
:is(#fq-process,#pr-how,#cpd-how) p.pw-tag{margin:6px 0 0;font-weight:700;font-size:clamp(15px,1.1vw,16px);line-height:1.5;color:#0B7A72;}
:is(#fq-process,#pr-how,#cpd-how) .pw-body p{margin:.8em 0 0;font-size:clamp(15px,1.1vw,16px);line-height:1.7;color:rgba(27,31,34,.72);text-align:justify;text-justify:inter-word;}
@media (max-width:900px){ :is(#fq-process,#pr-how,#cpd-how) .pw-body p{text-align:left;} }
@media (max-width:600px){
  :is(#fq-process,#pr-how,#cpd-how) .pw-step{grid-template-columns:42px minmax(0,1fr);column-gap:16px;}
  :is(#fq-process,#pr-how,#cpd-how) .pw-step:not(:last-child)::before{left:20px;top:50px;}
  :is(#fq-process,#pr-how,#cpd-how) .pw-num{width:42px;height:42px;font-size:16px;}
  :is(#fq-process,#pr-how,#cpd-how) .pw-name{padding-top:7px;}
}

.crest-faqs #crest-say .rv-title span{display:inline;}
.crest-faqs #crest-proof{background:#F6F4EF;}
.crest-faqs #crest-proof .pf-title{margin-bottom:clamp(16px,1.8vw,22px);}
.crest-faqs #crest-proof p.pf-sub{
  max-width:900px;margin:0 auto clamp(36px,4.2vw,56px);padding:0;
  font-family:'DM Sans','Segoe UI',Arial,sans-serif;font-size:clamp(15px,1.1vw,16px);line-height:1.7;color:rgba(27,31,34,.72);text-align:justify;text-justify:inter-word;
}
@media (max-width:900px){ .crest-faqs #crest-proof p.pf-sub{text-align:left;} }
.crest-faqs #os-consult .os-copy{margin-top:0;}
.crest-faqs #crest-resources{background:#FFFFFF;}
.crest-faqs #crest-resources .rs-item{background:#F6F4EF;}
.crest-faqs #crest-resources .rs-sub{max-width:760px;margin-left:auto;margin-right:auto;text-wrap:balance;}

/* ==========================================================================
   CAREERS PAGE  (careers.php)
   - The page header: the long title balanced ("Careers" in Teal Dark), its line in bold under it.
   - The roles (#cr-roles): the numbered list beside the application form on a soft Paper card (one under the other below 1000px);
     each role's "Apply" link a small outlined pill.
   - "What to Know Before Applying" (#cr-know) and "Grow With..." (#cr-grow): the Our Story consultation cards and closing line.
   - The team's quotes (#crest-say) on Paper, the title on one line, the line saying they will follow; Partnerships on White.
   ========================================================================== */
.crest-careers #crest-pagehead .ph-title--long{max-width:1000px;}
:is(.crest-careers,.crest-knowledge-base,.crest-calculators,.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) #crest-pagehead .ph-lead{
  max-width:820px;margin:clamp(14px,1.6vw,22px) auto clamp(16px,1.8vw,22px);text-align:center;text-wrap:balance;
  font-family:'Poppins','Segoe UI',Arial,sans-serif;font-weight:600;font-size:clamp(18px,1.7vw,24px);line-height:1.35;letter-spacing:-.012em;color:#0B7A72;
  animation:ph-up .8s .15s cubic-bezier(.16,.84,.24,1) both;
}
@media (prefers-reduced-motion:reduce){ :is(.crest-careers,.crest-knowledge-base,.crest-calculators,.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) #crest-pagehead .ph-lead{animation:none;} }
@media (max-width:400px){ .crest-careers #crest-pagehead .ph-title--long{font-size:clamp(27px,8vw,31px);} }   /* small phones: the long headline in fewer lines */

#cr-roles .cr-row{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(28px,4vw,60px);align-items:start;}
#cr-roles .cr-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;}

/* the roles */
#cr-roles ol.cr-jobs{display:flex;flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;}
@media (min-width:1001px){ #cr-roles ol.cr-jobs{position:sticky;top:130px;} }   /* desktop: the roles stay in view beside the taller form */
#cr-roles li.cr-job{
  display:flex;align-items:center;gap:clamp(12px,1.4vw,18px);margin:0;padding:clamp(16px,1.6vw,20px) clamp(16px,1.8vw,22px);list-style:none;
  border:1px solid rgba(14,42,51,.1);border-radius:16px;background:#FFFFFF;box-shadow:0 14px 30px -26px rgba(14,42,51,.45);
  transition:border-color .25s ease,box-shadow .3s ease;
}
#cr-roles li.cr-job:hover{border-color:rgba(11,122,114,.4);box-shadow:0 18px 34px -24px rgba(14,42,51,.45);}
#cr-roles .cr-job__num{
  flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:#0E2A33;color:#00D1C1;
  font-family:'Poppins','Segoe UI',Arial,sans-serif;font-weight:700;font-size:14.5px;line-height:1;font-variant-numeric:tabular-nums;
}
#cr-roles h3.cr-job__title{
  flex:1 1 auto;min-width:0;margin:0;padding:0;border:0;text-transform:none;text-wrap:pretty;
  font-family:'Poppins','Segoe UI',Arial,sans-serif;font-weight:600;font-size:clamp(16px,1.25vw,18px);line-height:1.3;letter-spacing:-.01em;color:#0E2A33;
}
#cr-roles a.cr-job__apply,#cr-roles a.cr-job__apply:visited{
  flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 16px;border-radius:999px;
  box-shadow:inset 0 0 0 1.5px #0B7A72;background:transparent;color:#0B7A72;text-decoration:none;
  font-family:'DM Sans','Segoe UI',Arial,sans-serif;font-weight:700;font-size:14.5px;line-height:1;transition:background-color .2s ease,color .2s ease;
}
#cr-roles a.cr-job__apply svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
#cr-roles a.cr-job__apply:hover{background:#0B7A72;color:#FFFFFF;text-decoration:none;}
#cr-roles a.cr-job__apply:focus-visible{outline:3px solid #00D1C1;outline-offset:2px;}

/* the application form */
#cr-roles .cr-form{
  scroll-margin-top:120px;margin:0;padding:clamp(22px,2.8vw,36px);border:1px solid rgba(14,42,51,.08);border-radius:24px;background:#F6F4EF;
}
#cr-roles h3.cr-form__title{
  margin:0 0 clamp(16px,1.8vw,22px);padding:0;border:0;text-transform:none;
  font-family:'Poppins','Segoe UI',Arial,sans-serif;font-weight:700;font-size:clamp(20px,1.7vw,24px);line-height:1.25;letter-spacing:-.015em;color:#0E2A33;
}
#cr-roles .cr-form__note{margin:0 0 18px;padding:11px 14px;border-radius:12px;font-size:14.5px;font-weight:600;line-height:1.45;}
#cr-roles .cr-form__note--ok{background:rgba(0,209,193,.16);color:#0B7A72;}
#cr-roles .cr-form__note--bad{background:#F6CFC8;color:#B3261E;}
#cr-roles .cr-form__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
#cr-roles .cr-field{margin:0;padding:0;}
#cr-roles .cr-field--wide{grid-column:1 / -1;}
#cr-roles .cr-form label{display:block;margin:0 0 6px;font-family:'DM Sans','Segoe UI',Arial,sans-serif;font-weight:600;font-size:13.5px;line-height:1.3;color:#0E2A33;}
#cr-roles .cr-req{margin-left:2px;color:#B3261E;}
#cr-roles .cr-form input,#cr-roles .cr-form select,#cr-roles .cr-form textarea{
  display:block;width:100%;height:50px;margin:0;padding:0 14px;border:1px solid rgba(14,42,51,.18);border-radius:12px;
  background:#FFFFFF;color:#0E2A33;box-shadow:none;outline:none;
  font-family:'DM Sans','Segoe UI',Arial,sans-serif;font-weight:500;font-size:16px;line-height:1.4;
  transition:border-color .2s ease,box-shadow .2s ease;
}
#cr-roles .cr-form select{
  -webkit-appearance:none;appearance:none;padding-right:40px;cursor:pointer;
  background:#FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%230E2A33' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center/16px 16px;
}
#cr-roles .cr-form input[type="file"]{height:auto;padding:9px 10px;font-size:15px;cursor:pointer;}
#cr-roles .cr-form input[type="file"]::file-selector-button{
  margin-right:12px;padding:8px 14px;border:0;border-radius:999px;background:#0E2A33;color:#FFFFFF;cursor:pointer;
  font-family:'DM Sans','Segoe UI',Arial,sans-serif;font-weight:700;font-size:14px;
}
#cr-roles .cr-form textarea{height:130px;min-height:100px;padding:12px 14px;resize:vertical;}
#cr-roles .cr-form input::placeholder,#cr-roles .cr-form textarea::placeholder{color:rgba(27,31,34,.42);opacity:1;}
#cr-roles .cr-form input:focus,#cr-roles .cr-form select:focus,#cr-roles .cr-form textarea:focus{border-color:#0B7A72;box-shadow:0 0 0 3px rgba(0,209,193,.25);}
#cr-roles .cr-help{display:block;margin-top:6px;font-size:13px;line-height:1.4;color:rgba(27,31,34,.6);}
#cr-roles .cr-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
#cr-roles button.cr-form__btn,#cr-roles button.cr-form__btn:focus{
  display:block;width:100%;min-height:56px;margin:20px 0 0;padding:12px 20px;border:0;border-radius:999px;
  background:#C8F03C;color:#0E2A33;box-shadow:0 12px 28px -14px rgba(200,240,60,.85);cursor:pointer;text-transform:none;letter-spacing:normal;
  font-family:'DM Sans','Segoe UI',Arial,sans-serif;font-weight:700;font-size:16.5px;line-height:1.3;transition:background-color .25s ease,transform .25s ease;
}
#cr-roles button.cr-form__btn:hover{background:#D6F56A;color:#0E2A33;transform:translateY(-1px);}
#cr-roles button.cr-form__btn:focus{outline:none;}
#cr-roles button.cr-form__btn:focus-visible{outline:3px solid #0B7A72;outline-offset:3px;}
@media (max-width:1000px){
  #cr-roles .cr-row{grid-template-columns:minmax(0,1fr);}
  #cr-roles ol.cr-jobs,#cr-roles .cr-form{max-width:760px;width:100%;margin-left:auto;margin-right:auto;}
}
@media (max-width:520px){
  #cr-roles .cr-form__grid{grid-template-columns:minmax(0,1fr);}
  #cr-roles a.cr-job__apply{padding:0 13px;}
}
@media (prefers-reduced-motion:reduce){ #cr-roles li.cr-job,#cr-roles a.cr-job__apply,#cr-roles .cr-form input,#cr-roles .cr-form select,#cr-roles .cr-form textarea,#cr-roles button.cr-form__btn{transition:none;} #cr-roles button.cr-form__btn:hover{transform:none;} }

.crest-careers #crest-say{background:#F6F4EF;}
.crest-careers #crest-say .rv-title span{display:inline;}
.crest-careers #crest-say p.cr-soon{margin:0 auto;text-align:center;text-wrap:balance;font-family:'DM Sans','Segoe UI',Arial,sans-serif;font-style:italic;font-size:clamp(15px,1.15vw,17px);line-height:1.6;color:rgba(27,31,34,.66);}

/* ==========================================================================
   PROJECT COST REVIEW PAGE  (project-cost-review.php)
   - The page header: the long title balanced ("Project Feasibility Review" in Teal Dark); "Worth KSh 60,000. Yours for free." on a
     Lime pill; the four promises with a Teal tick each, two to a row (one on phones).
   - The "Lever / Headline statement" tables (.pr-levers): a white card, a Deep header row, each lever in bold; phones: each lever above
     its statement.
   - The steps (#pr-how) use the FAQs page's process design; "Step 1:" in Teal Dark.
   - "Who Our Free Review is For" (#pr-who): cards two to a row; "Who it is not for" on a Deep panel.
   - The sectors (#pr-sectors) as white pills; the results (#pr-wins) as cards, the result large in Teal Dark.
   - "What's Included" (#crest-edge): the lists with a Teal dash before each point.
   - The FAQ on Paper, its one-word title on one line.
   ========================================================================== */
.crest-project-cost-review #crest-pagehead .ph-title--long{max-width:1120px;font-size:clamp(32px,3.4vw,48px);text-wrap:balance;}
.crest-project-cost-review #crest-pagehead .ph-title--long span{display:inline;}
.crest-project-cost-review .pr-nb{font-weight:inherit;white-space:nowrap;}   /* "No-Obligation" and "data-centre" kept whole, never broken at the hyphen */
@media (max-width:400px){ .crest-project-cost-review #crest-pagehead .ph-title--long{font-size:clamp(26px,7.6vw,30px);} }
.crest-project-cost-review #crest-pagehead .ph-text p + p{margin-top:.8em;}
.crest-project-cost-review #crest-pagehead p.pr-worth{
  display:block;width:-moz-fit-content;width:fit-content;max-width:100%;margin:clamp(18px,2vw,26px) auto 0;padding:9px 20px;border-radius:999px;
  background:#C8F03C;color:#0E2A33;text-align:center;
  font-family:'Poppins','Segoe UI',Arial,sans-serif;font-weight:700;font-size:clamp(15px,1.2vw,17px);line-height:1.35;letter-spacing:-.005em;
}
.crest-project-cost-review #crest-pagehead ul.pr-ticks{
  display:grid;grid-template-columns:repeat(2,minmax(0,max-content));justify-content:center;gap:12px 28px;
  max-width:900px;margin:clamp(18px,2vw,26px) auto 0;padding:0;list-style:none;text-align:left;
}
.crest-project-cost-review #crest-pagehead ul.pr-ticks li{
  display:flex;align-items:flex-start;gap:10px;margin:0;padding:0;list-style:none;
  font-family:'DM Sans','Segoe UI',Arial,sans-serif;font-weight:600;font-size:clamp(15px,1.1vw,16px);line-height:1.45;color:#0E2A33;
}
.crest-project-cost-review #crest-pagehead .pr-tick{flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:22px;height:22px;margin-top:0;border-radius:50%;background:#0B7A72;color:#FFFFFF;}
.crest-project-cost-review #crest-pagehead .pr-tick svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}
@media (max-width:640px){ .crest-project-cost-review #crest-pagehead ul.pr-ticks{grid-template-columns:minmax(0,1fr);} }

/* the opening paragraphs above lists and cards */
.crest-project-cost-review .os-copy.pr-intro{max-width:900px;margin:0 auto clamp(36px,4.2vw,56px);}

/* the Lever / Headline statement tables */
.crest-project-cost-review .pr-levers{max-width:1000px;margin:clamp(44px,5vw,68px) auto 0;overflow:hidden;border:1px solid rgba(14,42,51,.1);border-radius:20px;background:#FFFFFF;box-shadow:0 22px 44px -34px rgba(14,42,51,.45);}
.crest-project-cost-review .pr-levers table{width:100%;margin:0;border:0;border-collapse:collapse;table-layout:fixed;}
.crest-project-cost-review .pr-levers th,.crest-project-cost-review .pr-levers td{
  margin:0;padding:clamp(14px,1.5vw,18px) clamp(16px,2vw,26px);border:0;border-top:1px solid rgba(14,42,51,.08);background:none;text-align:left;vertical-align:top;
  font-family:'DM Sans','Segoe UI',Arial,sans-serif;font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.55;
}
.crest-project-cost-review .pr-levers thead th{
  border-top:0;background:#0E2A33;color:#FFFFFF;
  font-family:'Poppins','Segoe UI',Arial,sans-serif;font-weight:600;font-size:13px;line-height:1.3;letter-spacing:.14em;text-transform:uppercase;
}
.crest-project-cost-review .pr-levers thead th:first-child{width:32%;color:#00D1C1;}
.crest-project-cost-review .pr-levers tbody th{font-family:'Poppins','Segoe UI',Arial,sans-serif;font-weight:600;color:#0E2A33;}
.crest-project-cost-review .pr-levers tbody td{color:rgba(27,31,34,.78);}
.crest-project-cost-review .pr-levers tbody tr:nth-child(even) > *{background:rgba(246,244,239,.7);}
@media (max-width:640px){
  .crest-project-cost-review .pr-levers table,.crest-project-cost-review .pr-levers tbody,.crest-project-cost-review .pr-levers tr,
  .crest-project-cost-review .pr-levers tbody th,.crest-project-cost-review .pr-levers tbody td{display:block;width:100%;}
  .crest-project-cost-review .pr-levers thead{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;}
  .crest-project-cost-review .pr-levers tbody tr{border-top:1px solid rgba(14,42,51,.08);}
  .crest-project-cost-review .pr-levers tbody tr:first-child{border-top:0;}
  .crest-project-cost-review .pr-levers tbody th{padding-bottom:2px;border-top:0;color:#0B7A72;}
  .crest-project-cost-review .pr-levers tbody td{padding-top:0;border-top:0;}
}

/* the steps */
#pr-how .pw-name .pr-step{color:#0B7A72;}

/* who it is for */
#pr-who .pr-cards{--g:clamp(14px,1.6vw,20px);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--g);max-width:1120px;margin:0 auto;}
#pr-who article.pr-card{
  position:relative;margin:0;padding:clamp(22px,2.4vw,30px);border:1px solid rgba(14,42,51,.08);border-radius:20px;background:#F6F4EF;overflow:hidden;
}
#pr-who article.pr-card h3{margin:0 0 10px;padding:0;border:0;text-transform:none;text-wrap:pretty;font-family:'Poppins','Segoe UI',Arial,sans-serif;font-weight:600;font-size:clamp(17px,1.35vw,19px);line-height:1.3;letter-spacing:-.01em;color:#0E2A33;}
#pr-who article.pr-card p{margin:0;font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.65;color:rgba(27,31,34,.74);}
#pr-who .pr-not{max-width:880px;margin:clamp(36px,4.2vw,56px) auto 0;padding:clamp(26px,3vw,40px);border-radius:24px;background:#0E2A33;text-align:center;}
#pr-who .pr-not h3{margin:0 0 12px;padding:0;border:0;text-transform:none;font-family:'Poppins','Segoe UI',Arial,sans-serif;font-weight:700;font-size:clamp(20px,1.8vw,26px);line-height:1.25;letter-spacing:-.015em;color:#FFFFFF;}
#pr-who .pr-not p{max-width:720px;margin:0 auto;text-wrap:pretty;font-size:clamp(15px,1.1vw,16px);line-height:1.7;color:rgba(246,244,239,.84);}
@media (max-width:760px){ #pr-who .pr-cards{grid-template-columns:minmax(0,1fr);} }

/* the sectors */
#pr-sectors ul.pr-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 12px;max-width:1000px;margin:0 auto;padding:0;list-style:none;}
#pr-sectors ul.pr-chips li{
  display:inline-flex;align-items:center;gap:10px;margin:0;padding:10px 18px;list-style:none;border:1px solid rgba(14,42,51,.1);border-radius:999px;background:#FFFFFF;
  font-family:'DM Sans','Segoe UI',Arial,sans-serif;font-weight:600;font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.35;color:#0E2A33;
}
#pr-sectors ul.pr-chips li::before{content:"";flex:0 0 auto;width:8px;height:8px;border-radius:50%;background:#00D1C1;}
#pr-sectors ul.pr-chips li.pr-chip--more{border-style:dashed;background:transparent;color:#0B7A72;}
@media (max-width:520px){ #pr-sectors ul.pr-chips li{border-radius:14px;} }   /* phones: a pill that wraps to two lines stays neat */

/* the results */
#pr-wins .os-head{max-width:960px;}
#pr-wins .pr-results{--g:clamp(14px,1.6vw,20px);display:flex;flex-wrap:wrap;justify-content:center;gap:var(--g);max-width:1180px;margin:0 auto;}
#pr-wins article.pr-win{flex:0 0 calc((100% - 2 * var(--g)) / 3);min-width:0;margin:0;padding:clamp(22px,2.4vw,30px);border:1px solid rgba(14,42,51,.08);border-radius:20px;background:#F6F4EF;}
#pr-wins h3.pr-win__fig{
  margin:0 0 12px;padding:0 0 12px;border:0;border-bottom:2px solid rgba(0,209,193,.45);text-transform:none;text-wrap:balance;
  font-family:'Poppins','Segoe UI',Arial,sans-serif;font-weight:700;font-size:clamp(19px,1.6vw,23px);line-height:1.25;letter-spacing:-.015em;color:#0B7A72;
}
#pr-wins article.pr-win p{margin:0;font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.65;color:rgba(27,31,34,.74);}
@media (max-width:1000px){ #pr-wins article.pr-win{flex-basis:calc((100% - var(--g)) / 2);} }
@media (max-width:640px){ #pr-wins article.pr-win{flex-basis:100%;} }

/* what's included: the lists */
.crest-project-cost-review #crest-edge .eg-body ul.pr-points{margin:.9em 0 0;padding:0;list-style:none;}
.crest-project-cost-review #crest-edge .eg-body ul.pr-points + p{margin-top:.9em;}
.crest-project-cost-review #crest-edge .eg-body ul.pr-points li{position:relative;margin:0;padding:0 0 0 24px;list-style:none;font-size:clamp(15px,1.1vw,16px);line-height:1.65;color:rgba(246,244,239,.8);}
.crest-project-cost-review #crest-edge .eg-body ul.pr-points li + li{margin-top:9px;}
.crest-project-cost-review #crest-edge .eg-body ul.pr-points li::before{content:"";position:absolute;left:0;top:.78em;width:12px;height:3px;border-radius:3px;background:#00D1C1;}
.crest-project-cost-review #crest-edge .eg-body ul.pr-points strong{font-weight:700;color:#FFFFFF;}

/* the quotes' title, the FAQ on Paper */
.crest-project-cost-review #crest-faq{background:#F6F4EF;}

/* ==========================================================================
   KNOWLEDGE BASE PAGE  (knowledge-base.php)
   - The page header: the long title ("Knowledge Base" in Teal Dark), its line in bold under it (the Careers page's).
   - The topics (#kb-topics): on desktop the index beside them, staying in view, the topic on screen lit Deep; each topic a soft Paper
     card, its questions in two columns (one below 1200px). Tablets and phones: the index as small tags above the topics.
   - The quotes (#crest-say) on Paper, the title on one line.
   - About (#kb-about): the two paragraphs in a readable column; the two panels side by side (one under the other below 900px); the mission
     as the Our Story closing line.
   - Partnerships (#crest-proof) on Paper.
   ========================================================================== */
.crest-knowledge-base #crest-pagehead .ph-title--long{max-width:1000px;}
@media (max-width:400px){ .crest-knowledge-base #crest-pagehead .ph-title--long{font-size:clamp(27px,8vw,31px);} }

#kb-topics .os-wrap{max-width:calc(1240px + 2 * var(--gutter));}
#kb-topics .kb-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:clamp(28px,3.4vw,52px);align-items:start;}
#kb-topics .kb-nav{position:sticky;top:116px;max-height:calc(100vh - 136px);overflow-y:auto;scrollbar-width:thin;padding:10px;border:1px solid rgba(14,42,51,.08);border-radius:20px;background:#F6F4EF;}
#kb-topics .kb-nav ol{margin:0;padding:0;list-style:none;}
#kb-topics .kb-nav li{margin:0;padding:0;list-style:none;}
#kb-topics .kb-nav li + li{margin-top:1px;}
#kb-topics .kb-nav a,#kb-topics .kb-nav a:visited{
  display:grid;grid-template-columns:26px minmax(0,1fr);column-gap:8px;align-items:baseline;padding:7px 10px;border-radius:11px;text-decoration:none;
  font-family:'DM Sans','Segoe UI',Arial,sans-serif;font-weight:600;font-size:13.5px;line-height:1.3;color:#0E2A33;transition:background-color .2s ease,color .2s ease;
}
#kb-topics .kb-nav__n{font-family:'Poppins','Segoe UI',Arial,sans-serif;font-weight:700;font-size:12.5px;line-height:1;color:#0B7A72;font-variant-numeric:tabular-nums;}
#kb-topics .kb-nav a:hover{background:#FFFFFF;color:#0B7A72;text-decoration:none;}
#kb-topics .kb-nav a[aria-current]{background:#0E2A33;color:#FFFFFF;}
#kb-topics .kb-nav a[aria-current] .kb-nav__n{color:#C8F03C;}
#kb-topics .kb-nav a:focus-visible{outline:3px solid #00D1C1;outline-offset:1px;}

#kb-topics .kb-groups{display:flex;flex-direction:column;gap:clamp(18px,2vw,26px);min-width:0;}
#kb-topics .kb-group{scroll-margin-top:110px;padding:clamp(22px,2.6vw,34px);border:1px solid rgba(14,42,51,.08);border-radius:22px;background:#F6F4EF;}
#kb-topics .kb-group__head{display:flex;align-items:center;gap:14px;margin-bottom:clamp(14px,1.6vw,20px);}
#kb-topics .kb-group__ico{display:flex;flex:none;align-items:center;justify-content:center;width:48px;height:48px;border-radius:14px;background:#0E2A33;color:#00D1C1;}
#kb-topics .kb-group__ico svg{display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
#kb-topics h2.kb-group__name{margin:0;padding:0;border:0;text-transform:none;text-wrap:balance;font-family:'Poppins','Segoe UI',Arial,sans-serif;font-weight:700;font-size:clamp(19px,1.6vw,23px);line-height:1.25;letter-spacing:-.015em;color:#0E2A33;}
#kb-topics ul.kb-qs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(22px,2.6vw,36px);margin:0;padding:0;list-style:none;}
#kb-topics ul.kb-qs li{position:relative;margin:0;padding:12px 0 12px 20px;list-style:none;border-top:1px solid rgba(14,42,51,.09);}
#kb-topics ul.kb-qs li:nth-child(-n+2){border-top:0;}
#kb-topics ul.kb-qs li::before{content:"";position:absolute;left:0;top:calc(12px + .62em);width:8px;height:8px;border-radius:2px;background:#00D1C1;transform:rotate(45deg);}
#kb-topics .kb-q{font-family:'DM Sans','Segoe UI',Arial,sans-serif;font-weight:500;font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.5;color:#1B1F22;}
#kb-topics a.kb-q,#kb-topics a.kb-q:visited{color:#0E2A33;font-weight:600;text-decoration:underline;text-decoration-color:rgba(0,209,193,.6);text-decoration-thickness:1.5px;text-underline-offset:4px;}
#kb-topics a.kb-q:hover{color:#0B7A72;text-decoration-color:#0B7A72;}

@media (max-width:1200px){
  #kb-topics ul.kb-qs{grid-template-columns:minmax(0,1fr);}
  #kb-topics ul.kb-qs li:nth-child(2){border-top:1px solid rgba(14,42,51,.09);}
}
@media (max-width:1000px){
  #kb-topics .kb-layout{grid-template-columns:minmax(0,1fr);}
  #kb-topics .kb-nav{position:relative;top:auto;max-height:none;overflow:visible;padding:0;border:0;background:none;}
  #kb-topics .kb-nav ol{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;}
  #kb-topics .kb-nav li + li{margin-top:0;}
  #kb-topics .kb-nav a,#kb-topics .kb-nav a:visited{display:inline-flex;gap:7px;padding:7px 13px;border:1px solid rgba(14,42,51,.1);border-radius:999px;background:#F6F4EF;font-size:13.5px;}
}
@media (max-width:520px){
  #kb-topics .kb-nav__n{display:none;}
  #kb-topics .kb-nav ol{gap:6px;}
  #kb-topics .kb-nav a,#kb-topics .kb-nav a:visited{padding:6px 11px;border-radius:12px;font-size:12.5px;}   /* phones: the topic tags take less room */
  #kb-topics .kb-group{padding:20px 16px;}
  #kb-topics .kb-group__head{align-items:flex-start;}
  #kb-topics .kb-group__ico{width:42px;height:42px;}
}
@media (prefers-reduced-motion:reduce){ #kb-topics .kb-nav a{transition:none;} }

.crest-knowledge-base #crest-say{background:#F6F4EF;}
.crest-knowledge-base #crest-say .rv-title span{display:inline;}

#kb-about .kb-copy{max-width:900px;margin:0 auto;}
#kb-about .kb-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,2vw,28px);max-width:1080px;margin:clamp(36px,4.2vw,56px) auto 0;}
#kb-about .kb-panel{padding:clamp(24px,3vw,40px);border:1px solid rgba(14,42,51,.07);border-radius:22px;background:#F6F4EF;}
#kb-about .kb-panel__ico{display:flex;align-items:center;justify-content:center;width:52px;height:52px;margin-bottom:18px;border-radius:14px;background:#0E2A33;color:#00D1C1;}
#kb-about .kb-panel__ico svg{display:block;width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
#kb-about h3.kb-panel__head{margin:0 0 12px;padding:0;border:0;text-transform:none;font-family:'Poppins','Segoe UI',Arial,sans-serif;font-weight:700;font-size:clamp(19px,1.7vw,24px);line-height:1.25;letter-spacing:-.015em;color:#0E2A33;}
#kb-about .kb-panel p{margin:0;font-size:clamp(15px,1.1vw,16px);line-height:1.7;color:rgba(27,31,34,.72);}
@media (max-width:900px){ #kb-about .kb-pair{grid-template-columns:minmax(0,1fr);} }
@media (max-width:520px){ #kb-about .kb-panel{padding:22px 18px;} }   /* phones: more room for the words */

.crest-knowledge-base #crest-proof{background:#F6F4EF;}

/* ==========================================================================
   CPD PAGE  (cpd.php)
   - The page header: "CPD for the built environment" as the small label over the long title ("Quantity Survey and Project Management
     Firms" in Teal Dark); the three points in Teal Dark under the paragraph; one button.
   - The small labels over the titles ("Why book a session", "Other topics we can cover", "How it works") take the place of the usual
     "Crest Cost Consultants" label, in the same style.
   - The opening paragraphs (#cpd-intro): a readable column, the first as the lead.
   - Why book a session (#cpd-why): six white cards, three to a row (two on tablets, one on phones).
   - The two sessions (#cpd-sessions): side by side (one under the other below 1000px), Deep at the top, the points with Teal ticks,
     who it's for on Paper at the foot (level across the two).
   - The other topics (#cpd-topics): numbered 01-10 on a white card, two to a row (one below 760px).
   - How it works (#cpd-how): the FAQs page's steps; "The result" on a Deep panel; the closing line (.oc-close).
   - Arrange (#cpd-arrange): the Our Story booking panel (.oc-book), its line above the button.
   ========================================================================== */
.crest-cpd #crest-pagehead .ph-title--long{max-width:1120px;font-size:clamp(32px,3.4vw,48px);text-wrap:balance;}
@media (max-width:400px){ .crest-cpd #crest-pagehead .ph-title--long{font-size:clamp(26px,7.6vw,30px);} }
.crest-cpd .cpd-eye,.crest-cpd #crest-pagehead .cpd-eye{
  display:block;width:-moz-fit-content;width:fit-content;max-width:100%;margin:0 auto 14px;padding:0 0 0 40px;border:0;
  background:linear-gradient(currentColor,currentColor) left center/28px 2px no-repeat;text-align:left;
  font-family:'DM Sans','Segoe UI',Arial,sans-serif;font-weight:700;font-size:12.5px;line-height:1.3;letter-spacing:.22em;text-transform:uppercase;color:#0B7A72;
}
.crest-cpd #crest-pagehead .cpd-eye{margin-bottom:clamp(16px,1.8vw,22px);animation:ph-up .8s cubic-bezier(.16,.84,.24,1) both;}
.crest-cpd .os-sec .os-title.cpd-noeye::before{content:none;display:none;}
.crest-cpd .cpd-nb{white-space:nowrap;}
.crest-cpd .cpd-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;}
.crest-cpd #crest-pagehead p.cpd-meta{
  max-width:900px;margin:clamp(16px,1.8vw,22px) auto 0;text-wrap:balance;
  font-family:'DM Sans','Segoe UI',Arial,sans-serif;font-weight:700;font-size:clamp(14.5px,1.1vw,16px);line-height:1.6;letter-spacing:.01em;color:#0B7A72;
  animation:ph-up .8s .18s cubic-bezier(.16,.84,.24,1) both;
}
@media (prefers-reduced-motion:reduce){ .crest-cpd #crest-pagehead .cpd-eye,.crest-cpd #crest-pagehead p.cpd-meta{animation:none;} }

#cpd-intro .os-copy p.cpd-lead{font-size:clamp(17px,1.35vw,19.5px);line-height:1.65;color:var(--deep);}

/* why book a session */
#cpd-why .cpd-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,1.8vw,24px);}
#cpd-why article.cpd-card{
  margin:0;padding:clamp(22px,2.4vw,32px);border:1px solid rgba(14,42,51,.07);border-radius:20px;background:var(--white);
  transition:border-color .3s ease,box-shadow .4s ease,transform .4s ease;
}
#cpd-why article.cpd-card:hover{border-color:rgba(11,122,114,.35);box-shadow:0 22px 44px -30px rgba(14,42,51,.45);transform:translateY(-3px);}
#cpd-why .cpd-card__top{display:flex;align-items:center;gap:14px;margin-bottom:16px;}
#cpd-why .cpd-card__ico{display:flex;flex:none;align-items:center;justify-content:center;width:48px;height:48px;border-radius:14px;background:var(--deep);color:var(--teal);transition:background-color .3s ease,color .3s ease;}
#cpd-why article.cpd-card:hover .cpd-card__ico{background:#C8F03C;color:var(--deep);}
#cpd-why .cpd-card__ico svg{display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
#cpd-why h3.cpd-card__name{margin:0;padding:0;border:0;text-transform:none;text-wrap:balance;font-family:var(--f-head);font-weight:700;font-size:clamp(17px,1.3vw,19px);line-height:1.3;letter-spacing:-.012em;color:var(--deep);}
#cpd-why article.cpd-card p{font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.65;color:rgba(27,31,34,.72);}
@media (max-width:1100px){ #cpd-why .cpd-cards{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (max-width:680px){ #cpd-why .cpd-cards{grid-template-columns:minmax(0,1fr);} }
@media (prefers-reduced-motion:reduce){ #cpd-why article.cpd-card,#cpd-why .cpd-card__ico{transition:none;} #cpd-why article.cpd-card:hover{transform:none;} }

/* the two sessions */
#cpd-sessions .os-head{max-width:960px;}
#cpd-sessions .os-head .os-sub{max-width:860px;}
#cpd-sessions .os-head .os-sub + .os-sub{margin-top:10px;}
#cpd-sessions .cpd-sessions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(18px,2.2vw,30px);align-items:stretch;}
#cpd-sessions article.cpd-session{
  display:flex;flex-direction:column;overflow:hidden;margin:0;border:1px solid rgba(14,42,51,.08);border-radius:24px;background:var(--white);
  box-shadow:0 30px 60px -44px rgba(14,42,51,.55);
}
#cpd-sessions .cpd-session__top{
  position:relative;padding:clamp(26px,3vw,40px) clamp(22px,3vw,40px) clamp(36px,3.8vw,48px);
  background:radial-gradient(70% 80% at 100% 0%,rgba(0,209,193,.14),transparent 70%),var(--deep);
}
#cpd-sessions .cpd-session__top::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:14px;opacity:.3;pointer-events:none;
  background:
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 60px) 0 100%/100% 14px no-repeat,
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 12px) 0 100%/100% 7px no-repeat;
}
#cpd-sessions p.cpd-session__label{
  display:inline-block;max-width:100%;margin:0 0 16px;padding:6px 14px;border:1px solid rgba(0,209,193,.45);border-radius:14px;background:rgba(0,209,193,.08);
  font-family:var(--f-body);font-weight:700;font-size:13.5px;line-height:1.4;letter-spacing:.01em;color:var(--teal);
}
#cpd-sessions h3.cpd-session__title{margin:0;padding:0;border:0;text-transform:none;text-wrap:balance;font-family:var(--f-head);font-weight:700;font-size:clamp(21px,1.9vw,27px);line-height:1.22;letter-spacing:-.018em;color:var(--white);}
#cpd-sessions p.cpd-session__text{margin-top:14px;font-size:clamp(15px,1.08vw,16px);line-height:1.65;color:rgba(246,244,239,.84);}
#cpd-sessions p.cpd-session__meta{text-wrap:balance;margin-top:18px;padding-top:16px;border-top:1px solid rgba(246,244,239,.14);font-weight:600;font-size:14.5px;line-height:1.6;color:#C8F03C;}
#cpd-sessions .cpd-session__body{display:flex;flex:1 1 auto;flex-direction:column;padding:clamp(24px,2.8vw,36px) clamp(22px,3vw,40px) clamp(24px,3vw,40px);}
#cpd-sessions h4.cpd-session__head{margin:0 0 14px;padding:0;border:0;text-transform:none;font-family:var(--f-head);font-weight:700;font-size:clamp(17px,1.35vw,19px);line-height:1.3;letter-spacing:-.01em;color:var(--deep);}
#cpd-sessions ul.cpd-ticks{flex:1 0 auto;margin:0;padding:0;list-style:none;}
#cpd-sessions ul.cpd-ticks li{
  display:grid;grid-template-columns:22px minmax(0,1fr);column-gap:12px;align-items:start;margin:0;padding:11px 0;border-top:1px solid rgba(14,42,51,.08);list-style:none;
  font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.55;color:rgba(27,31,34,.8);
}
#cpd-sessions ul.cpd-ticks li:first-child{padding-top:0;border-top:0;}
#cpd-sessions .cpd-tick{display:flex;align-items:center;justify-content:center;width:22px;height:22px;margin-top:0;border-radius:50%;background:rgba(0,209,193,.16);color:var(--teal-dark);}
#cpd-sessions .cpd-tick svg{display:block;width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;}
#cpd-sessions p.cpd-session__for{margin-top:22px;padding:16px 18px;border-radius:14px;background:var(--paper);font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.6;color:rgba(27,31,34,.8);}
#cpd-sessions p.cpd-session__for strong{font-weight:700;color:var(--teal-dark);}
@media (max-width:1000px){ #cpd-sessions .cpd-sessions{grid-template-columns:minmax(0,1fr);max-width:760px;margin:0 auto;} }
@media (max-width:520px){ #cpd-sessions .cpd-session__top,#cpd-sessions .cpd-session__body{padding-left:18px;padding-right:18px;} #cpd-sessions article.cpd-session{border-radius:20px;} }

/* the other topics */
#cpd-topics .os-head .os-sub{max-width:860px;}
#cpd-topics ol.cpd-topics{
  counter-reset:cpd;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(28px,4vw,56px);max-width:1080px;margin:0 auto;
  padding:clamp(14px,2.2vw,30px) clamp(22px,3.6vw,52px);border:1px solid rgba(14,42,51,.07);border-radius:24px;background:var(--white);
  box-shadow:0 24px 50px -36px rgba(14,42,51,.35);list-style:none;
}
#cpd-topics ol.cpd-topics li{counter-increment:cpd;position:relative;margin:0;padding:clamp(18px,1.9vw,24px) 0 clamp(18px,1.9vw,24px) 58px;border-top:1px solid rgba(14,42,51,.1);list-style:none;}
#cpd-topics ol.cpd-topics li:nth-child(-n+2){border-top:0;}
#cpd-topics ol.cpd-topics li::before{
  content:counter(cpd,decimal-leading-zero);position:absolute;left:0;top:clamp(16px,1.7vw,22px);
  display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:var(--deep);
  font-family:var(--f-head);font-weight:700;font-size:15px;line-height:1;color:var(--teal);
}
#cpd-topics ol.cpd-topics li p{font-size:clamp(15px,1.08vw,16px);line-height:1.6;color:rgba(27,31,34,.72);}
#cpd-topics ol.cpd-topics li strong{display:block;margin-bottom:4px;font-family:var(--f-head);font-weight:600;font-size:clamp(15.5px,1.15vw,17px);line-height:1.4;letter-spacing:-.008em;color:var(--deep);}
@media (max-width:760px){
  #cpd-topics ol.cpd-topics{grid-template-columns:minmax(0,1fr);}
  #cpd-topics ol.cpd-topics li:nth-child(2){border-top:1px solid rgba(14,42,51,.1);}
}
@media (max-width:520px){
  #cpd-topics ol.cpd-topics{padding:8px 18px;border-radius:20px;}
  #cpd-topics ol.cpd-topics li{padding-left:50px;}
  #cpd-topics ol.cpd-topics li::before{width:36px;height:36px;border-radius:10px;font-size:13.5px;}
}

/* how it works: the result */
#cpd-how .cpd-result{
  position:relative;overflow:hidden;max-width:900px;margin:clamp(44px,5vw,64px) auto 0;
  padding:clamp(26px,3.2vw,40px) clamp(22px,3.2vw,40px) clamp(38px,4.2vw,52px);border-radius:24px;background:var(--deep);
  box-shadow:0 40px 80px -50px rgba(14,42,51,.7);
}
#cpd-how .cpd-result::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:14px;opacity:.3;pointer-events:none;
  background:
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 60px) 0 100%/100% 14px no-repeat,
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 12px) 0 100%/100% 7px no-repeat;
}
#cpd-how .cpd-result p{font-size:clamp(15.5px,1.2vw,17.5px);line-height:1.7;color:rgba(246,244,239,.88);}
#cpd-how .cpd-result strong{font-family:var(--f-head);font-weight:700;color:#C8F03C;}

/* arrange */
#cpd-arrange .os-head{margin-bottom:0;}
#cpd-arrange .oc-book p.cpd-tag{
  max-width:600px;margin:0 auto clamp(20px,2.2vw,26px);text-wrap:balance;
  font-family:var(--f-head);font-weight:600;font-size:clamp(18px,1.6vw,22px);line-height:1.45;letter-spacing:-.01em;color:var(--white);
}

/* ==========================================================================
   CALCULATORS PAGE  (calculators.php)
   - The page header: the long title balanced ("Tools & Calculators in Kenya" in Teal Dark), its line in bold under it (the Careers page's).
   - The calculators (#calc-tools), laid out like the Services section on the home page: each stage's name and line on a Deep panel with
     the measuring scale along its foot, staying in view beside its calculators on desktop; the calculators as soft Paper cards, two to a
     row (an odd number opens with one wide card): the name, the question in Teal Dark, the words, "Explore" at the foot over a fine line.
     Tablets: the stage panel above its calculators. Phones: one card under another.
   - "Get an Initial View..." (#calc-advice) and the free review (#calc-review): the Our Story booking panel (.oc-book).
   - The quotes on White, the title on one line; "About" (#kb-about) on Paper, its panels White; Partnerships on Paper.
   ========================================================================== */
.crest-calculators #crest-pagehead .ph-title--long{max-width:1120px;font-size:clamp(32px,3.4vw,48px);text-wrap:balance;}
@media (max-width:400px){ .crest-calculators #crest-pagehead .ph-title--long{font-size:clamp(26px,7.6vw,30px);} }
.crest-calculators .calc-nb{font-weight:inherit;white-space:nowrap;}   /* "No-Obligation" kept whole, never broken at the hyphen */

#calc-tools{--ease:cubic-bezier(.16,.84,.24,1);}
#calc-tools .os-head{max-width:960px;}
#calc-tools .calc-phase{display:grid;grid-template-columns:minmax(0,.42fr) minmax(0,1fr);gap:clamp(18px,2vw,28px);align-items:start;}
#calc-tools .calc-phase + .calc-phase{margin-top:clamp(40px,4.6vw,64px);}
#calc-tools .calc-phase__head{
  position:sticky;top:120px;overflow:hidden;padding:clamp(28px,2.8vw,40px) clamp(24px,2.6vw,36px) clamp(42px,3.8vw,54px);border-radius:22px;background:var(--deep);
}
#calc-tools .calc-phase__head::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:14px;opacity:.35;pointer-events:none;
  background:
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 60px) 0 100%/100% 14px no-repeat,
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 12px) 0 100%/100% 7px no-repeat;
}
#calc-tools h3.calc-phase__name{margin:0;padding:0;border:0;text-transform:none;text-wrap:balance;font-family:var(--f-head);font-weight:700;font-size:clamp(19px,1.65vw,22px);line-height:1.2;letter-spacing:-.02em;color:var(--white);}
#calc-tools h3.calc-phase__name::after{content:"";display:block;width:44px;height:3px;margin:16px 0;border-radius:3px;background:var(--teal);}
#calc-tools p.calc-phase__line{font-size:clamp(15px,1.1vw,16px);line-height:1.6;color:rgba(246,244,239,.86);}
#calc-tools .calc-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(14px,1.6vw,20px);}
#calc-tools article.calc-card:first-child:nth-last-child(odd){grid-column:1 / -1;}   /* an odd number: the first card runs the full width */
#calc-tools article.calc-card{
  display:flex;flex-direction:column;margin:0;padding:clamp(22px,2.4vw,32px);border:1px solid rgba(14,42,51,.07);border-radius:20px;background:var(--paper);
  transition:border-color .3s ease,box-shadow .4s ease,transform .4s ease;
}
#calc-tools article.calc-card:hover{border-color:rgba(11,122,114,.35);background:var(--white);box-shadow:0 22px 44px -30px rgba(14,42,51,.45);transform:translateY(-3px);}
#calc-tools h4.calc-card__name{margin:0;padding:0;border:0;text-transform:none;text-wrap:balance;font-family:var(--f-head);font-weight:700;font-size:clamp(17px,1.3vw,19px);line-height:1.3;letter-spacing:-.012em;color:var(--deep);}
#calc-tools p.calc-card__q{margin-top:8px;font-family:var(--f-head);font-weight:600;font-size:clamp(15px,1.12vw,16.5px);line-height:1.45;letter-spacing:-.005em;color:var(--teal-dark);}
#calc-tools p.calc-card__text{margin-top:12px;font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.65;color:rgba(27,31,34,.72);}
#calc-tools p.rs-foot{margin-top:auto;padding-top:20px;}
#calc-tools p.rs-foot::before{content:"";display:block;height:1px;margin-bottom:14px;background:rgba(14,42,51,.1);}
#calc-tools article.calc-card:hover .rs-more__go{background:var(--deep);color:var(--teal);}
@media (max-width:1100px){   /* small laptops, tablets and phones: the stage panel above its calculators */
  #calc-tools .calc-phase{grid-template-columns:minmax(0,1fr);}
  #calc-tools .calc-phase__head{position:relative;top:auto;}
}
@media (max-width:640px){
  #calc-tools .calc-cards{grid-template-columns:minmax(0,1fr);}
  #calc-tools article.calc-card:first-child:nth-last-child(odd){grid-column:auto;}
}
@media (prefers-reduced-motion:reduce){ #calc-tools article.calc-card{transition:none;} #calc-tools article.calc-card:hover{transform:none;} }

#calc-advice .oc-book p.calc-tag{
  max-width:680px;margin:0 auto clamp(20px,2.2vw,26px);text-wrap:balance;
  font-family:var(--f-head);font-weight:600;font-size:clamp(17px,1.5vw,21px);line-height:1.5;letter-spacing:-.01em;color:var(--white);
}
#calc-review .oc-lead{max-width:820px;text-wrap:balance;}
@media (max-width:400px){   /* small phones: the long button label stays on one line */
  :is(#calc-advice,#calc-review) .oc-book{padding-left:14px;padding-right:14px;}
  :is(#calc-advice,#calc-review) a.oc-btn{padding:10px 10px;font-size:14px;}
}

.crest-calculators #crest-say .rv-title span{display:inline;}
.crest-calculators #kb-about .kb-panel{background:#FFFFFF;}
.crest-calculators #crest-proof{background:#F6F4EF;}

/* ==========================================================================
   GUIDES & EBOOKS PAGE  (guides.php)
   - The page header: the long title balanced ("Guides" in Teal Dark), its line in bold under it (the Careers page's).
   - The guides (#ge-guides): cards three to a row (two on tablets, one on phones), the same height across a row: the cover (the guide's
     own image whole, or a Deep cover with a document icon and a small "PDF" tag, the measuring scale along its foot), the title, the words,
     then the Lime "Download PDF" button at the foot. Until a guide is listed, a short italic line.
   - The quotes on Paper, the title on one line; "About Us" (#ge-about) a readable column; "Locations We Serve" the Contact Us page's
     (#cu-locations), its line in bold under the title; the free review (#ge-review) with the Our Story booking panel; Partnerships on Paper.
   ========================================================================== */
:is(.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) #crest-pagehead .ph-title--long{max-width:1120px;font-size:clamp(32px,3.4vw,48px);text-wrap:balance;}
@media (max-width:400px){ :is(.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) #crest-pagehead .ph-title--long{font-size:clamp(26px,7.6vw,30px);} }
.crest-guides-ebooks .ge-nb{font-weight:inherit;white-space:nowrap;}   /* "No-Obligation" kept whole, never broken at the hyphen */

#ge-guides .os-head{max-width:960px;}
#ge-guides ul.ge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,1.8vw,24px);margin:0;padding:0;list-style:none;}
#ge-guides li.ge-card{
  display:flex;flex-direction:column;overflow:hidden;margin:0;padding:0;list-style:none;border:1px solid rgba(14,42,51,.08);border-radius:22px;background:var(--paper);
  transition:border-color .3s ease,box-shadow .4s ease,transform .4s ease;
}
#ge-guides li.ge-card:hover{border-color:rgba(11,122,114,.35);box-shadow:0 22px 44px -30px rgba(14,42,51,.45);transform:translateY(-3px);}
#ge-guides .ge-cover img{display:block;width:100%;height:auto;max-width:none;border:0;}   /* the cover shown whole */
#ge-guides .ge-cover--plain{
  position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:clamp(34px,3.6vw,48px) 20px clamp(42px,4.2vw,56px);
  background:radial-gradient(70% 80% at 100% 0%,rgba(0,209,193,.16),transparent 70%),var(--deep);
}
#ge-guides .ge-cover--plain::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:14px;opacity:.3;pointer-events:none;
  background:
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 60px) 0 100%/100% 14px no-repeat,
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 12px) 0 100%/100% 7px no-repeat;
}
#ge-guides .ge-cover__ico{display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:18px;background:rgba(0,209,193,.14);color:var(--teal);}
#ge-guides .ge-cover__ico svg{display:block;width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
#ge-guides .ge-cover__tag{padding:4px 12px;border-radius:999px;background:#C8F03C;font-family:var(--f-head);font-weight:700;font-size:12.5px;line-height:1.3;letter-spacing:.14em;color:var(--deep);}
#ge-guides .ge-body{display:flex;flex:1 1 auto;flex-direction:column;padding:clamp(20px,2.2vw,28px);}
#ge-guides h3.ge-name{margin:0;padding:0;border:0;text-transform:none;text-wrap:balance;font-family:var(--f-head);font-weight:700;font-size:clamp(17px,1.3vw,19px);line-height:1.3;letter-spacing:-.012em;color:var(--deep);}
#ge-guides .ge-body p{margin-top:10px;font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.65;color:rgba(27,31,34,.72);}
#ge-guides .ge-body p.ge-foot{margin-top:auto;padding-top:20px;}
#ge-guides a.ge-btn,#ge-guides a.ge-btn:visited{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 22px;border-radius:999px;
  background:#C8F03C;color:var(--deep);box-shadow:0 10px 24px -14px rgba(200,240,60,.85);text-decoration:none;white-space:nowrap;
  font-family:var(--f-body);font-weight:700;font-size:15px;line-height:1.2;transition:background-color .25s ease,transform .25s ease;
}
#ge-guides a.ge-btn:hover{background:#D6F56A;color:var(--deep);transform:translateY(-1px);text-decoration:none;}
#ge-guides a.ge-btn:focus{outline:none;}
#ge-guides a.ge-btn:focus-visible{outline:3px solid var(--teal-dark);outline-offset:3px;}
#ge-guides .ge-btn__ico svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
#ge-guides .ge-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;}
#ge-guides p.ge-soon{max-width:760px;margin:0 auto;text-align:center;text-wrap:balance;font-style:italic;font-size:clamp(15px,1.15vw,17px);line-height:1.6;color:rgba(27,31,34,.66);}
@media (max-width:1000px){ #ge-guides ul.ge-grid{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (max-width:640px){ #ge-guides ul.ge-grid{grid-template-columns:minmax(0,1fr);} #ge-guides a.ge-btn{width:100%;} }
@media (prefers-reduced-motion:reduce){ #ge-guides li.ge-card,#ge-guides a.ge-btn{transition:none;} #ge-guides li.ge-card:hover,#ge-guides a.ge-btn:hover{transform:none;} }

.crest-guides-ebooks #crest-say{background:#F6F4EF;}
.crest-guides-ebooks #crest-say .rv-title span{display:inline;}
:is(.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) #cu-locations .os-head{margin-bottom:clamp(32px,3.6vw,48px);}
:is(.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) #cu-locations .os-copy p{font-size:clamp(15px,1.1vw,16px);line-height:1.7;}
:is(.crest-guides-ebooks,.crest-blogs-news,.crest-construction-index) #cu-locations .cu-map__tags + .cu-map__tags{margin-top:14px;padding-top:14px;}
#ge-review .oc-lead{max-width:820px;text-wrap:balance;}
#ge-review .oc-book p.ge-tag{
  max-width:640px;margin:0 auto clamp(20px,2.2vw,26px);text-wrap:balance;
  font-family:var(--f-head);font-weight:600;font-size:clamp(17px,1.5vw,21px);line-height:1.5;letter-spacing:-.01em;color:var(--white);
}
@media (max-width:400px){   /* small phones: the long button label stays on one line */
  #ge-review .oc-book{padding-left:14px;padding-right:14px;}
  #ge-review a.oc-btn{padding:10px 10px;font-size:14px;}
}
.crest-guides-ebooks #crest-proof{background:#F6F4EF;}

/* ==========================================================================
   BLOGS & NEWS PAGE  (blog.php)
   - The page header: the long title balanced ("Blogs & News" in Teal Dark), as on the Guides & Ebooks page.
   - The quotes on White, the title on one line; "About Crest Cost Consultants" (#kb-about) on Paper, its four paragraphs in a readable
     column and the vision as the closing line; "Locations We Serve" (#cu-locations) on White, the Contact Us page's design.
   - The free review (#bn-review) on Paper: the seven mistakes numbered 01-07 on a White card (the CPD topics' numbers), the two short
     parts under their own headings, then the Our Story booking panel. Partnerships on White.
   ========================================================================== */
.crest-blogs-news #crest-say .rv-title span{display:inline;}
.crest-blogs-news .bn-nb{font-weight:inherit;white-space:nowrap;}   /* "No-Obligation" kept whole, never broken at the hyphen */
#bn-review .oc-lead{max-width:820px;text-wrap:balance;}
#bn-review h3.bn-h{
  margin:clamp(36px,4vw,52px) 0 clamp(16px,1.8vw,22px);padding:0;border:0;text-transform:none;text-wrap:balance;
  font-family:var(--f-head);font-weight:700;font-size:clamp(20px,1.75vw,25px);line-height:1.25;letter-spacing:-.015em;color:var(--deep);
}
#bn-review ol.bn-mistakes{
  counter-reset:bn;margin:0;padding:clamp(8px,1.4vw,16px) clamp(22px,3vw,40px);border:1px solid rgba(14,42,51,.07);border-radius:24px;
  background:var(--white);box-shadow:0 24px 50px -36px rgba(14,42,51,.35);list-style:none;
}
#bn-review ol.bn-mistakes li{
  counter-increment:bn;position:relative;margin:0;padding:clamp(16px,1.7vw,22px) 0 clamp(16px,1.7vw,22px) 58px;border-top:1px solid rgba(14,42,51,.1);
  list-style:none;font-size:clamp(15px,1.08vw,16px);line-height:1.65;color:rgba(27,31,34,.72);
}
#bn-review ol.bn-mistakes li:first-child{border-top:0;}
#bn-review ol.bn-mistakes li::before{
  content:counter(bn,decimal-leading-zero);position:absolute;left:0;top:clamp(15px,1.6vw,20px);
  display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:var(--deep);
  font-family:var(--f-head);font-weight:700;font-size:15px;line-height:1;color:var(--teal);
}
#bn-review ol.bn-mistakes li strong{font-family:var(--f-head);font-weight:600;color:var(--deep);}
#bn-review .oc-book p.bn-tag{
  max-width:640px;margin:0 auto clamp(20px,2.2vw,26px);text-wrap:balance;
  font-family:var(--f-head);font-weight:600;font-size:clamp(17px,1.5vw,21px);line-height:1.5;letter-spacing:-.01em;color:var(--white);
}
@media (max-width:520px){
  #bn-review ol.bn-mistakes{padding:6px 18px;border-radius:20px;}
  #bn-review ol.bn-mistakes li{padding-left:50px;}
  #bn-review ol.bn-mistakes li::before{width:38px;height:38px;font-size:14px;}
}
@media (max-width:400px){   /* small phones: the long button label stays on one line */
  #bn-review .oc-book{padding-left:14px;padding-right:14px;}
  #bn-review a.oc-btn{padding:10px 10px;font-size:14px;}
}

/* ==========================================================================
   CONSTRUCTION INDEX PAGE  (kenya-construction-cost-index.php: the Kenya Construction Cost & Project Readiness Index)
   Each section shows once its figures are entered in kenya-construction-cost-index.php; the sections take turns on White and Paper.
   - The page header: the long title balanced ("Readiness Index" and the year in Teal Dark); until the index is published, a line in italics.
   - The figures (#ci-figures): a Deep panel, each figure large in Lime; the key finding on Lime. Two to a row on phones, the key across.
   - Explore (#ci-explore): the chart whole; the search, which filters the leaderboard and moves down to it.
   - The leaderboard (#ci-board): the search and filter; the table with a Deep heading row, each heading sorting its column; tablets and
     phones: each entry as its own card.
   - What we found (#ci-found): a card per finding, the number and statistic on the left. The projects (#ci-top): numbered on a card.
   - The scoreboards (#ci-scores): cards three to a row. The opportunities (#ci-opps): a Deep band ending in a statement.
   - What this means (#ci-means): the four stages as cards. How the index works (#ci-method): the weights as rows, the caveats, small print.
   - About (#kb-about, the Knowledge Base page's) and "Planning a Construction Project?" (#ci-plan, the Our Story booking panel).
   ========================================================================== */
.crest-construction-index .ci-nb,.crest-construction-index .os-sec .os-title span.ci-nb{display:inline;white-space:nowrap;}   /* a hyphenated word kept whole (inside a two-line title too) */
.crest-construction-index .ci-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;}
.crest-construction-index #crest-pagehead .ph-text p.ci-soon{text-align:center;font-style:italic;text-wrap:balance;}
.crest-construction-index .os-sec .os-head .os-sub{max-width:860px;}

/* the figures */
#ci-figures{padding:clamp(36px,4vw,56px) 0;}
#ci-figures dl.ci-figs{display:flex;flex-wrap:wrap;gap:8px;max-width:1120px;margin:0 auto;padding:8px;border-radius:24px;background:var(--deep);box-shadow:0 34px 70px -46px rgba(14,42,51,.7);}
#ci-figures .ci-fig{flex:1 1 200px;min-width:0;padding:clamp(22px,2.4vw,30px) 18px;border-radius:18px;background:rgba(255,255,255,.04);text-align:center;}
#ci-figures .ci-fig dd{margin:0;font-family:var(--f-head);font-weight:800;font-size:clamp(30px,3vw,44px);line-height:1.05;letter-spacing:-.03em;color:#C8F03C;}
#ci-figures .ci-fig dt{margin:8px 0 0;font-size:clamp(14.5px,1.05vw,15.5px);font-weight:500;line-height:1.45;color:rgba(246,244,239,.86);}
#ci-figures .ci-fig--key{flex:1.4 1 260px;background:#C8F03C;}
#ci-figures .ci-fig--key dd{color:var(--deep);}
#ci-figures .ci-fig--key dt{font-weight:600;color:var(--deep);text-wrap:balance;}
@media (max-width:520px){ #ci-figures .ci-fig{flex-basis:130px;padding:18px 12px;} #ci-figures .ci-fig--key{flex-basis:100%;} }

/* charts: shown whole */
.crest-construction-index figure.ci-chart{max-width:1120px;margin:clamp(28px,3.2vw,40px) auto 0;}
.crest-construction-index .os-wrap--read figure.ci-chart{max-width:none;}
.crest-construction-index figure.ci-chart img{display:block;width:100%;height:auto;max-width:none;border:1px solid rgba(14,42,51,.08);border-radius:18px;background:var(--white);}
.crest-construction-index figure.ci-chart iframe{display:block;width:100%;border:1px solid rgba(14,42,51,.08);border-radius:18px;background:var(--white);}
.crest-construction-index figure.ci-chart figcaption{margin-top:10px;text-align:center;font-size:14px;line-height:1.5;color:rgba(27,31,34,.62);}

/* explore: the search */
#ci-explore .os-head{margin-bottom:0;}
#ci-explore form.ci-find{max-width:680px;margin:clamp(28px,3.2vw,40px) auto 0;text-align:center;}
#ci-explore form.ci-find[hidden]{display:none;}
#ci-explore .ci-find__line{display:block;margin:0 0 14px;font-family:var(--f-head);font-weight:600;font-size:clamp(16px,1.25vw,18px);line-height:1.45;color:var(--deep);text-wrap:balance;}
#ci-explore .ci-find__row{display:flex;gap:10px;}
.crest-construction-index :is(#ci-find,#ci-q,#ci-type){
  display:block;width:100%;height:52px;margin:0;padding:0 16px;border:1px solid rgba(14,42,51,.18);border-radius:999px;background:var(--white);color:var(--deep);
  box-shadow:none;outline:none;font-family:var(--f-body);font-weight:500;font-size:16px;line-height:1.4;transition:border-color .2s ease,box-shadow .2s ease;
}
.crest-construction-index :is(#ci-find,#ci-q,#ci-type):focus{border-color:var(--teal-dark);box-shadow:0 0 0 3px rgba(0,209,193,.25);}
.crest-construction-index :is(#ci-find,#ci-q)::placeholder{color:rgba(27,31,34,.42);opacity:1;}
#ci-explore .ci-find button,#ci-explore .ci-find button:hover,#ci-explore .ci-find button:focus{
  flex:none;min-height:52px;margin:0;padding:0 26px;border:0;border-radius:999px;background:#C8F03C;color:var(--deep);box-shadow:0 10px 24px -14px rgba(200,240,60,.85);
  cursor:pointer;text-transform:none;letter-spacing:normal;font-family:var(--f-body);font-weight:700;font-size:15.5px;line-height:1.2;
}
#ci-explore .ci-find button:hover{background:#D6F56A;}
#ci-explore .ci-find button:focus{outline:none;}
#ci-explore .ci-find button:focus-visible{outline:3px solid var(--teal-dark);outline-offset:3px;}

/* the leaderboard */
#ci-board .ci-tools{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:flex-end;max-width:1120px;margin:0 auto 18px;}
#ci-board .ci-tools[hidden]{display:none;}
#ci-board .ci-tool{flex:0 1 260px;margin:0;}
#ci-board .ci-tool--q{flex:1 1 320px;}
#ci-board .ci-tool label{display:block;margin:0 0 6px 4px;font-family:var(--f-body);font-weight:700;font-size:12.5px;line-height:1.3;letter-spacing:.14em;text-transform:uppercase;color:var(--teal-dark);}
#ci-board #ci-type{-webkit-appearance:none;appearance:none;padding-right:42px;cursor:pointer;
  background:var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%230E2A33' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center/16px 16px;}
#ci-board .ci-table{max-width:1120px;margin:0 auto;overflow:hidden;border:1px solid rgba(14,42,51,.12);border-radius:20px;background:var(--white);box-shadow:0 24px 50px -38px rgba(14,42,51,.45);}
#ci-board table{width:100%;margin:0;border:0;border-collapse:collapse;}
#ci-board th,#ci-board td{margin:0;padding:clamp(12px,1.3vw,16px) clamp(12px,1.4vw,18px);border:0;border-top:1px solid rgba(14,42,51,.08);background:none;text-align:left;vertical-align:top;font-family:var(--f-body);font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.5;color:rgba(27,31,34,.8);}
#ci-board thead th{padding:4px clamp(4px,.6vw,8px);border-top:0;background:var(--deep);font-family:var(--f-head);font-weight:600;font-size:12.5px;line-height:1.3;letter-spacing:.1em;text-transform:uppercase;color:var(--white);vertical-align:bottom;}
#ci-board tbody th{font-family:var(--f-head);font-weight:600;color:var(--deep);}
#ci-board td.ci-rank{width:70px;font-family:var(--f-head);font-weight:700;color:var(--teal-dark);font-variant-numeric:tabular-nums;}
#ci-board tbody tr:nth-child(even) > *{background:rgba(246,244,239,.6);}
#ci-board tbody tr[hidden]{display:none;}
#ci-board button.ci-sort,#ci-board button.ci-sort:hover,#ci-board button.ci-sort:focus{
  display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:0;padding:0 clamp(8px,.9vw,10px);border:0;border-radius:0;background:none;box-shadow:none;cursor:pointer;text-align:left;
  font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;
}
#ci-board button.ci-sort i{flex:none;width:7px;height:7px;margin-top:-3px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);opacity:.35;transition:transform .25s ease,opacity .25s ease;}
#ci-board th[aria-sort="ascending"] button.ci-sort i{margin-top:3px;transform:rotate(225deg);opacity:1;color:#C8F03C;}
#ci-board th[aria-sort="descending"] button.ci-sort i{opacity:1;color:#C8F03C;}
#ci-board button.ci-sort:hover i{opacity:.8;}
#ci-board button.ci-sort:focus{outline:none;}
#ci-board button.ci-sort:focus-visible{outline:2px solid var(--teal);outline-offset:3px;}
#ci-board p.ci-empty{max-width:1120px;margin:16px auto 0;text-align:center;font-style:italic;font-size:15px;color:rgba(27,31,34,.66);}
#ci-board p.ci-empty[hidden]{display:none;}
.crest-construction-index p.ci-small{max-width:900px;margin:18px auto 0;text-align:center;text-wrap:pretty;font-size:14px;line-height:1.6;color:rgba(27,31,34,.64);}
@media (max-width:820px){   /* tablets and phones: each entry as its own card, the headings beside the values */
  #ci-board .ci-table{overflow:visible;border:0;border-radius:0;background:none;box-shadow:none;}
  #ci-board table,#ci-board tbody,#ci-board tr,#ci-board tbody th,#ci-board td{display:block;width:auto;}
  #ci-board thead{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;}
  #ci-board tbody tr{position:relative;margin-top:12px;overflow:hidden;border:1px solid rgba(14,42,51,.12);border-radius:16px;background:var(--white);}
  #ci-board tbody tr:first-child{margin-top:0;}
  #ci-board tbody tr:nth-child(even) > *{background:none;}
  #ci-board tbody tr:nth-child(n) > th{padding:16px 16px 12px 70px;border-top:0;background:var(--paper);font-size:16.5px;}
  #ci-board tbody tr:nth-child(n) > td.ci-rank{position:absolute;left:14px;top:12px;display:flex;align-items:center;justify-content:center;width:42px;height:34px;padding:0;border:0;border-radius:10px;background:var(--deep);color:var(--teal);font-size:15px;}
  #ci-board td.ci-rank::before{content:none;}
  #ci-board td{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);column-gap:14px;padding:10px 16px;}
  #ci-board td::before{content:attr(data-label);font-family:var(--f-head);font-weight:600;font-size:13.5px;color:var(--deep);}
}

/* what we found */
#ci-found ol.ci-finds{display:flex;flex-direction:column;gap:clamp(14px,1.6vw,20px);max-width:1080px;margin:0 auto;padding:0;list-style:none;}
#ci-found li.ci-find-card{display:grid;grid-template-columns:minmax(0,.36fr) minmax(0,1fr);gap:clamp(20px,3vw,44px);margin:0;padding:clamp(24px,2.8vw,38px);border:1px solid rgba(14,42,51,.07);border-radius:22px;list-style:none;}
.os-sec--paper#ci-found li.ci-find-card{background:var(--white);}
.os-sec--white#ci-found li.ci-find-card{background:var(--paper);}
#ci-found .ci-find-card__n{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:var(--deep);font-family:var(--f-head);font-weight:700;font-size:15px;line-height:1;color:var(--teal);}
#ci-found p.ci-find-card__stat{margin-top:16px;font-family:var(--f-head);font-weight:700;font-size:clamp(22px,2.2vw,32px);line-height:1.2;letter-spacing:-.02em;text-wrap:balance;color:var(--teal-dark);}
#ci-found .ci-find-card__body h3{margin:0 0 10px;padding:0;border:0;text-transform:none;text-wrap:balance;font-family:var(--f-head);font-weight:700;font-size:clamp(18px,1.5vw,21px);line-height:1.3;letter-spacing:-.012em;color:var(--deep);}
#ci-found .ci-find-card__body p{font-size:clamp(15px,1.08vw,16px);line-height:1.7;color:rgba(27,31,34,.72);}
#ci-found .ci-find-card__body p + p{margin-top:1em;}
@media (max-width:760px){ #ci-found li.ci-find-card{grid-template-columns:minmax(0,1fr);gap:14px;} #ci-found p.ci-find-card__stat{margin-top:12px;} }

/* the projects with the greatest ...: numbered on a card */
#ci-top ol.ci-list{counter-reset:ci;margin:0;padding:clamp(8px,1.4vw,16px) clamp(22px,3vw,40px);border:1px solid rgba(14,42,51,.07);border-radius:24px;box-shadow:0 24px 50px -36px rgba(14,42,51,.35);list-style:none;}
.os-sec--paper#ci-top ol.ci-list{background:var(--white);}
.os-sec--white#ci-top ol.ci-list{background:var(--paper);}
#ci-top ol.ci-list li{counter-increment:ci;position:relative;margin:0;padding:clamp(16px,1.7vw,22px) 0 clamp(16px,1.7vw,22px) 58px;border-top:1px solid rgba(14,42,51,.1);list-style:none;font-size:clamp(15px,1.08vw,16px);line-height:1.65;color:rgba(27,31,34,.72);}
#ci-top ol.ci-list li:first-child{border-top:0;}
#ci-top ol.ci-list li::before{content:counter(ci,decimal-leading-zero);position:absolute;left:0;top:clamp(15px,1.6vw,20px);display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:var(--deep);font-family:var(--f-head);font-weight:700;font-size:15px;line-height:1;color:var(--teal);}
#ci-top ol.ci-list strong{font-family:var(--f-head);font-weight:600;color:var(--deep);}
@media (max-width:520px){ #ci-top ol.ci-list{padding:6px 18px;border-radius:20px;} #ci-top ol.ci-list li{padding-left:50px;} #ci-top ol.ci-list li::before{width:38px;height:38px;font-size:14px;} }

/* the scoreboards */
#ci-scores ul.ci-scores{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,1.6vw,20px);margin:0;padding:0;list-style:none;}
#ci-scores li.ci-score{position:relative;overflow:hidden;margin:0;padding:clamp(22px,2.4vw,30px) clamp(22px,2.4vw,30px) clamp(26px,2.8vw,34px);border:1px solid rgba(14,42,51,.07);border-radius:20px;list-style:none;}
#ci-scores li.ci-score::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--teal);}
.os-sec--paper#ci-scores li.ci-score{background:var(--white);}
.os-sec--white#ci-scores li.ci-score{background:var(--paper);}
#ci-scores h3.ci-score__name{margin:0;padding:0;border:0;text-transform:uppercase;font-family:var(--f-body);font-weight:700;font-size:12.5px;line-height:1.4;letter-spacing:.14em;color:var(--teal-dark);}
#ci-scores p.ci-score__fig{margin-top:10px;font-family:var(--f-head);font-weight:800;font-size:clamp(28px,2.6vw,38px);line-height:1.1;letter-spacing:-.03em;color:var(--deep);}
#ci-scores p.ci-score__meta{margin-top:10px;font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.6;color:rgba(27,31,34,.72);}
@media (max-width:1000px){ #ci-scores ul.ci-scores{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (max-width:600px){ #ci-scores ul.ci-scores{grid-template-columns:minmax(0,1fr);} }

/* the opportunities */
#ci-opps p.ci-statement{
  max-width:820px;margin:clamp(36px,4.2vw,52px) auto 0;text-align:center;text-wrap:balance;
  font-family:var(--f-head);font-weight:600;font-size:clamp(18px,1.6vw,22px);line-height:1.5;letter-spacing:-.01em;color:var(--white);
}
#ci-opps p.ci-statement::before{content:"";display:block;width:56px;height:4px;margin:0 auto clamp(18px,2vw,24px);border-radius:4px;background:#C8F03C;}

/* what this means */
#ci-means p.ci-leadin{margin:0 0 clamp(18px,2vw,24px);text-align:center;font-family:var(--f-head);font-weight:600;font-size:clamp(17px,1.4vw,20px);line-height:1.4;letter-spacing:-.01em;color:var(--deep);}
#ci-means ul.ci-stages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(14px,1.6vw,20px);margin:0;padding:0;list-style:none;}
#ci-means li.ci-stage{margin:0;padding:clamp(22px,2.4vw,30px);border:1px solid rgba(14,42,51,.07);border-radius:20px;list-style:none;}
.os-sec--paper#ci-means li.ci-stage{background:var(--white);}
.os-sec--white#ci-means li.ci-stage{background:var(--paper);}
#ci-means .ci-stage__ico{display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin-bottom:18px;border-radius:14px;background:var(--deep);color:var(--teal);}
#ci-means .ci-stage__ico svg{display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
#ci-means li.ci-stage p{font-size:clamp(14.5px,1.05vw,15.5px);line-height:1.65;color:rgba(27,31,34,.72);}
#ci-means li.ci-stage strong{display:block;margin-bottom:8px;font-family:var(--f-head);font-weight:700;font-size:clamp(17px,1.3vw,19px);line-height:1.3;letter-spacing:-.012em;color:var(--deep);}
#ci-means p.ci-close{
  max-width:860px;margin:clamp(40px,4.6vw,60px) auto 0;text-align:center;text-wrap:balance;
  font-family:var(--f-head);font-weight:600;font-size:clamp(17px,1.45vw,20px);line-height:1.55;letter-spacing:-.01em;color:var(--deep);
}
#ci-means p.ci-close::before{content:"";display:block;width:56px;height:4px;margin:0 auto clamp(18px,2vw,24px);border-radius:4px;background:var(--teal);}
@media (max-width:1100px){ #ci-means ul.ci-stages{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (max-width:600px){ #ci-means ul.ci-stages{grid-template-columns:minmax(0,1fr);} }

/* how the index works */
#ci-method ul.ci-weights{margin:clamp(20px,2.4vw,28px) 0 0;padding:0;list-style:none;}
#ci-method ul.ci-weights li{display:grid;grid-template-columns:96px minmax(0,1fr);column-gap:clamp(16px,2.4vw,28px);margin:0;padding:clamp(18px,2vw,24px) 0;border-top:1px solid rgba(14,42,51,.1);list-style:none;}
#ci-method ul.ci-weights li:last-child{border-bottom:1px solid rgba(14,42,51,.1);}
#ci-method p.ci-weights__fig{font-family:var(--f-head);font-weight:800;font-size:clamp(28px,2.6vw,36px);line-height:1;letter-spacing:-.03em;color:var(--teal-dark);}
#ci-method ul.ci-weights h3{margin:4px 0 6px;padding:0;border:0;text-transform:none;font-family:var(--f-head);font-weight:600;font-size:clamp(17px,1.35vw,19px);line-height:1.3;letter-spacing:-.01em;color:var(--deep);}
#ci-method ul.ci-weights p:not(.ci-weights__fig){font-size:clamp(15px,1.08vw,16px);line-height:1.65;color:rgba(27,31,34,.72);}
#ci-method h3.ci-h{margin:clamp(36px,4vw,52px) 0 clamp(14px,1.6vw,20px);padding:0;border:0;text-transform:none;font-family:var(--f-head);font-weight:700;font-size:clamp(20px,1.75vw,25px);line-height:1.25;letter-spacing:-.015em;color:var(--deep);}
#ci-method ul.ci-data{margin:0;padding:0;list-style:none;}
#ci-method ul.ci-data li{position:relative;margin:0;padding:0 0 0 24px;list-style:none;font-size:clamp(15px,1.08vw,16px);line-height:1.65;color:rgba(27,31,34,.72);}
#ci-method ul.ci-data li + li{margin-top:8px;}
#ci-method ul.ci-data li::before{content:"";position:absolute;left:0;top:.8em;width:12px;height:3px;border-radius:3px;background:var(--teal-dark);}
#ci-method .ci-credits{margin-top:clamp(32px,3.6vw,44px);padding-top:18px;border-top:1px solid rgba(14,42,51,.1);}
#ci-method .ci-credits p{font-size:14px;line-height:1.6;color:rgba(27,31,34,.64);}
#ci-method .ci-credits p + p{margin-top:4px;}
@media (max-width:520px){ #ci-method ul.ci-weights li{grid-template-columns:minmax(0,1fr);row-gap:6px;} }

/* planning a construction project */
#ci-plan .os-head{margin-bottom:clamp(24px,2.8vw,36px);}
#ci-plan .oc-lead{max-width:820px;text-wrap:balance;}
#ci-plan .oc-book p.ci-contact{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 26px;margin:22px auto 0;}
#ci-plan .ci-contact a,#ci-plan .ci-contact a:visited{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:6px 0;color:var(--white);text-decoration:none;font-family:var(--f-head);font-weight:600;font-size:clamp(15px,1.15vw,16.5px);line-height:1.3;overflow-wrap:anywhere;}
#ci-plan .ci-contact a:hover{color:#C8F03C;}
#ci-plan .ci-contact a:focus-visible{outline:3px solid var(--teal);outline-offset:3px;border-radius:4px;}
#ci-plan .ci-contact__ico{flex:none;width:16px;height:16px;fill:#C8F03C;}
#ci-plan .oc-book p.ci-plan__note{max-width:640px;margin-top:18px;padding-top:18px;border-top:1px solid rgba(246,244,239,.14);font-size:14.5px;line-height:1.6;color:rgba(246,244,239,.78);}

/* ==========================================================================
   ERROR 404 PAGE  (404.php)
   The page header (#crest-pagehead), everything centred in one column: "404." large in Teal Dark over the rest of the headline; the
   illustration under it, centred and shown whole in a rounded frame; then the line, the Lime button (full width on phones) and the
   small line.
   ========================================================================== */
.crest-404 #crest-pagehead{padding:clamp(44px,5vw,80px) 0 clamp(52px,6vw,96px);}
.crest-404 #crest-pagehead .ph-title{max-width:920px;margin:0 auto;font-size:clamp(26px,2.8vw,42px);line-height:1.2;letter-spacing:-.02em;text-wrap:balance;}
.crest-404 #crest-pagehead .ph-title .nf-num{display:block;margin-bottom:.08em;font-size:2.3em;line-height:1;letter-spacing:-.04em;}
.crest-404 #crest-pagehead .nf-art{max-width:720px;margin:clamp(26px,3vw,40px) auto 0;padding:0;border:0;animation:ph-up .8s .1s var(--ease) both;}
.crest-404 #crest-pagehead .nf-art img{
  display:block;width:100%;max-width:none;height:auto;margin:0;border:0;border-radius:clamp(14px,1.6vw,22px);
  box-shadow:0 34px 64px -34px rgba(6,33,52,.6);
}
.crest-404 #crest-pagehead .ph-text{max-width:760px;margin:clamp(26px,3vw,40px) auto 0;animation-delay:.18s;}
.crest-404 #crest-pagehead .ph-text p{text-align:center;text-wrap:balance;}
.crest-404 #crest-pagehead .ph-actions{margin-top:clamp(22px,2.4vw,30px);}
.crest-404 #crest-pagehead .ph-note{max-width:520px;}
@media (prefers-reduced-motion:reduce){ .crest-404 #crest-pagehead .nf-art{animation:none;} }

/* ==========================================================================
   EVERY PHOTO SHOWN WHOLE (home page, Diaspora page; and any page built later should follow it)
   Each photo keeps its own shape and shows its full picture - nothing trimmed from any edge. Beside words it sits centred
   against them rather than being stretched to their height. (Set here, after every section's own photo rules, so it wins.)
   ========================================================================== */
#crest-intro .in-story__media,
#crest-who .wh-photo,
#crest-how .hw-photo,#crest-how .hw-opening .hw-photo,#crest-how .hw-close .hw-photo,
#crest-fit .wk-img,
#crest-win .wn-photo,
#crest-abroad .ab-photo,
#crest-wrong .wr-photo{aspect-ratio:auto;height:auto;min-height:0;align-self:center;}
#crest-intro .in-story__media img,
#crest-who .wh-photo img,
#crest-how .hw-photo img,#crest-how .hw-opening .hw-photo img,#crest-how .hw-close .hw-photo img,
#crest-fit .wk-img img,
#crest-win .wn-photo img,
#crest-abroad .ab-photo img,
#crest-wrong .wr-photo img{position:relative;inset:auto;display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;}
#crest-fit .wk-img{background:none;}


/* DIASPORA: SERVICE CARD LEARN-MORE LINKS — matched to the homepage service-card buttons */
#crest-pm .pm-card{display:flex;flex-direction:column;}
#crest-pm .pm-card__foot{width:100%;margin-top:auto;padding-top:22px;text-align:center;}
#crest-pm .pm-card__foot::before{content:"";display:block;height:1px;margin-bottom:20px;background:linear-gradient(90deg,transparent,rgba(14,42,51,.14) 18%,rgba(14,42,51,.14) 82%,transparent);}
#crest-pm a.pm-more,#crest-pm a.pm-more:visited{display:inline-flex;align-items:center;gap:14px;padding:5px 5px 5px 20px;border:1px solid rgba(11,122,114,.3);border-radius:999px;background:var(--white);box-shadow:0 6px 16px -12px rgba(14,42,51,.35);font-family:var(--f-body);font-weight:600;font-size:14.5px;line-height:1.3;letter-spacing:.01em;color:var(--deep);text-decoration:none;transition:background-color .3s ease,border-color .3s ease,color .3s ease,box-shadow .3s ease;}
#crest-pm .pm-more__go{display:flex;flex:none;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:var(--deep);color:var(--teal);transition:background-color .3s ease,color .3s ease;}
#crest-pm .pm-more__go svg{display:block;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .35s ease;}
#crest-pm .pm-card:hover .pm-more__go{background:var(--teal-dark);color:var(--white);}
#crest-pm a.pm-more:hover{border-color:var(--deep);background:var(--deep);color:var(--white);text-decoration:none;box-shadow:0 12px 24px -14px rgba(14,42,51,.6);}
#crest-pm a.pm-more:hover .pm-more__go{background:#C8F03C;color:var(--deep);}
#crest-pm a.pm-more:hover .pm-more__go svg{transform:translateX(3px);}
#crest-pm a.pm-more:focus{outline:none;}
#crest-pm a.pm-more:focus-visible{outline:3px solid var(--teal);outline-offset:3px;}
#crest-pm .pm-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;}
@media(prefers-reduced-motion:reduce){#crest-pm a.pm-more,#crest-pm .pm-more__go,#crest-pm .pm-more__go svg{transition:none;}}

/* Diaspora founder section: About Us button — same treatment as the service-card buttons */
#crest-founder a.fd-about-cta,
#crest-founder a.fd-about-cta:visited{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  width:max-content;max-width:100%;min-height:44px;
  margin:24px auto 0;padding:5px 5px 5px 20px;
  border:1px solid rgba(11,122,114,.3);border-radius:999px;
  background:var(--white);color:var(--deep);text-decoration:none;
  font-family:var(--f-body);font-weight:600;font-size:14.5px;line-height:1.3;letter-spacing:.01em;
  box-shadow:0 6px 16px -12px rgba(14,42,51,.35);
  transition:background-color .3s ease,border-color .3s ease,color .3s ease,box-shadow .3s ease;
}
#crest-founder .fd-about-cta__go{
  display:flex;flex:none;align-items:center;justify-content:center;
  width:34px;height:34px;border-radius:50%;background:var(--deep);color:var(--teal);
  transition:background-color .3s ease,color .3s ease;
}
#crest-founder .fd-about-cta__go svg{
  display:block;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round;transition:transform .35s ease;
}
#crest-founder a.fd-about-cta:hover{
  border-color:var(--deep);background:var(--deep);color:var(--white);text-decoration:none;
  box-shadow:0 12px 24px -14px rgba(14,42,51,.6);
}
#crest-founder a.fd-about-cta:hover .fd-about-cta__go{background:#C8F03C;color:var(--deep);}
#crest-founder a.fd-about-cta:hover .fd-about-cta__go svg{transform:translateX(3px);}
#crest-founder a.fd-about-cta:focus{outline:none;}
#crest-founder a.fd-about-cta:focus-visible{outline:3px solid var(--teal);outline-offset:3px;}
@media(prefers-reduced-motion:reduce){
  #crest-founder a.fd-about-cta,#crest-founder .fd-about-cta__go,#crest-founder .fd-about-cta__go svg{transition:none;}
}


/* Diaspora page: homepage CTA markup and matching homepage CTA styling. */
/* ---------- call to action, closing the section ---------- */
#diaspora-cta-intro .in-cta{
  display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;gap:clamp(22px,2.4vw,28px);text-align:center;
  max-width:880px;margin:clamp(56px,6vw,88px) auto 0;padding:clamp(32px,3.4vw,48px) clamp(24px,3.4vw,48px);border-radius:20px;   /* a compact card, centred: the title, the two points, then the buttons */
  position:relative;overflow:hidden;border-radius:20px;background:var(--deep);color:var(--white);
}
#diaspora-cta-intro .in-cta::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:16px;opacity:.3;pointer-events:none;
  background:
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 60px) 0 100%/100% 16px no-repeat,
    repeating-linear-gradient(to right,var(--teal) 0 1px,transparent 1px 12px) 0 100%/100% 8px no-repeat;
}
#diaspora-cta-intro .in-cta__title{font-family:var(--f-head);font-weight:700;font-size:clamp(22px,2vw,30px);line-height:1.22;letter-spacing:-.018em;text-wrap:balance;color:var(--white);}
#diaspora-cta-intro .in-cta__points{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 28px;margin-top:14px;}
#diaspora-cta-intro .in-cta__points li{display:flex;align-items:center;gap:10px;font-size:clamp(15px,1.1vw,16px);line-height:1.35;color:rgba(246,244,239,.9);}
#diaspora-cta-intro .in-cta__tick{display:flex;flex:none;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:rgba(0,209,193,.18);}
#diaspora-cta-intro .in-cta__tick svg{display:block;width:12px;height:12px;}
#diaspora-cta-intro .in-cta__tick polygon{fill:var(--teal);}
#diaspora-cta-intro .in-cta__actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;}
#diaspora-cta-intro a.in-cta__btn{
  display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:0 30px;border-radius:999px;
  border:1px solid var(--teal);background:var(--teal);color:var(--deep);box-shadow:none;text-decoration:none;white-space:nowrap;
  font-family:var(--f-body);font-weight:600;font-size:16px;line-height:1.3;
  transition:background-color .25s ease,color .25s ease,border-color .25s ease;
}
#diaspora-cta-intro a.in-cta__btn:visited{color:var(--deep);}
#diaspora-cta-intro a.in-cta__btn:hover{border-color:#80E8E0;background:#80E8E0;color:var(--deep);text-decoration:none;}
#diaspora-cta-intro a.in-cta__btn:focus{outline:none;}
#diaspora-cta-intro a.in-cta__btn:focus-visible{outline:3px solid var(--teal);outline-offset:3px;}
#diaspora-cta-intro a.in-cta__btn--ghost,#diaspora-cta-intro a.in-cta__btn--ghost:visited{background:transparent;color:var(--white);border:1px solid rgba(246,244,239,.45);}
#diaspora-cta-intro a.in-cta__btn--ghost:hover{background:var(--white);border-color:var(--white);color:var(--deep);}


/* ---------- responsive ---------- */
@media (max-width:1000px){
  #diaspora-cta-intro .in-story__grid{grid-template-columns:minmax(0,1fr);gap:28px;}
  #diaspora-cta-intro .in-story__media{aspect-ratio:16/10;}
}
@media (max-width:680px){
  #diaspora-cta-intro{font-size:16px;}
  #diaspora-cta-intro .in-cta{padding:26px 22px;}
  #diaspora-cta-intro .in-cta__points{flex-direction:column;align-items:flex-start;width:fit-content;max-width:100%;margin-left:auto;margin-right:auto;text-align:left;}
  #diaspora-cta-intro a.in-cta__btn{flex:1 1 100%;padding:0 12px;font-size:clamp(14px,4vw,16px);}
}

/* ---------- call to action: a bright lime band, centred, between the dark band and the light one ---------- */
:is(#diaspora-cta-band, #diaspora-cta-close) .hw-cta{padding:clamp(34px,3.8vw,56px) 0;background:#C8F03C;text-align:center;}
:is(#diaspora-cta-band, #diaspora-cta-close) .hw-cta__title{font-family:var(--f-head);font-weight:700;font-size:clamp(25px,2.6vw,38px);line-height:1.2;letter-spacing:-.022em;text-wrap:balance;color:var(--deep);}
:is(#diaspora-cta-band, #diaspora-cta-close) .hw-cta__points{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 32px;margin-top:clamp(14px,1.6vw,20px);}
:is(#diaspora-cta-band, #diaspora-cta-close) .hw-cta__points li{display:flex;align-items:center;gap:10px;font-size:clamp(15px,1.1vw,16px);font-weight:600;line-height:1.35;color:var(--deep);}
:is(#diaspora-cta-band, #diaspora-cta-close) .hw-cta__tick{display:flex;flex:none;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:var(--deep);}
:is(#diaspora-cta-band, #diaspora-cta-close) .hw-cta__tick svg{display:block;width:12px;height:12px;}
:is(#diaspora-cta-band, #diaspora-cta-close) .hw-cta__tick polygon{fill:#C8F03C;}
:is(#diaspora-cta-band, #diaspora-cta-close) .hw-cta__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:clamp(24px,2.6vw,34px);}
:is(#diaspora-cta-band, #diaspora-cta-close) a.hw-cta__btn,:is(#diaspora-cta-band, #diaspora-cta-close) a.hw-cta__btn:visited{
  display:inline-flex;align-items:center;justify-content:center;min-height:58px;padding:0 32px;border:1.5px solid var(--deep);border-radius:999px;
  background:var(--deep);color:var(--white);box-shadow:none;text-decoration:none;white-space:nowrap;
  font-family:var(--f-body);font-weight:600;font-size:16px;line-height:1.3;
  transition:background-color .25s ease,color .25s ease,transform .25s ease;
}
:is(#diaspora-cta-band, #diaspora-cta-close) a.hw-cta__btn:hover{background:#0B7A72;border-color:#0B7A72;color:var(--white);text-decoration:none;transform:translateY(-1px);}
:is(#diaspora-cta-band, #diaspora-cta-close) a.hw-cta__btn--ghost,:is(#diaspora-cta-band, #diaspora-cta-close) a.hw-cta__btn--ghost:visited{background:transparent;color:var(--deep);}
:is(#diaspora-cta-band, #diaspora-cta-close) a.hw-cta__btn--ghost:hover{background:var(--deep);border-color:var(--deep);color:var(--white);}
:is(#diaspora-cta-band, #diaspora-cta-close) a.hw-cta__btn:focus{outline:none;}
:is(#diaspora-cta-band, #diaspora-cta-close) a.hw-cta__btn:focus-visible{outline:3px solid var(--deep);outline-offset:3px;}


:is(#diaspora-cta-band, #diaspora-cta-close) .hw-wrap{width:min(100% - 2*var(--gutter),1320px);margin-inline:auto;}

/* Diaspora page: the copied homepage lime CTA band keeps the homepage styling exactly. */
#crest-how-close .hw-cta{padding:clamp(34px,3.8vw,56px) 0;background:#C8F03C;text-align:center;}
#crest-how-close .hw-cta__title{font-family:var(--f-head);font-weight:700;font-size:clamp(25px,2.6vw,38px);line-height:1.2;letter-spacing:-.022em;text-wrap:balance;color:var(--deep);}
#crest-how-close .hw-cta__points{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 32px;margin-top:clamp(14px,1.6vw,20px);}
#crest-how-close .hw-cta__points li{display:flex;align-items:center;gap:10px;font-size:clamp(15px,1.1vw,16px);font-weight:600;line-height:1.35;color:var(--deep);}
#crest-how-close .hw-cta__tick{display:flex;flex:none;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:var(--deep);}
#crest-how-close .hw-cta__tick svg{display:block;width:12px;height:12px;}
#crest-how-close .hw-cta__tick polygon{fill:#C8F03C;}
#crest-how-close .hw-cta__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:clamp(24px,2.6vw,34px);}
#crest-how-close a.hw-cta__btn,#crest-how-close a.hw-cta__btn:visited{display:inline-flex;align-items:center;justify-content:center;min-height:58px;padding:0 32px;border:1.5px solid var(--deep);border-radius:999px;background:var(--deep);color:var(--white);box-shadow:none;text-decoration:none;white-space:nowrap;font-family:var(--f-body);font-weight:600;font-size:16px;line-height:1.3;transition:background-color .25s ease,color .25s ease,transform .25s ease;}
#crest-how-close a.hw-cta__btn:hover{background:#0B7A72;border-color:#0B7A72;color:var(--white);text-decoration:none;transform:translateY(-1px);}
#crest-how-close a.hw-cta__btn--ghost,#crest-how-close a.hw-cta__btn--ghost:visited{background:transparent;color:var(--deep);}
#crest-how-close a.hw-cta__btn--ghost:hover{background:var(--deep);border-color:var(--deep);color:var(--white);}
#crest-how-close a.hw-cta__btn:focus{outline:none;}
#crest-how-close a.hw-cta__btn:focus-visible{outline:3px solid var(--deep);outline-offset:3px;}
@media(max-width:680px){#crest-how-close .hw-cta__points{flex-direction:column;align-items:flex-start;width:fit-content;max-width:100%;margin-left:auto;margin-right:auto;text-align:left;}#crest-how-close .hw-cta__actions{width:100%;}#crest-how-close a.hw-cta__btn{flex:1 1 100%;padding:0 12px;font-size:clamp(14px,4vw,16px);}}
