/* Sirioos left typography system (draft, unpublished).
   Add header.vh.dir-left on any page hero. Keeps live nebula/galaxy backgrounds.
   Type aligns to the logo (.wrap) left edge and occupies ~2/3 of the viewport.
   No extra stars. Subtle line reveal in /js/headers-left.js; ?shot=1 and
   prefers-reduced-motion snap to rest.
*/
header.vh.dir-left{
  text-align:left;
  justify-content:center !important;
  min-height:100vh !important;
  min-height:100svh !important;
  height:auto !important;
  max-height:none !important;
  padding-top:calc(var(--navh,96px) + env(safe-area-inset-top,0px) + 16px) !important;
  padding-bottom:48px !important;
  box-sizing:border-box;
}
@supports (height:100dvh){
  header.vh.dir-left{min-height:100dvh !important}
}

/* dir-col follows the site .wrap / logo left edge. */
header.vh.dir-left .dir-col{
  width:min(1240px,calc(100% - 48px));
  margin-left:auto;
  margin-right:auto;
  max-width:none;
  text-align:left;
}
@media(min-width:821px){
  header.vh.dir-left .dir-col{
    width:min(1600px,calc(100% - 2*clamp(40px,5.6vw,110px)));
  }
}

/* Type + CTA column: ~2/3+ of the viewport so the live nebula/star stays open on the right.
   79vw / 1140px fits measured longest lines "Does your identity" (~970px at 118px). */
header.vh.dir-left .top,
header.vh.dir-left .bot,
#p-home header.vh.home.dir-left .top,
#p-home header.vh.home.dir-left .bot,
[id^="p-"] header.vh.dir-left .top,
[id^="p-"] header.vh.dir-left .bot,
[id^="p-"] header.vh.dir-left.st387 .top,
[id^="p-"] header.vh.dir-left.st387 .bot{
  width:auto !important;
  max-width:min(1140px,79vw);
  margin-left:0 !important;
  margin-right:auto !important;
  padding-left:0;
  padding-right:0;
  text-align:left;
}

