/* =====================================================================
   CUBE: Digital Beaver's design to match the Mid-Turn logo.
   Flat orange, ink and white, square corners. Three effects only:
   the 3D hero cube solves itself, tiles turn into place, cards lift on hover.
   Loaded only when Design style = Cube. Scoped under body.lt-style-cube.
   ===================================================================== */
body.lt-style-cube{
  --cb-orange:#e8540a;--cb-ink:#15120e;--cb-script:'Allison','Parisienne',cursive;
  --lt-primary:#cf4705!important;--lt-primary-d:#15120e!important;--lt-indigo:#cf4705!important;--lt-cyan:#e8540a!important;--lt-azure:#e8540a!important;--lt-accent:#e8540a!important;
  --lt-grad:#cf4705!important;
  --lt-ink:#15120e;--lt-ink-2:#2b2722;--lt-text:#46413a;--lt-muted:#6b655d;--lt-line:#e6e0d9;
  --lt-bg:#fff;--lt-bg-2:#f6f3ef;--lt-soft:#fdebdf;--lt-navy:#15120e;
  --lt-radius:0;--lt-radius-sm:0;--lt-shadow:none;--lt-shadow-sm:none;
  --lt-font:'Montserrat',system-ui,sans-serif!important;--lt-head:'Montserrat',system-ui,sans-serif!important;
  font-family:'Montserrat',system-ui,sans-serif;letter-spacing:.04em;background:#fff;color:var(--lt-text)}
body.lt-style-cube *{border-radius:0!important}
body.lt-style-cube input[type=radio],body.lt-style-cube .lt-cursor-ring,body.lt-style-cube .lt-cursor-dot{border-radius:50%!important}
body.lt-style-cube *{box-shadow:none!important}

/* ---------- type: ACE pairing ---------- */
body.lt-style-cube h1,body.lt-style-cube h2,body.lt-style-cube .lt-h1,body.lt-style-cube .lt-h2{font-family:'Montserrat',system-ui,sans-serif;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--lt-ink)}
body.lt-style-cube .lt-h2{font-size:clamp(1.65rem,3vw,2.5rem);line-height:1.16}
body.lt-style-cube h3{font-family:'Montserrat',system-ui,sans-serif;font-weight:700;text-transform:uppercase;font-size:1.05rem;line-height:1.35;letter-spacing:.05em;color:var(--lt-ink)}
body.lt-style-cube .lt-eyebrow{font-family:var(--cb-script);font-weight:400;font-size:clamp(2.5rem,3.6vw,3.2rem);line-height:1;letter-spacing:.02em;text-transform:none;color:var(--lt-primary);-webkit-text-stroke:.017em currentColor;margin:.08em 0 .1em;background:none;border:0;padding:0}
body.lt-style-cube .lt-eyebrow::before{display:none}
body.lt-style-cube .lt-head{display:flex;flex-direction:column;align-items:center}
body.lt-style-cube .lt-head--left{align-items:flex-start}
body.lt-style-cube .lt-head .lt-h2{order:1;margin-bottom:0}
body.lt-style-cube .lt-head .lt-eyebrow{order:2}
body.lt-style-cube .lt-head .lt-lede{order:3}

