/* UK Cloud site tweak pack — 2026-11-30. Nothing here applies unless ukc-tweaks.js
   adds the matching class to <html>, so removing the script reverts everything.
   Motion is transform/opacity only and is switched off for prefers-reduced-motion. */

/* 1. Scroll reveal ------------------------------------------------------- */
.ukc-reveal .ukc-rv{opacity:0;transform:translateY(26px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1);transition-delay:var(--ukc-d,0ms)}
.ukc-reveal .ukc-rv.ukc-in{opacity:1;transform:none}

/* 2. Solid glass header once scrolled ------------------------------------ */
.ukc-header .site-header{transition:background-color .35s ease,box-shadow .35s ease}
.ukc-header body.scrolled .site-header{background-color:rgba(24,24,27,.86);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 1px 0 rgba(255,255,255,.07),0 10px 30px rgba(0,0,0,.25)}
.ukc-header body.scrolled .blur-container{opacity:0}
.ukc-header .blur-container{transition:opacity .35s ease}

/* 3. Solution tiles: slow zoom instead of the current blur, plus an arrow --- */
.ukc-tiles .services-block .service{position:relative;overflow:hidden}
.ukc-tiles .services-block .service::before{content:"";position:absolute;inset:0;background:inherit;transition:transform 1.1s cubic-bezier(.2,.7,.2,1)}
.ukc-tiles .wrapper.services-block .container .services .service a:hover::before{-webkit-backdrop-filter:none;backdrop-filter:none;background:linear-gradient(0deg,rgba(29,29,29,.92) 0%,rgba(29,29,29,.1) 100%)}
.ukc-tiles .services-block .service h3{transition:transform .45s cubic-bezier(.2,.7,.2,1)}
.ukc-tiles .services-block .service a::after{content:"\2192";position:absolute;z-index:9;right:18px;top:18px;width:34px;height:34px;line-height:32px;text-align:center;border:1px solid #7db9cf;color:#7db9cf;font-size:18px;opacity:0;transform:translateX(-10px);transition:opacity .35s ease,transform .35s ease}
.ukc-tiles .services-block .service:hover::before,.ukc-tiles .services-block .service:focus-within::before{transform:scale(1.07)}
.ukc-tiles .services-block .service:hover h3,.ukc-tiles .services-block .service:focus-within h3{transform:translateY(-6px)}
.ukc-tiles .services-block .service:hover a::after,.ukc-tiles .services-block .service:focus-within a::after{opacity:1;transform:none}

/* 4. Buttons -------------------------------------------------------------- */
.ukc-cta a.cta{transition:transform .25s ease,box-shadow .25s ease,background-color .25s ease,color .25s ease}
.ukc-cta a.cta:hover,.ukc-cta a.cta:focus-visible{transform:translateY(-2px);box-shadow:0 10px 26px rgba(125,185,207,.28)}
.ukc-cta a.cta:not(.cta-02)::after{content:"\2192";display:inline-block;margin-left:10px;transition:transform .25s ease}
.ukc-cta a.cta:not(.cta-02):hover::after{transform:translateX(5px)}

/* 5. Client logos: full strength on hover --------------------------------- */
.ukc-logos .trusted-block img{transition:opacity .3s ease,transform .3s ease}
.ukc-logos .trusted-block a:hover img,.ukc-logos .trusted-block a:focus-visible img{opacity:1;transform:scale(1.04)}

/* 6. News cards ------------------------------------------------------------ */
.ukc-cards .post-teaser:not(.title-col) a{display:block;overflow:hidden;transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s ease}
.ukc-cards .post-teaser:not(.title-col) .thumbnail{transition:transform .9s cubic-bezier(.2,.7,.2,1)}
.ukc-cards .post-teaser:not(.title-col) a:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(0,0,0,.45)}
.ukc-cards .post-teaser:not(.title-col) a:hover .thumbnail{transform:scale(1.06)}

/* 7. Hero: underline draws in (the H1 itself is never animated) - */
.ukc-hero .header-highlight::before{transform-origin:left center;animation:ukc-draw .9s .5s cubic-bezier(.2,.7,.2,1) both}
@keyframes ukc-draw{from{transform:scaleX(0)}to{transform:scaleX(1)}}

/* 8. Figures: a quiet 2x2 set under the first headline, in the page's own type.
      No band, no box: it sits in the empty space of the existing left column. --- */
.ukc-figs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:440px;margin-top:44px;border-top:1px solid rgba(255,255,255,.16)}
.ukc-fig{padding:20px 0 18px;border-bottom:1px solid rgba(255,255,255,.16)}
.ukc-fig:nth-child(even){padding-left:28px;border-left:1px solid rgba(255,255,255,.16)}
.ukc-fig b{display:block;font:300 44px/1 "Poppins",sans-serif;color:#fff;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.ukc-fig b i{font-style:normal;color:#7db9cf}
.ukc-fig span{display:block;margin-top:9px;font:400 15px/1.35 "Poppins",sans-serif;color:rgba(255,255,255,.72)}
@media (max-width:767px){.ukc-figs{margin-top:28px;max-width:none}.ukc-fig b{font-size:36px}}

/* 9. Mobile call bar -------------------------------------------------------- */
.ukc-callbar-el{display:none}
@media (max-width:767px){
 .ukc-callbar .ukc-callbar-el{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:50;transform:translateY(100%);transition:transform .35s ease;background:#18181b;border-top:1px solid rgba(255,255,255,.12);padding-bottom:env(safe-area-inset-bottom)}
 .ukc-callbar body.scrolled .ukc-callbar-el{transform:none}
 .ukc-callbar-el a{flex:1;padding:14px 8px;text-align:center;font:500 16px/1.2 "Poppins",sans-serif;text-decoration:none;color:#fff}
 .ukc-callbar-el a+a{background:#7db9cf;color:#1d1d1d}
 .ukc-callbar .cky-btn-revisit-wrapper{width:30px!important;height:30px!important;left:6px!important;bottom:10px!important;opacity:.8}
 .ukc-callbar .cky-btn-revisit-wrapper img{width:16px!important;height:16px!important}
 .ukc-callbar body.scrolled .cky-btn-revisit-wrapper{bottom:58px!important}
}

/* 10. Logo: letters assemble on arrival, then again every 30s --------------------------------- */
.ukc-logoplay #masthead .site-branding .site-title{overflow:visible!important}
.ukc-logoplay #masthead .site-branding .site-title a{background-image:none!important;position:relative;top:0!important;transition:none!important}
.ukc-lg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.ukc-lg .w{fill:#fff}.ukc-lg .b{fill:#7db9cf}
.ukc-lg path,.ukc-lg rect{transform-box:fill-box;transform-origin:center}
.ukc-lg.ukc-go path,.ukc-lg.ukc-go rect{animation:ukc-lgin .6s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i)*140ms)}
@keyframes ukc-lgin{0%{opacity:0;transform:scale(.55)}55%{opacity:1}100%{opacity:1;transform:none}}

@media (prefers-reduced-motion:reduce){
 .ukc-reveal .ukc-rv{opacity:1;transform:none;transition:none}
 .ukc-hero .header-highlight::before{animation:none}
 .ukc-tiles .services-block .service::before,.ukc-cards .thumbnail,.ukc-cta a.cta,.ukc-cards .post-teaser a{transition:none}
}