/* Eyebrow: EXACTLY as live (18px / 14px, .26em, gold). Left-aligned only. No underline. */
header.vh.dir-left h1 .eyebrow,
#p-home header.vh.home.dir-left h1 .eyebrow,
header.vh.dir-left.cu h1 .eyebrow,
header.vh.dir-left.st387 h1 .eyebrow,
#p-venus header.vh.dir-left h1 .eyebrow,
#p-jupiter header.vh.dir-left h1 .eyebrow,
[id^="p-"] header.vh.dir-left h1 .eyebrow,
[id^="p-"] header.vh.dir-left.cu h1 .eyebrow,
[id^="p-"] .vh.cu.dir-left h1 .eyebrow,
[id^="p-"] .vh h1 .eyebrow{
  display:block !important;
  width:max-content;
  max-width:100%;
  margin:0 0 18px !important;
  padding:0 !important;
  border:0 !important;
  border-bottom:0 !important;
  background:none !important;
  font-size:12.6px !important;
  font-weight:500 !important;
  letter-spacing:.26em !important;
  line-height:1.5 !important;
  text-transform:uppercase;
  text-align:left !important;
  color:var(--gl,#D8B45A) !important;
  -webkit-text-fill-color:var(--gl,#D8B45A) !important;
  text-shadow:none !important;
}
header.vh.dir-left h1 .eyebrow .ep,
#p-home header.vh.home.dir-left h1 .eyebrow .ep,
[id^="p-"] header.vh.dir-left h1 .eyebrow .ep{
  display:inline !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  white-space:normal;
  text-align:left !important;
  color:inherit !important;
  -webkit-text-fill-color:inherit !important;
  font-size:inherit !important;
  letter-spacing:inherit !important;
  font-weight:inherit !important;
}
@media (min-width:821px){
  header.vh.dir-left h1 .eyebrow,
  #p-home header.vh.home.dir-left h1 .eyebrow,
  header.vh.dir-left.cu h1 .eyebrow,
  header.vh.dir-left.st387 h1 .eyebrow,
  #p-venus header.vh.dir-left h1 .eyebrow,
  #p-jupiter header.vh.dir-left h1 .eyebrow,
  [id^="p-"] header.vh.dir-left h1 .eyebrow,
  [id^="p-"] header.vh.dir-left.cu h1 .eyebrow,
  [id^="p-"] .vh.cu.dir-left h1 .eyebrow,
  [id^="p-"] .vh h1 .eyebrow{
    font-size:16.2px !important;
  }
  header.vh.dir-left h1 .eyebrow .ep,
  #p-home header.vh.home.dir-left h1 .eyebrow .ep,
  [id^="p-"] header.vh.dir-left h1 .eyebrow .ep{
    white-space:nowrap;
  }
}


/* h1: very large, Regular 400, tight leading, white (no gradient clip) */
header.vh.dir-left h1,
header.vh.dir-left h1 .hl,
header.vh.dir-left h1 .hl-l,
header.vh.dir-left h1 .hl-x,
#p-home header.vh.home.dir-left h1,
#p-home header.vh.home.dir-left h1 .hl,
#p-home header.vh.home.dir-left h1 .hl-l,
#p-home header.vh.home.dir-left h1 .hl-x,
header.vh.dir-left.smh .hl,
#p-method header.vh.dir-left .hl,
header.vh.dir-left.st387 .hl{
  font-family:var(--sans,Poppins,system-ui,sans-serif);
  font-weight:400 !important;
  font-size:clamp(36px,8.18vw,120px) !important;
  line-height:1.08 !important;
  letter-spacing:-.04em;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  background:none !important;
  -webkit-background-clip:border-box !important;
  background-clip:border-box !important;
  text-shadow:none;
  filter:none;
}
header.vh.dir-left h1{margin:0;text-align:left}
header.vh.dir-left h1 .hl{display:block}
header.vh.dir-left h1 .hl-l,
#p-home header.vh.home.dir-left h1 .hl-l{
  display:block;
  overflow:visible;
  white-space:nowrap;
}
header.vh.dir-left h1 .hl-x{display:block;will-change:transform}

/* Sub / meta: same left edge, unchanged copy, readable measure */
header.vh.dir-left .top .sub,
[id^="p-"] header.vh.dir-left .top .sub,
[id^="p-"] header.vh.dir-left.st387 .top .sub{
  margin:20px 0 0;
  margin-right:auto;
  max-width:36em;
  text-align:left;
  text-shadow:none;
}
header.vh.dir-left .top .meta{margin-top:12px;text-align:left}

/* CTA: existing ghost style, left-aligned, content-width */
header.vh.dir-left .bot,
#p-home header.vh.home.dir-left .bot,
[id^="p-"] header.vh.dir-left .bot,
[id^="p-"] header.vh.dir-left.st387 .bot{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:16px;
  margin-top:32px;
}
header.vh.dir-left .bot .pair,
#p-home header.vh.home.dir-left .bot .pair,
[id^="p-"] header.vh.dir-left .bot .pair{
  display:flex;
  justify-content:flex-start;
  flex-direction:row;
  flex-wrap:wrap;
  gap:14px;
  width:auto;
  max-width:100%;
}
header.vh.dir-left .bot .pair .bt,
header.vh.dir-left .bot .pair .bt.ghost,
header.vh.dir-left .bot .pair .bt.gold,
#p-home header.vh.home.dir-left .bot .pair .bt{
  width:auto !important;
  min-width:0 !important;
  max-width:100%;
  flex:0 0 auto;
  align-self:flex-start;
  background:rgba(0,0,0,.55);
  color:#fff;
  border:1px solid #fff;
}


.dir-left .eyebrow,
.dir-left .top .sub,
.dir-left .top .meta,
.dir-left .bot{animation:hlfade .65s cubic-bezier(.16,1,.3,1) both}
.dir-left .eyebrow{animation-delay:40ms}
.dir-left .top .sub{animation-delay:.42s}
.dir-left .top .meta{animation-delay:.48s}
.dir-left .bot{animation-delay:.5s}
.dir-left .hl-l:nth-child(1) .hl-x{animation:hlrise .75s 70ms cubic-bezier(.16,1,.3,1) both}
.dir-left .hl-l:nth-child(2) .hl-x{animation:hlrise .75s 140ms cubic-bezier(.16,1,.3,1) both}
.dir-left .hl-l:nth-child(3) .hl-x{animation:hlrise .75s 210ms cubic-bezier(.16,1,.3,1) both}
.dir-left .hl-l:nth-child(4) .hl-x{animation:hlrise .75s 280ms cubic-bezier(.16,1,.3,1) both}
.dir-left .hl-l:nth-child(5) .hl-x{animation:hlrise .75s 350ms cubic-bezier(.16,1,.3,1) both}
@keyframes hlrise{from{transform:translateY(60%);opacity:.2}to{transform:translateY(0);opacity:1}}
@keyframes hlfade{from{opacity:0}to{opacity:1}}

