body.home .tk-slide-controls button{position:relative;line-height:1;display:block}
body.home .tk-slide-controls button:before{position:absolute;left:50%;top:50%;margin:0!important;transform:translate(-35%,-50%) rotate(225deg)}
body.home .tk-slide-controls button+button:before{transform:translate(-65%,-50%) rotate(45deg)}
body.home .tk-hero-fade>.wp-block-group__inner-container{display:grid;isolation:isolate}
body.home .tk-hero-fade>.wp-block-group__inner-container>figure{grid-area:1/1;opacity:0;z-index:0;transition:opacity .7s ease;pointer-events:none}
body.home .tk-hero-fade>.wp-block-group__inner-container>figure.tk-slide-active{opacity:1;z-index:1}
body.home .tk-hero-fade .tk-slide-controls{z-index:3}
body.home .tk-slide-pause{position:absolute;right:24px;bottom:18px;z-index:4;padding:8px 12px;border:1px solid #ffffff70;border-radius:2px;background:#0005;color:#fff;font-size:12px;line-height:1.3;cursor:pointer}
body.home .tk-slide-pause:hover{background:#0009}
body.home .tk-slide-pause:focus-visible{outline:2px solid white;outline-offset:3px}
@media(max-width:767px){body.home .tk-slide-pause{right:12px;bottom:12px}}
@media(prefers-reduced-motion:reduce){body.home .tk-hero-fade>.wp-block-group__inner-container>figure{transition:none}}

/* Restore project captions above the hero image. */
body.home .tk-hero-fade figcaption{display:block;position:absolute;left:0;right:0;bottom:0;margin:0;padding:38px 185px 20px 32px;background:linear-gradient(transparent,rgba(0,0,0,.65));color:#fff;font-size:17px;line-height:1.4;text-align:left;pointer-events:none}
@media(max-width:767px){body.home .tk-hero-fade figcaption{padding:32px 125px 14px 16px;font-size:14px;line-height:1.4}}

/* Reference-style project label, opposite the pause control. */
body.home .tk-hero-fade figcaption{left:24px;right:auto;bottom:18px;width:max-content;max-width:calc(100% - 200px);box-sizing:border-box;padding:14px 18px;margin:0;background:rgba(255,255,255,.82);color:#171717;font-size:18px;font-weight:400;line-height:1.4;text-align:left;overflow-wrap:anywhere;text-shadow:none}
@media(max-width:767px){body.home .tk-hero-fade figcaption{left:12px;bottom:12px;max-width:calc(100% - 140px);padding:10px 12px;font-size:14px;line-height:1.4}}

/* 2026-11-18: preserve ceiling detail in five requested homepage slides. */
body.home .tk-hero-fade>.wp-block-group__inner-container>figure:nth-of-type(2) img,
body.home .tk-hero-fade>.wp-block-group__inner-container>figure:nth-of-type(4) img,
body.home .tk-hero-fade>.wp-block-group__inner-container>figure:nth-of-type(6) img,
body.home .tk-hero-fade>.wp-block-group__inner-container>figure:nth-of-type(8) img,
body.home .tk-hero-fade>.wp-block-group__inner-container>figure:nth-of-type(10) img{object-position:50% 0%;}

/* Refine slide 2 halfway between center and top. */
body.home .tk-hero-fade>.wp-block-group__inner-container>figure:nth-of-type(2) img{object-position:50% 45%;}

/* Refine DLA Piper slide down ten percentage points. */
body.home .tk-hero-fade>.wp-block-group__inner-container>figure:nth-of-type(8) img{object-position:50% 10%;}
