/* HELM STUDIO / 4 December refinements. Scope: footer type, case-study treatment,
   3D pizza, work headline, desktop aluminium nav. Brief builder is untouched. */
/* Footer: one connected wordmark, without the distracting mid-word bullet. */
.site-footer .footer-brand{gap:0;letter-spacing:-.087em;font-weight:900;white-space:nowrap}
.site-footer .footer-brand .footer-helm{margin-left:.18em}
.site-footer .footer-links{font-size:clamp(14px,1.28vw,19px);font-weight:950;letter-spacing:-.035em;gap:15px clamp(28px,3.6vw,60px)}
.site-footer .footer-links a{transition:transform .25s ease,opacity .25s ease;line-height:1.12}
.site-footer .footer-links a:hover{transform:translateX(3px);text-decoration:none;opacity:.63}
@media(max-width:830px){.site-footer .footer-links{font-size:clamp(15px,2.15vw,19px);gap:20px 28px}}
@media(max-width:610px){.site-footer .footer-brand{font-size:clamp(43px,10.6vw,67px)}.site-footer .footer-links{display:grid;grid-template-columns:repeat(2,max-content);column-gap:clamp(27px,9vw,60px);row-gap:18px;font-size:clamp(18px,5.2vw,23px)}}
/* A heavier, more assertive two-line proposition, with the original black treatment. */
.work-heading .section-title{font-size:clamp(60px,9.25vw,167px);font-weight:950;letter-spacing:-.095em;line-height:.88}
.work-heading .section-title em{color:#12151a!important;font-weight:950!important;font-style:normal!important;font-family:Arial,Helvetica,sans-serif!important;letter-spacing:-.095em!important}
@media(max-width:830px){.work-heading .section-title{font-size:clamp(54px,10.4vw,91px)}}
@media(max-width:610px){.work-heading .section-title{font-size:clamp(48px,12vw,70px);line-height:.91}}
/* Apple-like bead-blasted dark aluminium: specular edge and milled rim, not faux chrome. */
.helm-3d-nav{filter:drop-shadow(0 8px 16px rgba(3,8,8,.26))}
.helm-3d-track,.helm-3d-track:hover{
  background:linear-gradient(180deg,#10191b 0%,#172124 12%,#101a1c 44%,#0c1719 78%,#1c2b2d 100%) padding-box,
    linear-gradient(145deg,#c0c9c7 0%,#617475 14%,#28383a 28%,#859798 47%,#1a2d30 74%,#b0bfbd 100%) border-box!important;
  border:1.25px solid transparent!important;
  box-shadow:inset 0 2px 2px rgba(238,247,246,.14),inset 0 -2px 3px rgba(0,0,0,.6),inset 0 0 0 2px rgba(0,0,0,.27),0 1px 1px rgba(238,247,246,.22),0 15px 30px rgba(0,9,10,.29),0 0 0 1px rgba(5,12,12,.34)!important;
  backdrop-filter:blur(30px) saturate(1.15)!important;
  -webkit-backdrop-filter:blur(30px) saturate(1.15)!important;
}
.helm-3d-track::before{left:28px!important;right:28px!important;top:2px!important;height:1px!important;background:linear-gradient(90deg,transparent,rgba(241,248,245,.53) 25%,rgba(191,215,216,.17) 67%,transparent)!important;opacity:.85!important}
.helm-3d-track a{font-size:12px;letter-spacing:-.01em;color:rgba(246,250,249,.72);font-weight:720}
.helm-3d-track a.is-current{color:#12200f!important;font-weight:870}
.helm-pill-thumb{background:linear-gradient(165deg,#ecff9b,#d8ff59 49%,#c8f243 100%)!important;border:1px solid rgba(246,255,204,.9)!important;box-shadow:inset 0 1px 1px #ffffffce,inset 0 -2px 3px rgba(59,88,17,.23),0 5px 10px rgba(0,0,0,.38),0 0 0 1px rgba(0,0,0,.15),0 0 19px rgba(216,255,89,.12)!important}
.helm-thumb-sheen{height:8px!important;opacity:.65}
/* ECS: return to the actual studio palette and tone, keeping the atmospheric production value. */
.ecs-stage{background:#e0ebef!important;box-shadow:inset 0 0 0 1px rgba(21,57,95,.08)}
.ecs-atmosphere{filter:brightness(1.72) saturate(.63) contrast(.88)!important;opacity:.7;object-position:57% 52%;mix-blend-mode:multiply}
.featured-project:hover .ecs-atmosphere{filter:brightness(1.76) saturate(.78) contrast(.93)!important}
.ecs-darkness{background:linear-gradient(90deg,rgba(246,248,240,.96) 0%,rgba(244,248,245,.92) 28%,rgba(230,242,244,.58) 54%,rgba(223,235,237,.11) 88%),linear-gradient(0deg,rgba(202,220,230,.62),transparent 28%,transparent 79%,rgba(247,249,243,.5))!important}
.ecs-stage-top,.ecs-stage-bottom{color:#17354e!important}
.ecs-stage-overline i{background:#386bac;box-shadow:0 0 0 4px rgba(48,105,167,.11)}
.ecs-stage-ref{color:#4b6d88!important}
.ecs-stage-copy{color:#15334f!important;top:25.2%}
.ecs-mini-icon{color:#2e70b1!important}
.ecs-copy-rule{background:rgba(25,65,109,.45)!important}
.ecs-stage-copy p{color:#173a5c;font-size:clamp(38px,4.13vw,68px);text-shadow:none!important}
.ecs-stage-copy p em{color:#286ab0!important;text-shadow:none!important}
.ecs-local-signature{color:#44647d!important;font-weight:820}
.ecs-device{border-color:rgba(30,64,101,.3)!important;background:#f9faf7!important;box-shadow:0 34px 75px rgba(22,58,86,.21),0 12px 32px rgba(22,58,86,.14),0 0 0 6px rgba(255,255,255,.29)!important}
.ecs-device-top{background:#f7f8f4!important;color:#49677f!important;border-bottom-color:rgba(24,64,102,.11)!important}
.ecs-device-dots i{background:#94aab9!important}.ecs-device-dots i:first-child{background:#386bb2!important}
.ecs-device-live{color:#2b6598!important}.ecs-device-live i{background:#70aa64!important;box-shadow:0 0 0 3px rgba(120,185,111,.15)!important}
.ecs-device-screen{background:#fdfcf6!important;color:#163a59!important}
.ecs-screen-photo{left:auto!important;right:0!important;width:61%!important;height:100%;object-position:65% 46%;filter:brightness(1.61) saturate(.74) contrast(.9)!important}
.ecs-screen-glaze{background:linear-gradient(90deg,#fffdf6 2%,rgba(255,253,246,.97) 33%,rgba(255,253,246,.86) 55%,rgba(255,253,246,.21) 90%)!important}
.ecs-screen-nav{color:#1c4f86!important}.ecs-screen-nav>span{color:#46657b!important}
.ecs-screen-message{color:#163856!important}.ecs-screen-message small{color:#2d6289!important}
.ecs-screen-message strong em{color:#2d71b7!important}
.ecs-screen-message>span{color:#536b7c!important}
.ecs-screen-cta{background:#2666a5!important;border:1px solid #2666a5!important;color:#fff!important}
.ecs-visit-circle b{border-color:#224563!important}.featured-project:hover .ecs-visit-circle b{background:#2669ac!important;border-color:#2669ac!important;color:white!important}
.ecs-preview-label{background:rgba(252,254,250,.78)!important;color:rgba(33,67,96,.62)!important}
@media(max-width:1120px){.ecs-stage-copy{top:27%}.ecs-stage-copy p{font-size:clamp(37px,4.3vw,61px)}}
@media(max-width:830px){.ecs-stage-copy{top:26%}.ecs-stage-copy p{font-size:clamp(34px,5.2vw,49px)}}
@media(max-width:610px){.ecs-stage{background:#e5f0f3!important}.ecs-atmosphere{object-position:77% 40%;opacity:.54}.ecs-darkness{background:linear-gradient(180deg,rgba(255,254,247,.96),rgba(243,247,242,.76) 43%,rgba(227,236,244,.3) 100%)!important}.ecs-stage-copy{top:18%}.ecs-stage-copy p{font-size:clamp(32px,9.6vw,48px)}.ecs-stage-bottom{background:rgba(248,250,247,.46);border-radius:50px;padding:3px 6px}}
/* A physically thick, 3D turntable pizza. WebGL canvas uses the original pizza's topping texture.
   The static rendered three-quarter pizza is retained for reduced-motion/older browsers. */
.alla-media{isolation:isolate}
.alla-pizza-stage.premium-pizza-stage{position:absolute!important;z-index:3!important;width:76%!important;right:-1%!important;bottom:-21%!important;aspect-ratio:1!important;transform:none!important;filter:none!important;display:block;pointer-events:auto;perspective:none}
.alla-pizza-stage.premium-pizza-stage::before{inset:auto!important;left:16%!important;right:8%!important;bottom:27%!important;height:17%!important;border-radius:50%!important;transform:rotate(-4deg)!important;background:rgba(0,0,0,.68)!important;filter:blur(20px)!important;box-shadow:none!important;z-index:0!important}
.alla-pizza-stage .alla-pizza-spinning{position:absolute!important;inset:7% 0 9% 0!important;width:100%!important;height:84%!important;object-fit:contain!important;animation:helm-fallback-turn 24s linear infinite!important;filter:drop-shadow(0 25px 22px rgba(0,0,0,.4))!important;transform:none}
.alla-pizza-stage.has-pizza-3d .alla-pizza-spinning{visibility:hidden!important;animation:none!important}
.alla-pizza-canvas{position:absolute;inset:0;display:block;width:100%;height:100%;z-index:2;pointer-events:none;filter:drop-shadow(0 9px 9px rgba(0,0,0,.26))}
.alla-card:hover .alla-pizza-stage .alla-pizza-spinning{animation-duration:12s!important}
@keyframes helm-fallback-turn{to{transform:rotate(360deg)}}
@media(max-width:830px){.alla-pizza-stage.premium-pizza-stage{width:87%!important;right:-7%!important;bottom:-23%!important}}
@media(max-width:610px){.alla-pizza-stage.premium-pizza-stage{width:100%!important;right:-14%!important;bottom:-25%!important}.alla-pizza-stage.premium-pizza-stage::before{filter:blur(16px)!important}}
@media(prefers-reduced-motion:reduce){.alla-pizza-stage .alla-pizza-spinning{animation:none!important}.alla-pizza-stage.has-pizza-3d .alla-pizza-spinning{visibility:visible!important}.alla-pizza-stage .alla-pizza-canvas{display:none!important}}
/* Fallback without WebGL: a tilted, extruded pizza stack. The disc turns within
   a fixed perspective, avoiding the impossible 'pizza standing upright' motion. */
.alla-pizza-stage.premium-pizza-stage:not(.has-pizza-3d){transform:perspective(850px) rotateX(52deg)!important;transform-style:preserve-3d!important;filter:drop-shadow(0 30px 22px rgba(0,0,0,.52))!important}
.alla-pizza-stage:not(.has-pizza-3d) .alla-pizza-spinning{z-index:4;inset:0!important;width:100%!important;height:100%!important;transform-origin:center;filter:drop-shadow(0 8px 5px rgba(0,0,0,.15))!important;animation:helm-fallback-disc 24s linear infinite!important}
.pizza-depth-layer{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;will-change:transform;opacity:1}
.pizza-depth-back{z-index:1;filter:brightness(.33) sepia(.8) saturate(1.6);animation:helm-fallback-base 24s linear infinite}
.pizza-depth-mid{z-index:2;filter:brightness(.62) sepia(.4) saturate(1.25);animation:helm-fallback-middle 24s linear infinite}
.alla-pizza-stage.has-pizza-3d{transform:none!important}
.alla-pizza-stage.has-pizza-3d .pizza-depth-layer{display:none!important}
@keyframes helm-fallback-disc{to{transform:translateZ(18px) rotate(360deg)}from{transform:translateZ(18px) rotate(0deg)}}
@keyframes helm-fallback-base{to{transform:translate3d(0,18px,-15px) rotate(360deg)}from{transform:translate3d(0,18px,-15px) rotate(0deg)}}
@keyframes helm-fallback-middle{to{transform:translate3d(0,9px,-5px) rotate(360deg)}from{transform:translate3d(0,9px,-5px) rotate(0deg)}}
.alla-card:hover .alla-pizza-stage:not(.has-pizza-3d) .pizza-depth-layer{animation-duration:12s}
.alla-card:hover .alla-pizza-stage:not(.has-pizza-3d) .alla-pizza-spinning{animation-duration:12s!important}
@media(prefers-reduced-motion:reduce){.pizza-depth-layer,.alla-pizza-stage:not(.has-pizza-3d) .alla-pizza-spinning{animation:none!important;transform:translateZ(0px)!important}}
/* ECS final colour balance: cream warmth + royal blue, without bleaching the photography. */
.ecs-atmosphere{filter:brightness(1.22) saturate(.92) contrast(1)!important;opacity:.88}
.featured-project:hover .ecs-atmosphere{filter:brightness(1.28) saturate(1.02) contrast(1.02)!important}
.ecs-darkness{background:linear-gradient(90deg,rgba(251,252,247,.97) 0%,rgba(247,250,247,.90) 32%,rgba(236,244,245,.46) 55%,rgba(224,236,242,.10) 90%),linear-gradient(0deg,rgba(216,233,241,.42),transparent 35%,transparent 79%,rgba(246,249,245,.24))!important}
.ecs-screen-photo{filter:brightness(1.14) saturate(.95) contrast(1.05)!important}
/* Pizza composition: stay entirely inside the image stage and clear the title. */
.alla-pizza-stage.premium-pizza-stage{width:73%!important;right:-10%!important;bottom:-2%!important}
@media(max-width:830px){.alla-pizza-stage.premium-pizza-stage{width:82%!important;right:-13%!important;bottom:-3%!important}}
@media(max-width:610px){.alla-pizza-stage.premium-pizza-stage{width:92%!important;right:-20%!important;bottom:-8%!important}}
/* Slight optical ink gain so the work statement reads like a decisive display headline. */
.work-heading .section-title{-webkit-text-stroke:.009em #12151a;paint-order:stroke fill}
.work-heading .section-title,.work-heading .section-title em{letter-spacing:-.078em!important;word-spacing:.035em}
