/* Connected Depth: the homepage's 3D layer. It reserves its own space, never
   hides content, and stands still under reduced motion. */

/* Stages and the explorer exist only when scripts run, so a no-script page
   keeps its original layout. */
[data-tshc-depth],.tshc-depth-explore,.tshc-depth-jump{display:none}
.tshc-js [data-tshc-depth]{display:block;position:relative}
[data-tshc-depth] canvas{position:absolute;display:block;touch-action:pan-y;cursor:grab;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
[data-tshc-depth] canvas.tshc-depth-grabbing{cursor:grabbing}

/* Pointer-only markers that ride on a model. */
.tshc-depth-spot{position:absolute;left:0;top:0;z-index:2;width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:50%;cursor:pointer;opacity:0;pointer-events:none;transition:opacity .4s;-webkit-tap-highlight-color:transparent}
.tshc-depth-ready>.tshc-depth-spot{opacity:1;pointer-events:auto}

/* Hero: the connected home floats above the specialty panel. */
#tshc-home-1 .tshc-depth-side{align-self:end;min-width:0;position:relative;--depth-stage:clamp(190px,16.5vw,236px);--depth-lift:96px;--depth-lap:20px}
.tshc-js #tshc-home-1 .tshc-depth-stage{height:var(--depth-stage);margin:calc(var(--depth-lift)*-1) 0 calc(var(--depth-lap)*-1);z-index:1}
/* A soft, darkened spot of background sets the model in front of the photo. */
.tshc-js #tshc-home-1 .tshc-depth-stage::before{content:"";position:absolute;inset:-14% -18% -8% -36%;border-radius:50%;background:radial-gradient(closest-side,rgba(0,0,0,.72),rgba(0,0,0,.5) 55%,transparent);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);-webkit-mask-image:radial-gradient(closest-side,#000 45%,transparent);mask-image:radial-gradient(closest-side,#000 45%,transparent);pointer-events:none}
#tshc-home-1 .tshc-depth-stage canvas{top:0;left:-92px;width:calc(100% + 112px);height:100%}
#tshc-home-1 .tshc-depth-on>.tshc-motion-circuit{display:none}
.tshc-js #tshc-home-1 .tshc-depth-jump{display:inline-flex;position:absolute;z-index:3;right:14px;top:calc(var(--depth-stage) - var(--depth-lift) - var(--depth-lap) - 46px);align-items:center;gap:9px;min-height:36px;padding:0 15px;border:1px solid rgba(255,255,255,.34);border-radius:999px;background:rgba(0,0,0,.66);color:#fff!important;font:900 11px/1 "TSHC Montserrat",Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase;text-decoration:none;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
#tshc-home-1 .tshc-depth-jump::after{content:"";width:6px;height:6px;margin-top:-4px;border-right:2px solid #F5B019;border-bottom:2px solid #F5B019;transform:rotate(45deg)}
#tshc-home-1 .tshc-depth-jump:hover{border-color:#F5B019}
#tshc-home-1 .tshc-home-1-hero-panel{position:relative}
#tshc-home-1 .tshc-home-1-hero-panel::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:var(--depth-light,0);background:radial-gradient(380px circle at var(--depth-lx,50%) var(--depth-ly,0%),rgba(255,255,255,.13),transparent 62%)}
#tshc-home-1 .tshc-home-1-hero-panel.tshc-depth-tracking{transform:perspective(1100px) rotateX(var(--depth-rx,0deg)) rotateY(var(--depth-ry,0deg));will-change:transform}
#tshc-home-1 .tshc-home-1-feature-row.tshc-depth-cue{background:#F5B01917;padding-left:10px}
#tshc-home-1 .tshc-home-1-hero-panel .tshc-home-1-feature-row.tshc-depth-cue strong{color:#F5B019!important}
/* The panel gives back the height the model takes, so the hero keeps its size. */
@media(min-width:801px){
 .tshc-js #tshc-home-1 .tshc-depth-side .tshc-home-1-hero-panel{padding-top:26px;padding-bottom:20px}
 .tshc-js #tshc-home-1 .tshc-depth-side .tshc-home-1-hero-panel h2{margin-bottom:14px}
 .tshc-js #tshc-home-1 .tshc-depth-side .tshc-home-1-hero-panel .tshc-home-1-feature-row{padding-top:12px;padding-bottom:12px}
}
@media(max-width:800px){
 #tshc-home-1 .tshc-depth-side{--depth-stage:214px;--depth-lift:8px;--depth-lap:14px}
 #tshc-home-1 .tshc-depth-stage canvas{left:0;width:100%}
 .tshc-js #tshc-home-1 .tshc-depth-stage::before{inset:-6% -4% -4%}
}

/* Explorer: the full connected home, with systems and scenes to try. */
.tshc-js .tshc-depth-explore{display:block;background:#000;color:#fff;padding:clamp(64px,7vw,104px) 0;font-family:"TSHC Lato",Arial,sans-serif;line-height:1.65;text-align:left}
.tshc-depth-explore *{box-sizing:border-box}
.tshc-depth-explore [hidden]{display:none!important}
.tshc-explore-wrap{display:grid;grid-template-columns:minmax(0,1fr);row-gap:34px;width:min(1180px,calc(100% - 44px));margin:0 auto}
.tshc-explore-head{display:flex;justify-content:space-between;align-items:end;gap:64px}
/* On wide screens the controls sit over the left of the stage, like a
   configurator; the model keeps the rest of the frame. */
.tshc-js .tshc-explore-stage,.tshc-explore-controls{grid-column:1;grid-row:2}
.tshc-js .tshc-explore-stage{--depth-inset:430;min-height:640px;border:1px solid rgba(255,255,255,.14);border-radius:28px;background:radial-gradient(60% 75% at 68% 56%,#1d1d1d,#0b0b0b 76%);overflow:hidden}
.tshc-explore-controls{position:relative;z-index:3;justify-self:start;align-self:center;width:min(392px,calc(100% - 52px));margin:26px;padding:24px;border:1px solid rgba(255,255,255,.14);border-radius:24px;background:rgba(10,10,10,.78);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.tshc-explore-stage canvas{inset:0;width:100%;height:100%}
.tshc-explore-eyebrow{display:flex;align-items:center;gap:12px;margin:0 0 16px;color:#F5B019;font:900 13px/1.4 "TSHC Montserrat",Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase}
.tshc-explore-eyebrow::before{content:"";flex:none;width:34px;height:2px;background:#F5B019}
.tshc-depth-explore h2{margin:0;color:#fff;font:900 clamp(34px,4.3vw,60px)/1.02 "TSHC Montserrat",Arial,sans-serif;letter-spacing:-.055em}
.tshc-explore-head p{max-width:440px;margin:0;color:#ccc;font-size:18px;line-height:1.7}
.tshc-explore-group+.tshc-explore-group{margin-top:20px}
.tshc-explore-label{display:block;margin:0 0 10px;color:#fff;font:900 12px/1.4 "TSHC Montserrat",Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase}
.tshc-explore-chips{display:flex;flex-wrap:wrap;gap:8px}
.tshc-explore-chips button{-webkit-appearance:none;appearance:none;min-height:42px;padding:8px 16px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:#111;color:#eee;font:400 15px/1.3 "TSHC Lato",Arial,sans-serif;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.tshc-explore-chips button:hover{border-color:#F5B019}
.tshc-explore-chips button[aria-pressed="true"]{background:#F5B019;border-color:#F5B019;color:#000}
.tshc-explore-chips button:focus-visible,.tshc-explore-caption a:focus-visible{outline:3px solid #F5B019;outline-offset:4px}
.tshc-explore-caption{min-height:196px;margin-top:22px;padding:20px 22px;border:1px solid rgba(255,255,255,.14);border-radius:20px;background:#111}
.tshc-explore-caption h3{margin:0;color:#fff;font:800 20px/1.2 "TSHC Montserrat",Arial,sans-serif;letter-spacing:-.02em}
.tshc-explore-caption p{margin:8px 0 16px;color:#ccc;font-size:16px;line-height:1.55}
.tshc-explore-caption a{display:inline-block;padding-bottom:5px;border-bottom:2px solid #F5B019;color:#fff;font:900 13px/1.3 "TSHC Montserrat",Arial,sans-serif;letter-spacing:.05em;text-transform:uppercase;text-decoration:none}
.tshc-explore-note{margin:14px 0 0;color:#a9a9a9;font-size:13px;line-height:1.55}
.tshc-explore-hint{position:absolute;right:22px;bottom:18px;z-index:2;color:rgba(255,255,255,.6);font:800 11px/1 "TSHC Montserrat",Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase;pointer-events:none}
.tshc-explore-stage .tshc-depth-spot::before{content:"";position:absolute;inset:8px;border:2px solid #F5B019;border-radius:50%;background:rgba(0,0,0,.72);transition:background .2s,inset .2s}
.tshc-explore-stage .tshc-depth-spot:hover::before,.tshc-explore-stage .tshc-depth-spot-on::before{inset:6px;background:#F5B019}
.tshc-explore-stage .tshc-depth-spot::after{content:attr(data-label);position:absolute;left:50%;bottom:100%;transform:translateX(-50%);padding:6px 11px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:#000;color:#fff;font:700 12px/1.2 "TSHC Lato",Arial,sans-serif;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s}
.tshc-explore-stage .tshc-depth-spot:hover::after,.tshc-explore-stage .tshc-depth-spot-on::after{opacity:1}
@media(max-width:999px){
 .tshc-explore-wrap{row-gap:24px}
 .tshc-explore-head{flex-direction:column;align-items:start;gap:18px}
 .tshc-js .tshc-explore-stage,.tshc-explore-controls{grid-row:auto}
 .tshc-js .tshc-explore-stage{--depth-inset:0;min-height:0;height:clamp(300px,84vw,460px);border-radius:24px;background:radial-gradient(85% 75% at 50% 58%,#1d1d1d,#0b0b0b 76%)}
 .tshc-explore-controls{width:100%;margin:0;padding:0;border:0;border-radius:0;background:none;-webkit-backdrop-filter:none;backdrop-filter:none}
 .tshc-explore-caption{min-height:168px}
 .tshc-explore-head p{font-size:17px}
}
/* On small screens the labelled chips sit right under the model, so its markers step aside. */
@media(max-width:700px){.tshc-explore-stage .tshc-depth-spot{display:none}}
@media(max-width:480px){.tshc-explore-wrap{width:calc(100% - 36px)}}

/* Service areas: the map sits beneath the questions on wide screens and
   directly beneath the area links on narrow ones. */
.tshc-js #tshc-home-6 .tshc-depth-map{height:clamp(250px,68vw,310px)}
#tshc-home-6 .tshc-depth-map canvas{inset:0;width:100%;height:100%}
@media(min-width:801px){
 .tshc-js #tshc-home-6 .tshc-home-6-split{grid-template-rows:auto 1fr;row-gap:22px}
 .tshc-js #tshc-home-6 .tshc-home-6-split>:first-child{grid-column:1;grid-row:1/span 2}
 .tshc-js #tshc-home-6 .tshc-home-6-split>:last-child{grid-column:2;grid-row:1}
 .tshc-js #tshc-home-6 .tshc-depth-map{grid-column:2;grid-row:2;height:auto;min-height:300px}
}

@media(prefers-reduced-motion:no-preference){
 #tshc-home-1 .tshc-home-1-feature-row{transition:background 300ms,padding 300ms}
 #tshc-home-1 .tshc-home-1-feature-row strong{transition:color 300ms}

 /* Section entrances gain depth. They reuse Connected Motion's observer and
    classes, so content still starts visible and each one plays once. */
 [data-page="home"] .tshc-motion-scope .tshc-motion-go[data-tshc-motion-kind="card"]{animation-name:tshc-depth-rise;animation-duration:900ms;transform-origin:50% 100%}
 [data-page="home"] #tshc-home-5 .tshc-motion-go[data-tshc-motion-kind="row"]{animation-name:tshc-depth-turn;animation-duration:900ms;animation-delay:calc(var(--tshc-delay,0ms)*1.8);transform-origin:0 50%}
 [data-page="home"] .tshc-motion-scope .tshc-motion-go[data-tshc-motion-kind="layer"]{animation-name:tshc-depth-unfold;animation-duration:950ms;animation-delay:calc(var(--tshc-delay,0ms)*2.4);transform-origin:50% 0}
}
@media(prefers-reduced-motion:reduce){
 .tshc-depth-explore *,.tshc-depth-spot,.tshc-depth-spot::before,.tshc-depth-spot::after{transition:none!important}
}

/* Service cards lean toward the pointer; their contents lift off the surface. */
#tshc-home-3 .tshc-depth-tilt{position:relative}
@media(prefers-reduced-motion:no-preference) and (hover:hover) and (pointer:fine){
 #tshc-home-3 .tshc-depth-tilt{transition:transform 520ms cubic-bezier(.16,1,.3,1),translate 300ms cubic-bezier(.16,1,.3,1),border-color 220ms,box-shadow 300ms}
 #tshc-home-3 .tshc-depth-tilt.tshc-depth-tracking,#tshc-home-3 .tshc-depth-tilt.tshc-depth-tracking:hover{transform:perspective(900px) rotateX(var(--depth-rx,0deg)) rotateY(var(--depth-ry,0deg));transition-duration:110ms,300ms,220ms,300ms;transition-timing-function:ease-out}
 #tshc-home-3 .tshc-depth-tilt::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity 300ms;background:radial-gradient(340px circle at var(--depth-lx,50%) var(--depth-ly,50%),rgba(245,176,25,.17),transparent 62%)}
 #tshc-home-3 .tshc-home-3-feature.tshc-depth-tilt::after{background:radial-gradient(540px circle at var(--depth-lx,50%) var(--depth-ly,50%),rgba(255,255,255,.1),transparent 60%)}
 #tshc-home-3 .tshc-depth-tilt.tshc-depth-tracking::after{opacity:1}
 #tshc-home-3 .tshc-home-3-service.tshc-depth-tilt{transform-style:preserve-3d}
 #tshc-home-3 .tshc-home-3-service.tshc-depth-tilt>*{transition:transform 420ms cubic-bezier(.16,1,.3,1),color 220ms,translate 300ms}
 #tshc-home-3 .tshc-home-3-service.tshc-depth-tracking>.tshc-home-3-num{transform:translateZ(34px)}
 #tshc-home-3 .tshc-home-3-service.tshc-depth-tracking>h3{transform:translateZ(26px)}
 #tshc-home-3 .tshc-home-3-service.tshc-depth-tracking>p{transform:translateZ(12px)}
 #tshc-home-3 .tshc-home-3-service.tshc-depth-tracking>.tshc-home-3-text-link{transform:translateZ(22px)}
}

/* As the hero scrolls away, its layers part slightly: copy holds back, the
   model comes forward. Compositor-driven where scroll timelines exist. */
@supports (animation-timeline:scroll()){
 @media(prefers-reduced-motion:no-preference){
  #tshc-home-1 .tshc-home-1-hero-copy{animation:tshc-depth-far linear both;animation-timeline:scroll(root block);animation-range:0px 760px}
  .tshc-js #tshc-home-1 .tshc-depth-stage{animation:tshc-depth-near linear both;animation-timeline:scroll(root block);animation-range:0px 760px}
 }
}
@keyframes tshc-depth-far{to{translate:0 54px}}
@keyframes tshc-depth-near{to{translate:0 -34px;scale:1.05}}
@keyframes tshc-depth-rise{from{opacity:.7;transform:perspective(1100px) translateY(36px) translateZ(-110px) rotateX(18deg)}to{opacity:1;transform:perspective(1100px) translateY(0) translateZ(0) rotateX(0)}}
@keyframes tshc-depth-turn{from{opacity:.6;transform:perspective(1000px) rotateY(-46deg) translateX(-12px)}to{opacity:1;transform:perspective(1000px) rotateY(0) translateX(0)}}
@keyframes tshc-depth-unfold{from{opacity:.55;transform:perspective(1000px) rotateX(-62deg)}to{opacity:1;transform:perspective(1000px) rotateX(0)}}
@media print{[data-tshc-depth],.tshc-depth-jump{display:none!important}}
