/* Motion and header menu styles (pairs with assets/js/motion.js). */
/* ---------- Playground (preview only) ---------- */
.pg-panel{position:fixed;right:16px;bottom:16px;z-index:100000;width:270px;max-height:calc(100vh - 32px);overflow:auto;background:#1b1514;color:#f6efe4;border-radius:14px;font:13px/1.35 system-ui,-apple-system,"Segoe UI",sans-serif;box-shadow:0 10px 40px rgba(0,0,0,.35)}
.pg-panel *{box-sizing:border-box;cursor:auto}
.pg-head{all:unset;display:flex;justify-content:space-between;align-items:center;width:100%;padding:12px 14px;font-weight:700;letter-spacing:.02em;cursor:pointer!important;box-sizing:border-box}
.pg-head span{opacity:.6;font-weight:400}
.pg-body{padding:2px 14px 14px;display:flex;flex-direction:column;gap:10px}
.pg-panel.pg-closed .pg-body{display:none}
.pg-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.pg-row label{flex:1;cursor:pointer!important}
.pg-sub{padding-left:12px;border-left:1px solid #3a2f2c;display:flex;flex-direction:column;gap:8px}
.pg-sw{appearance:none;-webkit-appearance:none;width:34px;height:20px;border-radius:99px;background:#4a3d39;position:relative;margin:0;flex:none;cursor:pointer!important;transition:background .15s}
.pg-sw::after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;transition:transform .15s}
.pg-sw:checked{background:#fe3c01}
.pg-sw:checked::after{transform:translateX(14px)}
.pg-seg{display:flex;border:1px solid #4a3d39;border-radius:99px;overflow:hidden}
.pg-seg button{all:unset;padding:4px 10px;font-size:12px;cursor:pointer!important;color:#cdbfb3}
.pg-seg button[aria-pressed="true"]{background:#f6efe4;color:#1b1514}
.pg-panel select,.pg-act{font:inherit;font-size:12px;color:#f6efe4;background:#2b2220;border:1px solid #4a3d39;border-radius:8px;padding:4px 8px;cursor:pointer!important}
.pg-note{color:#a89a94;font-size:11.5px}
.pg-title{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#a89a94;margin-top:2px}

/* keyword phrases */
.pg-kw{color:inherit!important;text-decoration:none;font:inherit;transition:opacity .2s ease}
.pg-rest{transition:opacity .2s ease}
body.pg-hint .pg-kw{text-decoration:underline dotted;text-decoration-thickness:2px;text-underline-offset:.14em;text-decoration-color:currentColor}
body.pg-hint .pg-kw:hover{text-decoration-style:solid}
.home-bio.pg-active .pg-rest,
.home-bio.pg-active .pg-kw:not(.pg-on){opacity:.28}
body:not(.pg-dim) .home-bio.pg-active .pg-rest,
body:not(.pg-dim) .home-bio.pg-active .pg-kw:not(.pg-on){opacity:1}

/* tag */
.pg-tag{position:fixed;left:0;top:0;z-index:99990;pointer-events:none;max-width:290px;padding:10px 14px 11px;border-radius:12px;background:#481C1E;color:#fff7e4;font-family:"Host Grotesk",system-ui,sans-serif;opacity:0;transform:translate3d(0,0,0) scale(.96);transition:opacity .16s ease,scale .16s ease;box-shadow:0 8px 28px rgba(72,28,30,.28)}
.pg-tag.pg-show{opacity:1}
.pg-tag-k{display:block;font-size:11px;font-weight:600;letter-spacing:.02em;color:#ff9a78;margin-bottom:3px}
.pg-tag-t{display:block;font-size:15px;font-weight:700;line-height:1.2}
.pg-tag-t i{font-style:normal;margin-left:.3em}
.pg-tag.pg-anch::after{content:"";position:absolute;left:var(--ax,50%);width:10px;height:10px;background:inherit;transform:translateX(-50%) rotate(45deg);bottom:-5px}
.pg-tag.pg-anch.pg-below::after{bottom:auto;top:-5px}
[data-theme="dark"] .pg-tag{background:#E8E8E8;color:#481C1E}
[data-theme="dark"] .pg-tag-k{color:#b0391c}

/* wipe */
body.pg-wipe-on .pg-wipe{clip-path:inset(0 0 100% 0)}
body.pg-wipe-on .pg-wipe.pg-wipe-in{clip-path:inset(-0.2em 0 -0.2em 0);transition:clip-path 1s ease}

/* mood */
.pg-mood{opacity:.9}

/* wiggle */
body.pg-wiggle .company-row:hover .company-mark>img,
body.pg-wiggle .company-row:hover .ai-native-icon-mark{animation:pg-wig .7s ease}
@keyframes pg-wig{0%{transform:rotate(0)}20%{transform:rotate(-12deg) scale(1.08)}45%{transform:rotate(9deg) scale(1.08)}70%{transform:rotate(-4deg)}100%{transform:rotate(0) scale(1)}}
@media (prefers-reduced-motion:reduce){
  body.pg-wiggle .company-row:hover .company-mark>img,body.pg-wiggle .company-row:hover .ai-native-icon-mark{animation:none}
  body.pg-wipe-on .pg-wipe{clip-path:none!important}
}

/* entrance treatments */
body.pg-anim .body-copy,body.pg-anim .principles-list{opacity:1!important;transition:none!important}
.pg-opts{display:flex;flex-direction:column;gap:2px}
.pg-opt{all:unset;box-sizing:border-box;display:block;padding:8px 10px;border-radius:10px;cursor:pointer!important;border:1px solid transparent}
.pg-opt:hover{background:#2b2220}
.pg-opt[aria-pressed="true"]{background:#2b2220;border-color:#fe3c01}
.pg-opt b{display:block;font-size:13px;font-weight:700}
.pg-opt span{display:block;font-size:11.5px;color:#a89a94;margin-top:1px}
.pg-range{width:100%;accent-color:#fe3c01;margin:0}
.pg-val{font-variant-numeric:tabular-nums;color:#cdbfb3}
.pg-actrow{display:flex;gap:8px}
.pg-actrow .pg-act{flex:1}
.pg-l{display:block;overflow:hidden;padding-bottom:.16em;margin-bottom:-.16em}
.pg-li{display:block;will-change:transform}
.pg-w{display:inline-block}

/* colour palette (modelled on a corner palette button with a fan of swatches) */
.pg-panel{right:auto;left:16px}
.pg-pal{position:fixed;left:0;top:0;width:0;height:0;z-index:99980}
.pg-pal-icon{display:inline-flex;align-items:center;justify-content:center;box-sizing:content-box;width:18px;min-width:18px;padding:0;background:none;border:0;cursor:pointer}
.pg-pal-icon[hidden]{display:none}
.pg-pal-icon svg{width:16px;height:16px;display:block}
.pg-pal-icon:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.pg-sw-c{all:unset;box-sizing:border-box;position:absolute;left:50%;top:50%;width:40px;height:40px;margin:-20px 0 0 -20px;border-radius:50%;cursor:pointer!important;
  background:var(--c);box-shadow:inset 0 0 0 1px rgba(0,0,0,.14),0 4px 14px rgba(0,0,0,.18);
  opacity:0;transform:translate(0,0) scale(.3);pointer-events:none;
  transition:transform .38s cubic-bezier(.34,1.56,.64,1),opacity .2s ease;transition-delay:calc(var(--i)*30ms)}
.pg-pal.pg-open .pg-sw-c{opacity:1;transform:translate(var(--dx),var(--dy)) scale(1);pointer-events:auto}
.pg-pal.pg-open .pg-sw-c:hover{transform:translate(var(--dx),var(--dy)) scale(1.1);transition-delay:0s}
.pg-sw-c:focus-visible{outline:2px solid var(--pink);outline-offset:3px}
.pg-sw-c[aria-pressed="true"]{box-shadow:inset 0 0 0 1px rgba(0,0,0,.14),0 0 0 2px var(--cream),0 0 0 4px var(--pink),0 4px 14px rgba(0,0,0,.18)}
html.pg-recolor,html.pg-recolor *{transition:background-color .45s ease,color .45s ease,border-color .45s ease,fill .45s ease,stroke .45s ease!important}
html[data-pg-pal] .home-label,html[data-pg-pal] .footer-meta,html[data-pg-pal] .footer-meta span{color:color-mix(in srgb,var(--pink) 62%,var(--cream))}
@media (prefers-reduced-motion:reduce){.pg-sw-c,.pg-pal-btn,.pg-pal-btn svg{transition:none}html.pg-recolor,html.pg-recolor *{transition:none!important}}

.pg-pswatches{display:flex;gap:10px}
.pg-ps{all:unset;box-sizing:border-box;width:30px;height:30px;border-radius:50%;background:var(--c);cursor:pointer!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)}
.pg-ps[aria-pressed="true"]{box-shadow:0 0 0 2px #1b1514,0 0 0 4px #f6efe4}
.pg-ps:focus-visible{outline:2px solid #fe3c01;outline-offset:3px}

/* cursor */
.pg-disc{position:fixed;left:0;top:0;z-index:99995;width:50px;height:50px;border-radius:50%;background:rgba(128,128,128,.6);pointer-events:none;opacity:0;transition:opacity .2s ease;will-change:transform}
.pg-disc.pg-on{opacity:1}
body.pg-cur-disc .custom-cursor{display:none!important}
body.pg-cur-arrow .custom-cursor{display:none!important}
body.pg-cur-arrow *{cursor:auto!important}
body.pg-cur-arrow a,body.pg-cur-arrow button,body.pg-cur-arrow .company-row{cursor:pointer!important}
@media (hover:none),(pointer:coarse){.pg-disc{display:none}}

/* results */
body.pg-num .stat-num{font-family:var(--pg-nf)!important;font-weight:var(--pg-nw)!important;letter-spacing:var(--pg-nls)!important;font-size:calc(2.4375rem*var(--pg-ns))!important;line-height:.95!important}
@media (min-width:1024px){body.pg-num .stat-num{font-size:calc(3.046875rem*var(--pg-ns))!important}}
body.pg-statright .stat{flex-direction:row!important;align-items:flex-end!important;gap:1rem!important}
body.pg-statright .stat-label{max-width:min(26rem,62vw);padding-bottom:.2em;line-height:1.25}
body.pg-statreg .stat-label{font-weight:400!important}
body.pg-statcols .stat-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:2.5rem 2rem!important;align-items:start}
@media (max-width:640px){body.pg-statcols .stat-row{grid-template-columns:1fr}}
body.pg-desc .stat-label{font-family:var(--pg-df)!important}

.pg-panel{max-height:min(520px,60vh);opacity:.97}
.pg-panel.pg-closed{opacity:1}

/* About me page (playground) */
.pg-about{padding-bottom:4rem}
.pg-about-copy{max-width:min(53vw,62rem);margin:0 0 0 calc(11.953vw - var(--cl,0px))}
.pg-about-copy p{margin:0 0 1.5rem;font-size:clamp(1.125rem,1.875vw,2.25rem);font-weight:700;line-height:1.15}
.pg-about-strip{margin:5.469vw 0 0 calc(50% - 50vw);width:100vw;overflow:hidden}
.pg-about-row{display:flex;gap:.78125vw;margin-left:-11.094vw;width:max-content}
.pg-about-img{flex:none;width:22.266vw;height:29.375vw;background:#D9D9D9}
[data-theme="dark"] .pg-about-img{background:#3a3a3a}
@media (max-width:1023px){.pg-about-copy{margin-left:0;max-width:none}.pg-about-row{margin-left:0}.pg-about-img{width:70vw;height:92vw}.pg-about-strip{margin-left:calc(50% - 50vw)}}
.pg-about .values-title,.pg-about-copy p{color:#481C1E}
[data-theme="dark"] .pg-about .values-title,[data-theme="dark"] .pg-about-copy p{color:#E8E8E8}
@media (min-width:1024px){.pg-about .values-title{max-width:51.5vw}}

/* animation treatment applies to every page: the site's own scroll reveal steps aside while a treatment is on */
body.pg-anim .cs-subhead,body.pg-anim .cs-section p,body.pg-anim .cs-section-label,body.pg-anim .section-title,body.pg-anim .stat-row,
body.pg-anim .pillar-full h3,body.pg-anim .pillar-body,body.pg-anim .pillar-detail,body.pg-anim .pillar-quote p,body.pg-anim .pillar-quote-attribution,
body.pg-anim .leadership-block p,body.pg-anim .hero-img,body.pg-anim .img-placeholder,body.pg-anim .case-study-cta,
body.pg-anim:not(:has(#content .home-bio)) .body-copy p{opacity:1;transition:none!important}
body.pg-hold .pg-item{opacity:0!important}

/* shared gradient across AI Native + AI Builder */
.company-name.pg-sg{background-image:linear-gradient(to bottom right,#FACD74 0%,#ED6A39 40%,#C13488 78%,#6058A6 100%);background-repeat:no-repeat;background-size:var(--sgw) var(--sgh);background-position:var(--sgx) var(--sgy);-webkit-background-clip:text;background-clip:text;color:transparent}
.company-row:hover .company-name.pg-sg{background-image:linear-gradient(to bottom right,#B69554 0%,#AC4D29 40%,#8C2663 78%,#464079 100%);background-repeat:no-repeat;background-size:var(--sgw) var(--sgh);background-position:var(--sgx) var(--sgy);-webkit-background-clip:text;background-clip:text;color:transparent}

/* ---- header menu ---- */
.pg-hb,.pg-menu{display:none}
body.pg-hm .pg-hb{display:flex}
body.pg-hm .pg-menu{display:block}
.pg-hb{position:fixed;top:var(--hb-top,18px);right:var(--hb-right,40px);width:44px;height:44px;border-radius:50%;align-items:center;justify-content:center;border:0;padding:0;cursor:pointer!important;
 background:var(--pg-mbg,var(--pg-mbg-def,color-mix(in srgb,#fff 36%,var(--cream))));color:var(--pg-mic,var(--pg-mic-def,var(--pg-copy,var(--pink))));z-index:1003;opacity:0;transform:translateX(26px) scale(.9);pointer-events:none;
 transition:opacity .25s ease,transform .45s cubic-bezier(.16,1,.3,1),background-color .3s}
body.pg-col .pg-hb{opacity:1;transform:none;pointer-events:auto;transition-delay:.65s,.65s,0s}
body.pg-menu-open .pg-hb{opacity:0;pointer-events:none;transition:none}
body.pg-hm #siteHeader .top-row{clip-path:inset(-80px var(--hb-right,40px) -80px 0)}
body.pg-hm #siteHeader.scrolled .top-row-right{opacity:1!important}
body.pg-hm #siteHeader .logo,body.pg-hm #siteHeader .top-row-right>*{transition:transform 1s cubic-bezier(.5,0,.2,1) calc(var(--d,0)*70ms),opacity .9s ease-in calc(var(--d,0)*70ms)}
body.pg-hm #siteHeader .top-row-right>*:nth-last-child(1){--d:0}
body.pg-hm #siteHeader .top-row-right>*:nth-last-child(2){--d:1}
body.pg-hm #siteHeader .top-row-right>*:nth-last-child(3){--d:2}
body.pg-hm #siteHeader .top-row-right>*:nth-last-child(4){--d:3}
body.pg-hm #siteHeader .top-row-right>*:nth-last-child(5){--d:4}
body.pg-hm #siteHeader .top-row-right>*:nth-last-child(6){--d:5}
body.pg-hm #siteHeader .logo{--d:6}
body.pg-hm.pg-col #siteHeader .top-row-right>*{transform:translateX(100vw);opacity:0}
body.pg-hm #siteHeader .logo{transition:transform .7s cubic-bezier(.5,0,.2,1),opacity .5s ease}
body.pg-hm.pg-col #siteHeader .logo{transform:translateY(-56px);opacity:0}
body.pg-hm.pg-col #siteHeader .top-row{pointer-events:none}
.pg-menu{position:fixed;right:calc(var(--hb-right,40px) - 8px);top:var(--hb-top,18px);z-index:1002;box-sizing:border-box;padding:8px;border-radius:24px;
 background:var(--pg-mbg,var(--pg-mbg-def,color-mix(in srgb,#fff 36%,var(--cream))));color:var(--pg-mic,var(--pg-mic-def,var(--pg-copy,var(--pink))));font-weight:700;opacity:0;pointer-events:none;transform:translateY(-6px) scale(.96);transform-origin:top right;
 transition:opacity .2s ease,transform .35s cubic-bezier(.16,1,.3,1)}
.pg-menu.is-words{top:calc(var(--hb-top,18px) - 10px);right:calc(var(--hb-right,40px) - 14px);min-width:236px;padding:12px 12px}
.pg-menu.is-open{opacity:1;pointer-events:auto;transform:none}
.pg-mi{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:12px;min-height:40px;padding:0 10px;border-radius:14px;cursor:pointer!important;width:100%;
 color:var(--pg-mic,var(--pg-mic-def,var(--pg-copy,var(--pink))));font-size:17px;font-weight:700;line-height:1;position:relative}
.pg-mi{opacity:1}.pg-mi:hover,.pg-mi.is-active{opacity:1}
.pg-menu.is-icons .pg-mi{justify-content:center;padding:0 12px}
.pg-mslot{display:flex;align-items:center;justify-content:center;min-width:28px;height:22px}
.pg-mslot svg{height:15px;width:auto;display:block;max-width:22px}
.pg-mslot.is-text{font-size:12px;letter-spacing:0}
.pg-mdot{width:7px;height:7px;border-radius:50%;background:currentColor;opacity:0;flex:none}
.pg-mi.is-active .pg-mdot{opacity:1}
.pg-mlab{flex:1;white-space:nowrap}
.pg-mx{all:unset;margin-left:auto;display:flex;width:28px;height:28px;align-items:center;justify-content:center;cursor:pointer!important;color:color-mix(in srgb,var(--pink) 62%,var(--cream))}
.pg-mx svg{width:18px;height:18px}
.pg-msw{display:none;gap:10px;padding:6px 10px 10px}
.pg-menu.sw-open .pg-msw{display:flex}
.pg-menu.is-words .pg-msw{padding-left:57px}
.pg-menu.is-icons .pg-msw{flex-direction:column;align-items:center}
.pg-msw-b{all:unset;width:22px;height:22px;border-radius:50%;cursor:pointer!important;box-sizing:border-box;flex:none}
.pg-msw-b[aria-pressed="true"]{box-shadow:0 0 0 2px color-mix(in srgb,var(--pink) 8%,var(--cream)),0 0 0 3.5px var(--pink)}

.pg-mx-top{width:44px;height:44px;margin:0 auto 4px;border-radius:50%}
.pg-mx-top svg{width:22px;height:22px}
.pg-menu.is-icons{padding:0 8px 10px;border-radius:30px;transform-origin:top right}
.pg-menu.is-icons .pg-mx-top{margin:0 0 2px}
.pg-menu.is-icons{width:60px}
.pg-menu.is-icons .pg-mx-top{margin:0 auto 2px;display:flex}
.pg-menu.is-icons .pg-mi{padding:0}

.pg-menu.is-icons{top:calc(var(--hb-top,18px) - 6px);padding:8px}
.pg-menu.is-words{top:calc(var(--hb-top,18px) - 10px)}

.pg-mslot{width:28px;min-width:28px;height:24px}
.pg-mslot svg{max-width:none!important;height:auto}
.pg-mslot svg [stroke]:not([stroke=none]){stroke-width:1.1px;vector-effect:non-scaling-stroke}

.pg-menu.is-icons .pg-mi.is-copied .pg-mslot{font-size:8px;letter-spacing:.02em;width:44px;min-width:44px;margin:0 -8px}

/* menu: always a white panel, icons in the page background colour */
html{--pg-mbg-def:#fff;--pg-mic-def:var(--pg-pagebg,var(--cream));}

html[data-theme="dark"]:not([data-palette]){--pg-mic-def:#350A4E;}

/* menu drop: slower, vertical, tiny overshoot bounce on open */
.pg-menu{transform:translateY(-14px) scaleY(.82) scaleX(.96);transition:opacity .3s ease,transform .3s ease-in}
.pg-menu.is-open{transform:none;transition:opacity .35s ease,transform .62s cubic-bezier(.34,1.5,.64,1)}

/* menu hover: every item gets the same flicker, no inherited site hover rules */
.pg-mi *{pointer-events:none}
.pg-mi,.pg-mi *{transition:none!important}
.pg-mi:hover,.pg-mi:focus-visible{animation:pgflick .38s steps(1,end) 1}
@keyframes pgflick{0%{opacity:.35}25%{opacity:1}50%{opacity:.5}75%{opacity:1}100%{opacity:1}}

/* About page follows the selected palette */
html[data-palette] .pg-about .values-title,html[data-palette] .pg-about-copy p{color:var(--pink)}
html[data-palette] .pg-about-img{background:color-mix(in srgb,var(--pink) 16%,var(--cream))}

/* default palette, light mode: icons use the page copy colour */
html:not([data-palette]):not([data-theme="dark"]){--pg-mic-def:var(--pg-copy,var(--pink));}

/* hover must not recolour anchors: every item keeps its resting colour */
a.pg-mi:hover,a.pg-mi:focus,a.pg-mi:active,a.pg-mi:visited,.pg-mi:hover *{color:var(--pg-mic,var(--pg-mic-def,var(--pg-copy,var(--pink))))!important}

/* FINAL: nav panel and hamburger share the page background, icons use the page copy colour, in every mode and palette */
html,html[data-theme="dark"]:not([data-palette]),html:not([data-palette]):not([data-theme="dark"]){--pg-mbg-def:var(--pg-pagebg,var(--cream));--pg-mic-def:var(--pg-copy,var(--pink));}

/* mobile: sliding header items must not widen the page */
html,body{overflow-x:clip}
@media (max-width:639px){
  .pg-hb{width:40px;height:40px}
  .pg-menu.is-icons{width:56px}
}

/* About headline uses the same spacing as the values page headline */
@media (min-width:1024px){.pg-about{--pfs:clamp(1rem,1.25vw,1.5rem)}}

/* palette on: CALE always takes the palette colour, at every width and scroll position */
html[data-palette] .logo,html[data-palette] .logo.logo-contrast-dark,html[data-palette] .logo.logo-contrast-light,html[data-palette] #siteHeader a.logo{color:var(--pink) !important}
/* With a palette on, page copy on every non-home page uses the palette text colour (secondary labels use the same 62% mix as the home labels) */
html[data-palette][data-palette][data-palette] body:not(:has(#content .home-bio)) #content :is(h1,h2,h3,h4,p,a,li,span,b,strong,em,div,small,label,figcaption,blockquote){color:var(--pink)}
html[data-palette][data-palette][data-palette] body:not(:has(#content .home-bio)) #content :is(.cs-section-label,.values-label,.stat-label,.company-wordmark ~ .section-block .section-title,.cs-section a:hover,.company-wordmark ~ .section-block .body-copy a:hover,.company-wordmark ~ .section-block .pillar-links a:hover){color:color-mix(in srgb,var(--pink) 62%,var(--cream))}
html[data-palette][data-palette][data-palette] body:not(:has(#content .home-bio)) .theme-toggle{color:var(--pink) !important}

/* mobile: palette icon in the header, with the same palette rules */
@media (max-width:639px){
.pal{position:fixed;left:0;top:0;width:0;height:0;z-index:99980}
.pal-icon{display:inline-flex;align-items:center;justify-content:center;box-sizing:content-box;width:18px;min-width:18px;padding:0;background:none;border:0;cursor:pointer}
.pal-icon[hidden]{display:none}
.pal-icon svg{width:18px;height:18px;display:block}
.pal-icon:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.pal-sw{all:unset;box-sizing:border-box;position:absolute;left:50%;top:50%;width:22px;height:22px;margin:-11px 0 0 -11px;border-radius:50%;cursor:pointer!important;
  background:var(--c);box-shadow:none;
  opacity:0;transform:translate(0,0) scale(.3);pointer-events:none;
  transition:transform .38s cubic-bezier(.34,1.56,.64,1),opacity .2s ease;transition-delay:calc(var(--i)*30ms)}
.pal.pal-open .pal-sw{opacity:1;transform:translate(var(--dx),var(--dy)) scale(1);pointer-events:auto}
.pal.pal-open .pal-sw:hover{transform:translate(var(--dx),var(--dy)) scale(1.1);transition-delay:0s}
.pal-sw:focus-visible{outline:2px solid var(--pink);outline-offset:3px}
.pal-sw[aria-pressed="true"]{box-shadow:0 0 0 2px var(--cream),0 0 0 3.5px var(--pink)}
html.pal-recolor,html.pal-recolor *{transition:background-color .45s ease,color .45s ease,border-color .45s ease,fill .45s ease,stroke .45s ease!important}
html[data-palette] .home-label{color:color-mix(in srgb,var(--pink) 62%,var(--cream))}
html[data-palette] .footer-meta,html[data-palette] .footer-meta span{color:var(--pink)}
/* With a palette on, header and footer use the palette text colour on every page, same as home */
html[data-palette][data-palette][data-palette] body:not(:has(#content .home-bio)) #siteHeader,
html[data-palette][data-palette][data-palette] body:not(:has(#content .home-bio)) #siteFooter,
html[data-palette][data-palette][data-palette] body:not(:has(#content .home-bio)) .logo:not(.logo-contrast-dark):not(.logo-contrast-light),
html[data-palette][data-palette][data-palette] body:not(:has(#content .home-bio)) .footer-state-icon{color:var(--pink)}
/* contrast helper must not recolour CALE when a palette is on */
html[data-palette] .logo.logo-contrast-dark,html[data-palette] .logo.logo-contrast-light,html[data-palette] .logo{color:var(--pink) !important}
html[data-palette][data-palette][data-palette] body:not(:has(#content .home-bio)) .theme-toggle,
html[data-palette][data-palette][data-palette] body:not(:has(#content .home-bio)) .theme-toggle:hover{color:var(--pink) !important}
html[data-palette][data-palette][data-palette] body:not(:has(#content .home-bio)) .footer-divider{border-top-color:var(--pink)}
/* With a palette on, page copy on every non-home page uses the palette text colour (secondary labels use the same 62% mix as the home labels) */
html[data-palette][data-palette][data-palette] body:not(:has(#content .home-bio)) #content :is(h1,h2,h3,h4,p,a,li,span,b,strong,em,div,small,label,figcaption,blockquote){color:var(--pink)}
html[data-palette][data-palette][data-palette] body:not(:has(#content .home-bio)) #content :is(.cs-section-label,.values-label,.stat-label,.company-wordmark ~ .section-block .section-title,.cs-section a:hover,.company-wordmark ~ .section-block .body-copy a:hover,.company-wordmark ~ .section-block .pillar-links a:hover){color:color-mix(in srgb,var(--pink) 62%,var(--cream))}
html[data-palette][data-palette][data-palette] body:not(:has(#content .home-bio)) .theme-toggle{color:var(--pink) !important}
.pal-icon{display:inline-flex!important}
}

/* mobile header: logo + six icons share equal gaps edge to edge */
@media (max-width:639px){
  #siteHeader .top-row{justify-content:space-between}
  #siteHeader .top-row-right{display:contents}
}


/* About photos: a slow, endless glide to the left, a repeating set of 5 */
.pg-about-strip{--set:calc(5 * (22.266vw + .78125vw));--dur:60s}
.pg-about-row{animation:pgglide var(--dur) linear infinite;will-change:transform}
.pg-about-img{position:relative}
@keyframes pgglide{to{transform:translateX(calc(-1 * var(--set)))}}
.pg-about-img::after{content:"Photo " attr(data-n);position:absolute;left:12px;bottom:10px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.4;color:#481C1E}
[data-theme="dark"] .pg-about-img::after{color:#E8E8E8}
html[data-palette] .pg-about-img::after{color:var(--pink);opacity:.55}
@media (max-width:1023px){
  .pg-about-strip{margin:70px 0 0 calc(50% - 50vw);width:100vw;overflow:hidden;--set:calc(5 * ((100vw - 48px) / 2 + 16px));--dur:40s}
  .pg-about-row{display:flex;gap:16px;margin-left:0;padding-left:16px;width:max-content}
  .pg-about-img{flex:none;width:calc((100vw - 48px) / 2);height:auto;aspect-ratio:177/234}
}
@media (prefers-reduced-motion:reduce){.pg-about-row{animation:none}}

/* real photos in the About strip */
.pg-about-img.has-img{background:transparent;overflow:hidden}
.pg-about-img.has-img::after{display:none}
.pg-about-img img{display:block;width:100%;height:100%;object-fit:cover}