/* ---------- buttons ---------- */
body.lt-style-cube .lt-btn{font-family:'Montserrat',system-ui,sans-serif;font-weight:800;font-size:.84rem;letter-spacing:.07em;text-transform:uppercase;padding:1.15em 1.9em;transition:background-color .2s,color .2s,border-color .2s,transform .25s}
body.lt-style-cube .lt-btn--primary{background:var(--lt-primary);color:#fff;border-color:var(--lt-primary)}
body.lt-style-cube .lt-btn--primary:hover{background:var(--cb-ink);border-color:var(--cb-ink);color:#fff;transform:rotate(-1.5deg)}
body.lt-style-cube .lt-btn--ghost{background:transparent;color:var(--cb-ink);border:2px solid var(--cb-ink)}
body.lt-style-cube .lt-btn--ghost:hover{background:var(--cb-ink);color:#fff;transform:rotate(-1.5deg)}

/* ---------- header ---------- */
body.lt-style-cube .lt-header{background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none;border-bottom:1px solid var(--lt-line)}
body.lt-style-cube .lt-nav a{font-weight:700;font-size:.9rem}

/* ---------- hero: text left, orange panel with the turning cube right ---------- */
body.lt-style-cube .lt-hero{text-align:left;background:#fff;padding:clamp(52px,6vw,88px) 0}
body.lt-style-cube .lt-hero__shapes{display:none}
body.lt-style-cube .lt-hero::before,body.lt-style-cube .lt-hero::after{display:none}
body.lt-style-cube .lt-hero .lt-container{display:grid;grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr);gap:clamp(24px,7vw,110px);align-items:center}
body.lt-style-cube .lt-hero__in{margin:0;max-width:none}
body.lt-style-cube .lt-hero .lt-h1{font-size:clamp(2.2rem,4.1vw,3.75rem);line-height:1.08;letter-spacing:.05em;margin-bottom:.3em}
body.lt-style-cube .lt-rating{background:none;border:0;padding:0;font-size:.74rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--lt-primary);margin-bottom:16px;box-shadow:none}
body.lt-style-cube .lt-typed{font-family:'Montserrat',system-ui,sans-serif;font-weight:700;justify-content:flex-start;text-align:left}
body.lt-style-cube .lt-typed__word{color:var(--lt-primary);-webkit-text-fill-color:currentColor;background:none}
body.lt-style-cube .lt-hero__sub{margin-left:0;margin-right:0;max-width:56ch}
body.lt-style-cube .lt-tags{justify-content:flex-start;margin-left:0}
body.lt-style-cube .lt-tags span{font-weight:600}
body.lt-style-cube .lt-tags span::before{border-radius:0!important}
body.lt-style-cube .lt-hero .lt-btnrow{justify-content:flex-start}
body.lt-style-cube .lt-trust{text-align:left}
/* tech names: one even line the width of the intro text, thin rules between; a 3 x 2 grid on phones */
body.lt-style-cube .lt-trust__row{display:flex;flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:0;max-width:540px;border-top:1px solid var(--lt-line);border-bottom:1px solid var(--lt-line);padding:12px 0}
body.lt-style-cube .lt-trust__row span{font-size:.9rem;font-weight:700;letter-spacing:.02em;white-space:nowrap;flex:1 1 auto;text-align:center;padding:0 10px;border-left:1px solid var(--lt-line)}
body.lt-style-cube .lt-trust__row span:first-child{border-left:0;padding-left:0;text-align:left}
body.lt-style-cube .lt-trust__row span:last-child{padding-right:0;text-align:right}

/* the real 3D cube, drawn by cube3d.min.js straight onto the white hero */
/* desktop: the canvas fills the hero's right side so the shadow can run off to the page edge */
body.lt-style-cube .cb3d{position:absolute;top:0;bottom:0;right:0;left:50%;z-index:1}
body.lt-style-cube .lt-hero .lt-container{position:static}
body.lt-style-cube .lt-hero__in,body.lt-style-cube .lt-hero .lt-container>*{position:relative;z-index:2}
body.lt-style-cube .lt-hero .lt-container>.cb3d{position:absolute;z-index:1}
body.lt-style-cube .lt-hero .lt-container::after{content:""}
body.lt-style-cube .cb3d canvas{display:block;width:100%;height:100%;opacity:0;transition:opacity .45s ease}
body.lt-style-cube .cb3d canvas.on{opacity:1}
/* the flat logo cube: achievements band, and the hero when 3D is not available */
body.lt-style-cube .cb-stage{--cb-wedge:var(--cb-ink);display:flex;justify-content:center;min-width:0}
body.lt-style-cube .cb-stage svg{display:block;width:100%;max-width:470px;height:auto;fill:currentColor;overflow:visible}
body.lt-style-cube .cb-stage .w{fill:var(--cb-wedge)}
body.lt-style-cube .cb-stage--flat{color:var(--cb-orange)}

/* ---------- effect 2: tiles turn into place ---------- */
.lt-js body.lt-style-cube .reveal:not(.is-in):not(.lt-hero *,.lt-pagehero *,.lt-prose){transform:translateY(36px) rotate(-3deg);transform-origin:0 100%}

/* ---------- services: a wall of tiles in the cube's black frame ---------- */
body.lt-style-cube #services .lt-grid--3{gap:10px;background:var(--cb-ink);padding:10px}
body.lt-style-cube #services .lt-card{border:0;background:#fff;padding:34px 28px;display:flex;flex-direction:column;min-height:300px}
body.lt-style-cube #services .lt-card .lt-card__link{margin-top:auto}
body.lt-style-cube #services .lt-card:nth-child(even){background:var(--cb-orange)}
body.lt-style-cube #services .lt-card:nth-child(even) h3{color:#fff}
body.lt-style-cube #services .lt-card:nth-child(even) p,body.lt-style-cube #services .lt-card:nth-child(even) .lt-link{color:var(--cb-ink)}
body.lt-style-cube #services .lt-card:nth-child(even) .lt-icon-badge{background:var(--cb-ink);color:#fff}

/* ---------- cards ---------- */
body.lt-style-cube .lt-card,body.lt-style-cube .lt-tile,body.lt-style-cube .lt-quote,body.lt-style-cube .lt-work,body.lt-style-cube .lt-vstep__card,body.lt-style-cube .lt-faq__item,body.lt-style-cube .lt-cinfo,body.lt-style-cube .lt-testi,body.lt-style-cube .lt-price{background:#fff;border:1px solid var(--lt-line);box-shadow:none}
/* the icon plates: no box, the drawing is the icon */
/* only boxes that hold a drawn plate change; small contact and list icons keep their own box */
body.lt-style-cube .lt-icon-badge:has(> .lt-plate),body.lt-style-cube .lt-icon-soft:has(> .lt-plate){background:none;width:92px;height:92px;margin-bottom:12px;--pl-p:#fff;--pl-w:#f58a45;--pl-l:var(--cb-ink)}
body.lt-style-cube .lt-plate{display:inline-block;width:1.7em;height:1.7em;overflow:visible;flex:none}
body.lt-style-cube .lt-icon-badge .lt-plate,body.lt-style-cube .lt-icon-soft .lt-plate{display:block;width:100%;height:100%}
body.lt-style-cube .lt-work__shot--ph .lt-plate{width:64px;height:64px}
body.lt-style-cube .lt-plate .p{fill:var(--pl-p)}
body.lt-style-cube .lt-plate .w{fill:var(--pl-w);transform:translate(1.5px,1.1px)}
body.lt-style-cube .lt-plate .l{stroke:var(--pl-l);stroke-width:1.5}
body.lt-style-cube .lt-plate .n{stroke:var(--pl-l);stroke-width:.72;stroke-opacity:.82}
body.lt-style-cube #services .lt-card:nth-child(even) .lt-icon-badge:has(> .lt-plate){background:none;--pl-p:var(--cb-orange);--pl-w:#fff}
/* effect 3: a card lifts off the page on hover with a soft, layered shadow; the icon stays still */
body.lt-style-cube .lt-card,body.lt-style-cube .lt-tile,body.lt-style-cube .lt-work,body.lt-style-cube .lt-achieve__stat{transition:transform .35s cubic-bezier(.2,.7,.3,1),box-shadow .35s ease,opacity .7s ease}
body.lt-style-cube .lt-card.reveal.is-in:hover,body.lt-style-cube .lt-tile.reveal.is-in:hover,body.lt-style-cube .lt-work.reveal.is-in:hover{transform:translateY(-8px);z-index:2;transition-delay:0s;
  box-shadow:0 1px 2px rgba(21,18,14,.06),0 10px 18px -8px rgba(21,18,14,.14),0 28px 50px -22px rgba(21,18,14,.28)!important}
body.lt-style-cube #services .lt-card.reveal.is-in:hover{box-shadow:0 1px 2px rgba(0,0,0,.2),0 14px 24px -10px rgba(0,0,0,.45),0 34px 60px -24px rgba(0,0,0,.55)!important}
body.lt-style-cube .lt-card:hover .lt-icon-badge,body.lt-style-cube .lt-tile:hover .lt-icon-badge{background:none;transform:none;color:inherit}
body.lt-style-cube #services .lt-card:hover .lt-icon-badge:not(:has(> .lt-plate)){background:var(--lt-primary);color:#fff}

/* leftovers from the blue design: tech names under the hero, the About picture */
body.lt-style-cube .lt-trust__row span{color:#a39b91}
body.lt-style-cube .lt-trust__row span:hover{color:var(--cb-ink)}
body.lt-style-cube .lt-dashwrap .lt-orb{display:none}
body.lt-style-cube .lt-dash__bar{background:#f6f3ef}
body.lt-style-cube .lt-dash__side i,body.lt-style-cube .lt-dash__tile span{background:#efe9e2}
body.lt-style-cube .lt-dash__chart i{background:#f6c9ab}

body.lt-style-cube .lt-cinfo .lt-icon-soft{background:var(--lt-soft);color:var(--lt-primary)}

/* ---------- bands ---------- */
body.lt-style-cube .lt-section--gray{background:var(--lt-bg-2)}
body.lt-style-cube .lt-achieve{background:var(--cb-ink);color:#fff;padding:clamp(80px,9vw,130px) 0}
body.lt-style-cube .lt-achieve__wave{display:none}
body.lt-style-cube .lt-achieve .lt-container,body.lt-style-cube .lt-achieve__in{position:static}
body.lt-style-cube .lt-achieve__in{display:block}
body.lt-style-cube .lt-achieve__in>.reveal:first-child{position:relative;z-index:2}
body.lt-style-cube .lt-achieve .lt-h2{color:#fff;max-width:16ch}
body.lt-style-cube .lt-achieve .lt-eyebrow{color:#ff8a4c}
body.lt-style-cube .lt-achieve p{color:#d9d3cb;max-width:48ch}
body.lt-style-cube .lt-achieve__stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:clamp(36px,5vw,60px)}
body.lt-style-cube .lt-achieve__stat{background:#221c17;border:0;padding:30px 26px 26px;min-height:190px;display:flex;flex-direction:column;justify-content:space-between}
body.lt-style-cube .lt-achieve__stat:first-child{background:var(--cb-orange)}
body.lt-style-cube .lt-achieve__stat b,body.lt-style-cube .lt-achieve__stat b span{color:#ff8a4c;-webkit-text-fill-color:currentColor;background:none;font-weight:800;font-size:clamp(2.6rem,4.4vw,3.9rem);letter-spacing:.01em}
body.lt-style-cube .lt-achieve__stat:first-child b,body.lt-style-cube .lt-achieve__stat:first-child b span{color:var(--cb-ink)}
body.lt-style-cube .lt-achieve__stat>span{color:#d9d3cb;font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;margin-top:22px}
body.lt-style-cube .lt-achieve__stat:first-child>span{color:var(--cb-ink)}
body.lt-style-cube .lt-achieve__stat:hover{transform:translateY(-6px);box-shadow:0 14px 24px -10px rgba(0,0,0,.5),0 34px 60px -24px rgba(0,0,0,.6)!important}
body.lt-style-cube .lt-orbit{display:none}
body.lt-style-cube .lt-achieve .cb-stage{position:absolute;right:-6%;top:-14%;width:min(52vw,720px);z-index:0;pointer-events:none;color:#2b1c12;--cb-wedge:var(--cb-orange)}
body.lt-style-cube .lt-achieve .cb-stage svg{max-width:none}
body.lt-style-cube .lt-cta{background:var(--cb-ink);color:#fff;box-shadow:none}
body.lt-style-cube .lt-cta .lt-h2,body.lt-style-cube .lt-cta h2{color:#fff}
body.lt-style-cube .lt-cta .lt-eyebrow{color:#ff8a4c}
body.lt-style-cube .lt-cta p{color:#d9d3cb}
body.lt-style-cube .lt-cta .lt-btn--ghost{color:#fff;border-color:#fff}
body.lt-style-cube .lt-cta .lt-btn--primary:hover{background:#fff;color:var(--cb-ink);border-color:#fff}
body.lt-style-cube .lt-footer{background:var(--cb-ink)}

@media (max-width:900px){
  body.lt-style-cube .lt-hero .lt-container{grid-template-columns:minmax(0,1fr);gap:18px}
  body.lt-style-cube .lt-hero .lt-container>.cb3d{position:relative;left:auto;right:auto;top:auto;bottom:auto;width:100vw;margin-left:calc(50% - 50vw);height:440px}
  body.lt-style-cube .lt-hero{padding-bottom:0}
  body.lt-style-cube .lt-trust__row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:none;padding:0;border-bottom:0}
  body.lt-style-cube .lt-trust__row span,body.lt-style-cube .lt-trust__row span:first-child,body.lt-style-cube .lt-trust__row span:last-child{text-align:center;padding:12px 4px;border-left:0;border-bottom:1px solid var(--lt-line)}
  body.lt-style-cube .lt-trust__row span:nth-child(3n+2){border-left:1px solid var(--lt-line);border-right:1px solid var(--lt-line)}
  body.lt-style-cube .lt-achieve__stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.lt-style-cube .lt-achieve__stat{min-height:150px;padding:24px 20px 20px}
  body.lt-style-cube .lt-achieve .cb-stage{width:92vw;right:-38%;top:-4%}
  body.lt-style-cube #services .lt-card{min-height:0}
}
@media (prefers-reduced-motion:reduce){
  .lt-js body.lt-style-cube .reveal:not(.is-in):not(.lt-hero *,.lt-pagehero *,.lt-prose){transform:none}
  body.lt-style-cube .lt-card.reveal.is-in:hover,body.lt-style-cube .lt-tile.reveal.is-in:hover,body.lt-style-cube .lt-work.reveal.is-in:hover,body.lt-style-cube .lt-btn:hover,body.lt-style-cube .lt-achieve__stat:hover{transform:none}
}