html.is-hold .dir-left .hl-x{animation:none !important;transform:translateY(60%);opacity:.2}
html.is-hold .dir-left .eyebrow,
html.is-hold .dir-left .top .sub,
html.is-hold .dir-left .top .meta,
html.is-hold .dir-left .bot{animation:none !important;opacity:0}
html.is-shot .dir-left .hl-x,
html.is-shot .dir-left .eyebrow,
html.is-shot .dir-left .top .sub,
html.is-shot .dir-left .top .meta,
html.is-shot .dir-left .bot{animation:none !important;transform:none !important;opacity:1 !important}

@media (prefers-reduced-motion:reduce){
  .dir-left .hl-x,
  .dir-left .eyebrow,
  .dir-left .top .sub,
  .dir-left .top .meta,
  .dir-left .bot{animation:none !important;transform:none !important;opacity:1 !important}
}


/* Desktop/mobile editorial line-break variants */
header.vh.dir-left h1 .hl-m{display:none}
@media (max-width:820px){
  header.vh.dir-left h1 .hl-d{display:none}
  header.vh.dir-left h1 .hl-m{display:block}
}

@media (max-width:820px){
  header.vh.dir-left{padding-bottom:36px !important}
  header.vh.dir-left .dir-col{width:min(1240px,calc(100% - 48px))}
  header.vh.dir-left .top,
  header.vh.dir-left .bot,
  #p-home header.vh.home.dir-left .top,
  #p-home header.vh.home.dir-left .bot,
  [id^="p-"] header.vh.dir-left .top,
  [id^="p-"] header.vh.dir-left .bot{max-width:100%}
header.vh.dir-left h1,
  header.vh.dir-left h1 .hl,
  header.vh.dir-left h1 .hl-l,
  header.vh.dir-left h1 .hl-x,
  #p-home header.vh.home.dir-left h1,
  #p-home header.vh.home.dir-left h1 .hl,
  #p-home header.vh.home.dir-left h1 .hl-l,
  #p-home header.vh.home.dir-left h1 .hl-x{
    font-size:clamp(44px,11.8vw,48px) !important;
    line-height:1.08 !important;
  }
  header.vh.dir-left h1 .eyebrow,
  #p-home header.vh.home.dir-left h1 .eyebrow,
  header.vh.dir-left.cu h1 .eyebrow,
  header.vh.dir-left.st387 h1 .eyebrow,
  #p-venus header.vh.dir-left h1 .eyebrow,
  #p-jupiter header.vh.dir-left h1 .eyebrow,
  [id^="p-"] header.vh.dir-left h1 .eyebrow,
  [id^="p-"] header.vh.dir-left.cu h1 .eyebrow,
  [id^="p-"] .vh.cu.dir-left h1 .eyebrow,
  [id^="p-"] .vh h1 .eyebrow{
    font-size:12.6px !important;
    letter-spacing:.26em !important;
    line-height:1.5 !important;
    margin-bottom:18px !important;
    padding:0 !important;
    border:0 !important;
    color:var(--gl,#D8B45A) !important;
    -webkit-text-fill-color:var(--gl,#D8B45A) !important;
  }
  header.vh.dir-left h1 .eyebrow .ep{white-space:normal}
  header.vh.dir-left .bot{margin-top:24px}
}


/* CTA −20%: header heroes + closing 'Next step' nebula band (section.vh.short).
   Scales font-size, horizontal padding, and height (height is the vertical pad). */
header.vh.dir-left .bot .pair .bt,
header.vh.dir-left .bot .pair .bt.ghost,
header.vh.dir-left .bot .pair .bt.gold,
#p-home header.vh.home.dir-left .bot .pair .bt,
#p-home header.vh.home.dir-left .bot .pair .bt.ghost,
#p-home header.vh.home.dir-left .bot .pair .bt.gold,
[id^="p-"] header.vh.dir-left .bot .pair .bt,
section.vh.short .bot .pair .bt,
section.vh.short .bot .pair .bt.ghost,
section.vh.short .bot .pair .bt.gold,
[id^="p-"] section.vh.short .bot .pair .bt{
  box-sizing:border-box !important;
  line-height:1 !important;
}
@media (min-width:821px){
  header.vh.dir-left .bot .pair .bt,
  header.vh.dir-left .bot .pair .bt.ghost,
  header.vh.dir-left .bot .pair .bt.gold,
  #p-home header.vh.home.dir-left .bot .pair .bt,
  #p-home header.vh.home.dir-left .bot .pair .bt.ghost,
  #p-home header.vh.home.dir-left .bot .pair .bt.gold,
  [id^="p-"] header.vh.dir-left .bot .pair .bt,
  section.vh.short .bot .pair .bt,
  section.vh.short .bot .pair .bt.ghost,
  section.vh.short .bot .pair .bt.gold,
  [id^="p-"] section.vh.short .bot .pair .bt{
    font-size:14.56px !important;   /* 18.2 × .8 */
    height:45.76px !important;      /* 57.2 × .8 */
    padding-left:27.04px !important;  /* 33.8 × .8 */
    padding-right:27.04px !important;
    line-height:1 !important;
  }
}
@media (max-width:820px){
  header.vh.dir-left .bot .pair .bt,
  header.vh.dir-left .bot .pair .bt.gold,
  #p-home header.vh.home.dir-left .bot .pair .bt,
  #p-home header.vh.home.dir-left .bot .pair .bt.gold,
  [id^="p-"] header.vh.dir-left .bot .pair .bt,
  section.vh.short .bot .pair .bt,
  section.vh.short .bot .pair .bt.gold,
  [id^="p-"] section.vh.short .bot .pair .bt{
    font-size:11.2px !important;    /* 14 × .8 (gold / default .bt) */
    height:35.2px !important;       /* 44 × .8 */
    padding-left:24px !important;   /* 30 × .8 */
    padding-right:24px !important;
    line-height:1 !important;
  }
  header.vh.dir-left .bot .pair .bt.ghost,
  #p-home header.vh.home.dir-left .bot .pair .bt.ghost,
  [id^="p-"] header.vh.dir-left .bot .pair .bt.ghost,
  section.vh.short .bot .pair .bt.ghost,
  [id^="p-"] section.vh.short .bot .pair .bt.ghost{
    font-size:10.4px !important;    /* 13 × .8 */
    height:35.2px !important;
    padding-left:24px !important;
    padding-right:24px !important;
    line-height:1 !important;
  }
}


/* Home only: more space below the client logo carousel, before the Cris / team section.
   Desktop padding-bottom 56px → 87px (+55%). Mobile 36px → 56px (+56%). */
@media (min-width:821px){
  #p-home section.clients,
  #p-home section.sec.clients,
  #p-home #the-journey.clients{
    padding-bottom:87px !important;
  }
}
@media (max-width:820px){
  #p-home section.clients,
  #p-home section.sec.clients,
  #p-home #the-journey.clients{
    padding-bottom:56px !important;
  }
}

/* Home only: remove the thin grey rule between the 3 planet cards and the Expertise row.
   Keep the existing 36px margin + 28px padding so spacing stays balanced. */
#p-home .mrow,
#p-home section.sec .mrow{
  border-top:0 !important;
  border-top-color:transparent !important;
  box-shadow:none;
}

/* Method (and any) header lede: desktop forced break via br.sub-br; mobile wraps naturally. */
@media (max-width:820px){
  header.vh.dir-left .top .sub br.sub-br,
  header.vh .top .sub br.sub-br{display:none}
}

/* Agency: same breathing-space treatment as home, under the client logos carousel.
   Live padding-bottom is 50.4px desktop / 36px mobile. +55% → 78px / 56px. */
section.clients.ag41k{
  padding-bottom:78px !important;
}
@media (max-width:820px){
  section.clients.ag41k{
    padding-bottom:56px !important;
  }
}

/* Keep “US and Europe” together so Europe is not an orphan. */
#ag41h .nw,
header.vh .top .sub .nw{white-space:nowrap}
