/* Lens hero, shared by GTM, Marketing and Growth. A tool screen is the picture; the person is a small avatar by the byline.
   Sizes come from the g22 tokens, no values of its own for type, radius, line or tap height. */
.lh{--on:244 244 237;--lt:#D2FF00;--lo:#C9E23A;position:relative;overflow:hidden;isolation:isolate;display:flex;align-items:center;min-height:min(100svh,880px);padding:clamp(92px,12vh,132px) 0 clamp(56px,8vh,96px);color:rgb(244 244 237)}
.lh--gtm{background:#282C20}.lh--mk{background:#3B3C38}.lh--gr{background:#3B3C38}
.lh__bg{position:absolute;inset:0;z-index:0;background:center/cover no-repeat}
.lh--gtm .lh__bg{background-image:url(bg-gt.60583475.svg)}
.lh--mk .lh__bg{background-image:url(bg-mk.01568a6c.svg)}
.lh--gr .lh__bg{background-image:url(bg-gr.bd0f6fb6.svg)}
.lh__w{position:relative;z-index:1;width:min(1240px,100% - 2*var(--gut,24px));margin-inline:auto;display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:clamp(32px,5vw,80px);align-items:center}
.lh .eyebrow{display:block;margin-bottom:16px;color:#D2FF00}
.lh h1{margin:0;font-size:clamp(44px,5.6vw,88px);line-height:var(--g-lh-d,.92)}
.lh h1 span{display:block;color:#D2FF00}
.lh h1 .vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.lh__lead{max-width:24em;margin:22px 0 0;font:400 clamp(16px,1.35vw,19px)/1.45 var(--sans);color:rgb(244 244 237/.86)}
.lh__btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.lh__fig{margin:0}
.lh__fig img{display:block;width:100%;height:auto;border-radius:var(--g-r-card,12px);box-shadow:0 0 0 var(--g-line,1px) var(--g-line-on,rgb(244 244 237/.28))}
.lh__fig figcaption{margin-top:12px;font:600 var(--g-txt-min,12px)/1.3 var(--sans);letter-spacing:.06em;text-transform:uppercase;color:rgb(244 244 237/.64)}
@media (max-width:900px){
  .lh{display:block;min-height:0;padding:84px 0 48px}
  .lh__w{grid-template-columns:1fr;gap:28px}
  .lh h1{font-size:var(--g-h1,44px)}
}
/* the one small portrait on each lens page, by the byline */
.lh-by{display:flex;align-items:center;gap:14px;margin:22px 0 0}
.lh-av{flex:none;width:56px;height:56px;border-radius:50%;object-fit:cover;object-position:50% 6%;background:#282C20;box-shadow:0 0 0 var(--g-line,1px) var(--g-line-on,rgb(244 244 237/.28))}
.mk-pov .lh-av{background:#3B3C38}
.gr-pov .lh-av{background:#3B3C38}
.lh-av{opacity:1;filter:none;mix-blend-mode:normal}
.gr-pov .lh-by{font:600 var(--g-txt-min,12px)/1 var(--sans);letter-spacing:.06em;text-transform:uppercase;opacity:1}
.gr-pov .lh-by span{opacity:.8}

/* light ground: cream, ink type, one accent colour per page */
.lh{--on:20 22 18;--ink:#141612;color:#141612}
.lh--gtm{background:#F4F4ED;--ac:#4D5C00}
.lh--mk{background:#F4F4ED;--ac:#4D5C00}
.lh--gr{background:#F4F4ED;--ac:#4D5C00}
.lh__bg{display:none}
.lh .eyebrow{color:var(--ac)}
.lh h1 span{color:var(--ac)}
.lh__lead{color:rgb(20 22 18/.78)}
.lh__fig img{box-shadow:0 0 0 var(--g-line,1px) rgb(20 22 18/.14),0 40px 70px -36px rgba(20,22,18,.55)}
.lh__fig figcaption{color:rgb(20 22 18/.6)}


/* ---- hero, round 3: centred type on a plain ground, the product window bleeding off the bottom edge.
   No wash, no floating cards, no accent on the headline; the one lime is the button. ---- */
.lh{display:block;min-height:0;padding:clamp(104px,14vh,148px) 0 0;background:#F4F4ED;--ac:#141612}
.lh__w{display:block;width:min(1120px,100% - 2*var(--gut,24px))}
.lh__tx{display:flex;flex-direction:column;align-items:center;text-align:center}
.lh .eyebrow{margin:0 0 20px;color:rgb(20 22 18/.62)}
.lh h1{font-size:clamp(48px,7.4vw,112px);line-height:.9;max-width:11em}
.lh h1 span{display:inline;color:inherit}
.lh__lead{max-width:30em;margin:24px auto 0;font-size:clamp(17px,1.5vw,20px)}
.lh__btns{justify-content:center;margin-top:30px}
.lh__fig{margin:clamp(44px,7vw,84px) auto 0;max-width:1040px}
.lh__crop{position:relative;overflow:hidden;aspect-ratio:1050/600;border-radius:var(--g-r-card,12px) var(--g-r-card,12px) 0 0;
  box-shadow:0 0 0 1px rgb(20 22 18/.12),0 -1px 0 rgb(255 255 255/.6) inset}
.lh__crop img{position:absolute;left:-3.05%;top:var(--ct,-6.67%);width:121.9%;max-width:none;height:auto;border-radius:0;box-shadow:none}
.lh__fig img{box-shadow:none}
.lh__fig figcaption{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:640px){
  .lh{padding-top:92px}
  .lh h1{font-size:clamp(44px,13vw,60px)}
  .lh__fig{margin-top:36px}
  .lh__crop{aspect-ratio:1050/700;--ct:-5.71%}
}
@media (prefers-reduced-motion:no-preference){
  .lh__crop img{transition:transform .9s var(--m-ease,cubic-bezier(.2,.7,.1,1))}
}

/* ---- hero depth: type rises in, the product window starts tilted and settles flat as it enters.
   Pure CSS. Scroll-driven where the browser supports it, a short entrance elsewhere; nothing moves under reduced motion. ---- */
@media (prefers-reduced-motion:no-preference){
  .lh__tx>*{animation:lh-up .9s var(--m-ease,cubic-bezier(.2,.7,.1,1)) backwards}
  .lh__tx>:nth-child(2){animation-delay:.08s}
  .lh__tx>:nth-child(3){animation-delay:.16s}
  .lh__tx>:nth-child(4){animation-delay:.24s}
  .lh__w{perspective:1600px}
  .lh__crop{transform-origin:50% 100%;animation:lh-tilt 1.2s var(--m-ease,cubic-bezier(.2,.7,.1,1)) .3s backwards}
  @supports (animation-timeline:view()){
    .lh__crop{animation:lh-tilt linear both;animation-timeline:view();animation-range:entry 20% entry 100%}
  }
  .lh__crop::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
    background:linear-gradient(180deg,rgb(255 255 255/.55),rgb(255 255 255/0) 22%);mix-blend-mode:soft-light}
  .lh__crop:hover img{transform:scale(1.012)}
}
@keyframes lh-up{from{opacity:0;translate:0 18px}}
@keyframes lh-tilt{from{transform:rotateX(9deg) translateY(28px) scale(.965);opacity:.4}to{transform:none;opacity:1}}
.lh__crop{box-shadow:0 0 0 1px rgb(20 22 18/.12),0 30px 80px -30px rgb(20 22 18/.35)}

/* ---- hero screens: tabs, cross-fade, slow autoplay with progress in the active tab ---- */
.lh__tabs{display:flex;justify-content:center;gap:2px;width:max-content;max-width:100%;margin:0 auto 22px;padding:4px;border-radius:999px;background:rgb(20 22 18/.06);box-shadow:inset 0 0 0 1px rgb(20 22 18/.08)}
.lh__tabs[hidden]{display:none}
.lh__tab{position:relative;min-height:44px;padding:0 20px;border:0;border-radius:999px;background:none;color:rgb(20 22 18/.72);font:600 14px/1 var(--sans);cursor:pointer;overflow:hidden;transition:background .3s,color .3s}
.lh__tab span{position:relative;z-index:1}
.lh__tab:hover{color:#141612}
.lh__tab[aria-selected=true]{background:#141612;color:#F4F4ED}
.lh__tab:focus-visible{outline:2px solid #141612;outline-offset:2px}
.lh__tab i{position:absolute;left:14px;right:14px;bottom:5px;height:2px;border-radius:2px;background:#D2FF00;transform:scaleX(0);transform-origin:0 50%}
.lh__fig.is-auto:not(.is-manual) .lh__tab[aria-selected=true] i{animation:lh-prog 6s linear forwards}
.lh__fig.is-paused .lh__tab i,.lh__fig.is-off .lh__tab i{animation-play-state:paused}
@keyframes lh-prog{to{transform:scaleX(1)}}
.lh__s{opacity:0;visibility:hidden;transition:opacity .6s var(--m-ease,ease),visibility 0s .6s}
.lh__s.is-on{opacity:1;visibility:visible;transition:opacity .6s var(--m-ease,ease)}
.lh__s:not(.is-on):not(:first-child){display:none}
.lh__fig.lh-js .lh__s:not(.is-on):not(:first-child){display:block}
@media (max-width:640px){.lh__tab{padding:0 14px}}
@media (prefers-reduced-motion:reduce){.lh__s,.lh__s.is-on{transition:none}}

/* screens settle into place as they fade in */
@media (prefers-reduced-motion:no-preference){
  .lh__s{transform:translateY(10px) scale(1.012);transition:opacity .6s var(--m-ease,ease),transform .8s var(--m-ease,ease),visibility 0s .6s}
  .lh__s.is-on{transform:none;transition:opacity .6s var(--m-ease,ease),transform .8s var(--m-ease,ease)}
}

/* LIGHT R4: the cover banners keep their dark olive and lime in both modes */
html[data-mode="light"] .lh-cv{--lt:#D2FF00;--lo:#C9E23A;--on:244 244 237;color:#F4F4ED}
html[data-mode="light"] .lh-cv h2 span,html[data-mode="light"] .lh-cv .eyebrow{color:#D2FF00!important}

/* ---- W2 card 4: the first word of the h1 is the subject and shows; the outline button reads in dark mode ---- */
.lh h1 .lh__sj{color:var(--sj,#4D5C00)}
html[data-mode="dark"] .lh h1 .lh__sj{--sj:#D2FF00;color:#D2FF00!important}
html[data-mode="dark"] .lh .lh__btns .btn--o{color:#F4F4ED!important;box-shadow:inset 0 0 0 var(--g-line,1px) rgb(244 244 237/.72)}
html[data-mode="dark"] .lh .lh__btns .btn--o:hover{box-shadow:inset 0 0 0 var(--g-line,1px) #F4F4ED}
