/* Home typography and approved desktop composition. */
.home-content h1 {
    font-size: clamp(58px, 5.52vw, 106px);
    font-weight: 300;
    line-height: .92;
    letter-spacing: .055em;
}

.home-text-animation {
    position: relative;
    z-index: 30;
    pointer-events: auto;
}

.home-text-animation.ta-13__stage {
    display: flex;
    flex-wrap: nowrap;
    gap: .18em;
    justify-content: flex-start;
    align-items: baseline;
    max-width: none;
}

.home-text-animation .ta-13__word {
    font: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
}

.home-text-animation .ta-13__word--2,
.home-text-animation .ta-13__word--4 {
    color: inherit;
    font-style: normal;
    font-weight: inherit;
}

.home-content h2 {
    margin: .42em 0 1.05em;
    font-size: clamp(16px, 1.44vw, 26px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: .055em;
}

.home-intro {
    margin: 0;
    font-size: clamp(11px, .94vw, 17px);
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: .035em;
}

.home-animate-chars {
    perspective: 900px;
}

.home-anim-char {
    display: inline-block;
    opacity: 0;
    transform: translate3d(0, .95em, 0) rotateX(-78deg) skewY(7deg);
    transform-origin: 50% 100%;
    animation: homeCharacterReveal 780ms cubic-bezier(.16, 1, .3, 1) forwards;
    animation-delay: calc(var(--line-delay, 0ms) + (var(--char-index) * 18ms));
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform, opacity;
}

@keyframes homeCharacterReveal {
    0% {
        opacity: 0;
        transform: translate3d(0, .95em, 0) rotateX(-78deg) skewY(7deg);
    }
    58% {
        opacity: 1;
        transform: translate3d(0, -.08em, 0) rotateX(10deg) skewY(-2deg);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotateX(0deg) skewY(0deg);
    }
}

.service-summary {
    margin: 1.65em 0 1.8em;
    font-size: clamp(10px, .89vw, 16px);
    font-weight: 300;
    line-height: 1.18;
    letter-spacing: .025em;
}

.service-summary li {
    gap: .38em;
    white-space: nowrap;
}

.home-animate-lines li,
.home-animate-lines .home-line-row {
    opacity: 0;
    transform: translate3d(0, 1.15em, 0);
    animation: homeLineReveal 760ms cubic-bezier(.16, 1, .3, 1) forwards;
    animation-delay: calc(2100ms + (var(--line-index) * 105ms));
    will-change: transform, opacity;
}

.home-animate-lines .home-line-row {
    display: block;
}

@keyframes homeLineReveal {
    0% {
        opacity: 0;
        transform: translate3d(0, 1.15em, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.service-summary .service-link {
    display: flex;
    align-items: baseline;
    gap: .38em;
    color: inherit;
    text-decoration: none;
}

.service-summary li::before {
    content: '';
    flex: 0 0 auto;
    width: 0;
    height: 0;
    margin-right: .08em;
    border-top: .38em solid transparent;
    border-bottom: .38em solid transparent;
    border-left: .58em solid currentColor;
}

.service-summary .maintenance::before { border-left-color: #115e59; }
.service-summary .renovate::before { border-left-color: #2563eb; }
.service-summary .media::before { border-left-color: #ea580c; }
.service-summary .online::before { border-left-color: #07d5ff; }
.service-summary .event::before { border-left-color: #db2777; }
.service-summary .radio::before { border-left-color: #38bd6d; }

.service-summary strong {
    flex: 0 0 auto;
    font-weight: 500;
    letter-spacing: .045em;
    transition: color 180ms ease;
}

.service-summary .maintenance:hover strong { color: #115e59; }
.service-summary .renovate:hover strong { color: #2563eb; }
.service-summary .media:hover strong { color: #ea580c; }
.service-summary .online:hover strong { color: #07d5ff; }
.service-summary .event:hover strong { color: #db2777; }
.service-summary .radio:hover strong { color: #38bd6d; }

.service-summary span::before {
    content: '> ';
    opacity: 1;
}

.closing-copy {
    margin: 0;
    font-size: clamp(11px, .89vw, 16px);
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: .035em;
}

.home-copyright {
    display: grid;
    grid-template-columns: 3px auto;
    grid-template-rows: auto auto;
    column-gap: 8px;
    row-gap: 1px;
    align-items: start;
    width: max-content;
    font-size: clamp(7px, .5vw, 10px);
    line-height: 1.08;
    letter-spacing: .035em;
    opacity: .78;
}

.home-copyright::before {
    content: '';
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: stretch;
    width: 2px;
    min-height: 38px;
    background: rgba(255, 255, 255, .9);
}

.home-copyright img {
    grid-column: 2;
    grid-row: 1;
    width: 34px;
    height: auto;
}

.home-copyright span {
    grid-column: 2;
    grid-row: 2;
    display: block;
}

.office-drawing {
    position: absolute;
    z-index: 1;
    right: 0%;
    bottom: 0%;
    width: 100%;
    height: 506px;
    object-fit: contain;
    object-position: right bottom;
    pointer-events: auto;
    user-select: none;
}

.office-drawing img {
    width: 100%;
    height: 506px;
}

/* Desktop workgroup placement. */
.home-logo {
    left: 3.55%;
}

.home-screen .people-stage {
    left: 0%;
    top: 50%;
    bottom: auto;
    height: 800px;
    width: 1150px;
    transform: translateY(-50%);
    z-index: 6;
    pointer-events: auto;
}

.home-copyright {
    margin-top: 12.5vh;
}

@media (max-height: 700px) {
    .home-copyright { margin-top: 9vh; }
}

/* Contact page proportions and spacing. */
.contact-details {
    height: 85%;
}

.contact-slide h2 {
    line-height: .88;
}

.section-kicker {
    margin-top: .5em;
    margin-bottom: 1.15em;
    font-size: clamp(10px, .88vw, 16px);
    line-height: 1.1;
}

.company-info dl {
    line-height: 1.08;
}

.company-info dt {
    margin-top: .65em;
}

.office-columns {
    gap: 8.4%;
    margin-top: 1.2%;
}

.office-card {
    line-height: 1.15;
}

.office-card h3 {
    margin-bottom: 1em;
}

.office-card .label {
    margin-top: .8em;
}

.office-card iframe {
    width: 97.7%;
    min-height: 278px;
    margin-top: 1.35em;
    margin-left: -1.3%;
}

.email-contact {
    width: 55%;
    line-height: 1.38;
}

.contact-brand {
    top: 9%;
}

.contact-brand img {
    left: -67px;
    top: 0;
    width: 100%;
    height: 100%;
}

.person-card {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 35%;
    height: 100%;
    margin: 0 -10.9%;
    container-type: size;
    pointer-events: none;
    --hit-left: 24%;
    --hit-width: 50%;
    --hit-top: 36%;
    --hit-height: 60%;
    --label-left: 50%;
    --label-top: 24%;
    --label-y-offset: 0%;
}

.home-screen .people-stage .person-card > img {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
    object-position: center bottom;
    transform: none;
    cursor: pointer;
    pointer-events: none;
}

.home-screen .people-stage .person-card > .person-hover-image {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    transition: opacity 220ms ease;
}

.person-card:hover > .person-hover-image,
.person-card:has(.person-hover-target:hover) > .person-hover-image,
.person-hover-target:hover ~ .person-hover-image {
    opacity: 1;
}

.home-screen .people-stage .person-card:nth-child(1) { z-index: 1; }
.home-screen .people-stage .person-card:nth-child(2) { z-index: 2; transform: translateX(-5.2%); }
.home-screen .people-stage .person-card:nth-child(3) { z-index: 4; transform: translateX(-8.4%); }
.home-screen .people-stage .person-card:nth-child(4) { z-index: 3; transform: translateX(-8.5%); }
.home-screen .people-stage .person-card:nth-child(5) { z-index: 2; transform: translateX(-1.4%); }
.home-screen .people-stage .person-card:nth-child(6) { z-index: 1; transform: translateX(-14%); }

.person-hover-target {
    position: absolute;
    z-index: 19;
    left: var(--hit-left);
    top: var(--hit-top);
    width: var(--hit-width);
    height: var(--hit-height);
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
}

.person-hover-label {
    position: absolute;
    z-index: 20;
    left: var(--label-left);
    top: calc(var(--label-top) + var(--label-y-offset));
    padding: .08em .9em .16em .5em;
    color: #fff;
    font-family: 'Caveat Brush', cursive;
    font-size: clamp(18px, 2.3cqh, 32px);
    line-height: 1;
    letter-spacing: .025em;
    white-space: nowrap;
    pointer-events: none;
    transform-origin: left center;
    transition: left 220ms ease, top 220ms ease, font-size 220ms ease;
}

.home-screen .person-hover-label {
    --label-pop-x: 0;
    --label-pop-y: -8%;
    opacity: .92;
    transform: translate3d(0, 0, 0);
    transition: opacity 180ms ease, font-size 220ms ease, text-shadow 220ms ease, transform 220ms ease;
    will-change: transform;
}

.home-screen .rolling-char {
    display: inline-block;
    perspective: 700px;
    vertical-align: top;
}

.home-screen .rolling-char-inner {
    position: relative;
    display: inline-block;
    color: #fff;
    transform: rotateX(0deg);
    transform-origin: 50% 50% -.54em;
    transform-style: preserve-3d;
    transition: transform 620ms cubic-bezier(.16, 1, .3, 1);
    transition-delay: calc(var(--char-index) * 28ms);
    will-change: transform;
}

.home-screen .rolling-char-face {
    display: block;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.home-screen .rolling-char-back {
    position: absolute;
    inset: 0;
    transform: rotateX(-90deg);
    transform-origin: 50% 50% -.54em;
}

.person-card:hover > .person-hover-label,
.person-card:has(.person-hover-target:hover) > .person-hover-label,
.person-hover-target:hover ~ .person-hover-label {
    font-size: clamp(32px, 4.1cqh, 58px);
}

.home-screen .person-card:hover > .person-hover-label,
.home-screen .person-card:has(.person-hover-target:hover) > .person-hover-label,
.home-screen .person-hover-target:hover ~ .person-hover-label {
    font-size: clamp(20px, 1.6vw, 23px);
    opacity: 1;
    transform: translate3d(var(--label-pop-x), var(--label-pop-y), 0) scale(1.04);
    text-shadow: 0 .08em 0 rgba(0, 0, 0, .16), 0 0 .52em rgba(255, 255, 255, .42);
}

.home-screen .person-card:hover > .person-hover-label .rolling-char-inner,
.home-screen .person-card:has(.person-hover-target:hover) > .person-hover-label .rolling-char-inner,
.home-screen .person-hover-target:hover ~ .person-hover-label .rolling-char-inner {
    transform: rotateX(90deg);
}

.person-maintenance {
    --hit-left: 24%;
    --hit-width: 50%;
    --label-left: 24%;
    --label-top: 9.5%;
}

.person-maintenance .person-hover-label {
    left: auto;
    right: 43%;
    text-align: right;
    top: 68px;
}

.person-media .person-hover-label {
    left: auto;
    right: 4%;
    text-align: right;
    top: 45px;
}

.home-screen .person-media .person-hover-label {
    left: 53.54%;
    right: auto;
    text-align: left;
    transform-origin: left center;
}

.person-event .person-hover-label {
    left: auto;
    right: 39%;
    text-align: right;
    top: 1px;
}

.person-online .person-hover-label {
    left: auto;
    right: 4%;
    text-align: right;
    top: 35px;
}

.home-screen .person-online .person-hover-label {
    left: 63.657%;
    right: auto;
    text-align: left;
    transform-origin: left center;
}

.person-radio .person-hover-label {
    left: auto;
    right: 21%;
    text-align: right;
    top: 86px;
}

.home-screen .person-radio .person-hover-label {
    left: 61.231%;
    right: auto;
    text-align: left;
    transform-origin: left center;
}

.person-renovate .person-hover-label {
    left: auto;
    right: -3%;
    text-align: right;
    top: 27px;
}

.home-screen .person-renovate .person-hover-label {
    left: 78.591%;
    right: auto;
    text-align: left;
    transform-origin: left center;
}

.person-media {
    --hit-left: 24%;
    --hit-width: 50%;
    --label-left: 44%;
    --label-top: 7%;
}

.person-event {
    --hit-left: 47%;
    --hit-width: 42%;
    --label-left: 22%;
    --label-top: 1.9%;
}

.person-online {
    --hit-left: 18%;
    --hit-width: 50%;
    --label-left: 53%;
    --label-top: 6%;
}

.person-radio {
    --hit-left: 29%;
    --hit-width: 45%;
    --label-left: 62%;
    --label-top: 10.9%;
}

.person-renovate {
    --hit-left: 34%;
    --hit-width: 51%;
    --label-left: 71%;
    --label-top: 4.6%;
}

/* Fixed 1280 × 720 desktop/tablet design canvas.
   The outer viewport is the only layer that scales with the browser. */
html,
body {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
}

body {
    position: relative;
    background: var(--cyan);
    transition: background-color var(--slide-time) var(--slide-ease);
}

body[data-page="contact"] {
    background: var(--gray);
}

.design-viewport {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    overflow: hidden;
}

.presentation {
    width: 100vw;
    height: 100dvh;
    container-type: size;
    cursor: grab;
}

.presentation.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.presentation.is-dragging .slides-track {
    transition: none;
}

.slides-track {
    width: 200vw;
    height: 100%;
}

.presentation[data-page="contact"] .slides-track {
    transform: translate3d(-100vw, 0, 0);
}

.presentation .home-screen,
.presentation .contact-screen,
.presentation[data-page="home"] .contact-screen,
.presentation[data-page="contact"] .home-screen {
    visibility: visible;
    transition: none;
}

.slide {
    flex: 0 0 100vw;
    width: 100vw;
    height: 100dvh;
    min-height: 0;
}

.home-slide,
.home-screen {
    left: 0;
    top: 0;
    transform-origin: left top;
}

/* Freeze every viewport-derived value at its approved 1280 × 720 result. */
.home-logo { width: 120px; }

.home-logo {
    display: block;
    aspect-ratio: 201 / 173;
    cursor: pointer;
    z-index: 12;
}

.home-logo img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 180ms ease;
}

.home-logo-hover {
    opacity: 0;
}

.home-logo:hover .home-logo-hover {
    opacity: 1;
}

.home-logo:hover .home-logo-base {
    opacity: 0;
}

.home-content {
    left: auto;
    right: 0;
    top: 37%;
    width: 39%;
    z-index: 7;
}

.nav-button { font-size: 8px; }

.company-info {
    left: 20.5%;
    top: 10.4%;
    width: 18%;
}
.contact-details {
    left: 45.4%;
    right: 2.5%;
    top: 10.4%;
}
.contact-slide h2 { font-size: 52.5px; }
.section-kicker { font-size: 16px; }
.company-info dl { font-size: 14px; }
.office-card { font-size: 14.5px; }
.office-card h3 { font-size: 16px; }
.office-card iframe { height: 190px; }
.email-contact { font-size: 14px; }
.email-contact h3 { font-size: 16px; }

/* Keep all imagery crisp: disable inherited filters and blurred shadows. */
.home-screen .people-stage img,
.contact-slide .contact-workgroup img,
.office-card iframe {
    filter: none;
}

.home-bottom-actions {
    position: absolute;
    z-index: 9;
    right: 0;
    bottom: 6.4%;
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: space-between;
    align-content: flex-end;
    flex-wrap: wrap;
    flex-direction: row;
    width: 39%;
}

.home-bottom-actions .home-copyright {
    position: static;
    margin-top: 0;
    transform: none;
}

.home-bottom-actions .go-contact {
    position: static;
}

.nav-button {
    height: 60px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .08em;
}

.nav-button b {
    font-size: 40px;
    line-height: .72;
    margin-top: -8px;
}

.nav-button span {
    height: 35px;
    padding: 0 24px;
}

.go-contact span {
    background: #718084;
    border-left: 2px solid #fff;
}

.go-home span {
    min-width: 150px;
    background: var(--cyan);
}

body.is-leaving-for-event {
    pointer-events: none;
}

body.is-leaving-for-event .design-viewport {
    animation: homeExitToEvent 720ms var(--slide-ease) forwards;
}

html.home-entering-from-event .design-viewport {
    animation: homeEnterFromEvent 760ms var(--slide-ease) forwards;
}

@keyframes homeExitToEvent {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(0, -100dvh, 0);
    }
}

@keyframes homeEnterFromEvent {
    from {
        transform: translate3d(0, -100dvh, 0);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

@media (max-width: 1200px) {
    .home-logo {
        left: 3vw;
        width: clamp(120px, 14vw, 172px);
    }

    .home-screen .people-stage {
        left: 1.5vw;
        top: 50%;
        width: 88vw;
        height: min(90dvh, 61vw);
    }

    .home-content {
        right: 2vw;
        top: clamp(190px, 36dvh, 280px);
        width: clamp(380px, 43vw, 500px);
    }

    .home-content h1 {
        font-size: clamp(52px, 5.52vw, 70px);
    }

    .home-content h2 {
        font-size: clamp(14px, 1.44vw, 22px);
    }

    .home-intro {
        font-size: clamp(10px, .94vw, 15px);
    }

    .service-summary {
        font-size: clamp(9px, .89vw, 14px);
    }

    .closing-copy {
        font-size: clamp(10px, .89vw, 14px);
    }

    .office-drawing {
        width: 42vw;
        height: 50dvh;
    }

    .home-bottom-actions {
        right: 2vw;
        width: clamp(380px, 43vw, 500px);
    }

    .person-radio,
    .person-renovate {
        --hit-top: 66%;
        --hit-height: 28%;
    }
}

@media (max-width: 900px) {
    .home-screen .people-stage {
        left: -14vw;
        top: 57%;
        width: 112vw;
        height: min(78dvh, 78vw);
    }

    .home-content {
        right: 3vw;
        top: clamp(120px, 19dvh, 190px);
        width: 54vw;
    }

    .home-content h1 {
        font-size: clamp(46px, 8.2vw, 72px);
    }

    .home-content h2 {
        font-size: clamp(14px, 2.2vw, 19px);
    }

    .service-summary {
        margin: 1.2em 0 1.35em;
    }

    .service-summary li,
    .service-summary .service-link {
        white-space: normal;
    }

    .home-bottom-actions {
        right: 3vw;
        width: 54vw;
        bottom: 5%;
    }
}

@media (max-width: 640px) {
    .home-logo {
        left: 5vw;
        width: clamp(88px, 24vw, 120px);
    }

    .home-screen .people-stage {
        left: -50vw;
        top: 74%;
        width: 145vw;
        height: min(42dvh, 92vw);
    }

    .person-hover-label {
        display: none;
    }

    .home-content {
        left: 5vw;
        right: auto;
        top: 17dvh;
        width: 90vw;
        z-index: 7;
    }

    .home-content h1 {
        font-size: clamp(42px, 13vw, 58px);
    }

    .home-content h2 {
        margin-bottom: .8em;
        font-size: clamp(13px, 4vw, 18px);
    }

    .home-intro,
    .closing-copy {
        font-size: clamp(10px, 3vw, 13px);
    }

    .service-summary {
        font-size: clamp(9px, 2.7vw, 12px);
        line-height: 1.25;
    }

    .office-drawing {
        width: 58vw;
        height: 38dvh;
        opacity: .75;
    }

    .home-bottom-actions {
        left: 5vw;
        right: auto;
        bottom: 4.2%;
        width: 90vw;
    }
}

/* Home is already fluid-size, so keep imagery on real layout pixels instead of scaling a canvas layer. */
.home-screen .people-stage {
    contain: layout;
    overflow: visible;
}

.home-screen .people-stage .person-card {
    flex: 0 0 auto;
    transform-origin: center bottom;
    backface-visibility: hidden;
}

.home-screen .people-stage .person-card > img {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    object-fit: contain;
    object-position: center bottom;
    image-rendering: auto;
}

.home-screen .people-stage .person-card > .person-hover-image {
    will-change: opacity;
}

.home-screen .home-logo img,
.home-screen .office-drawing {
    image-rendering: auto;
    backface-visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .home-anim-char {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .home-animate-lines li,
    .home-animate-lines .home-line-row {
        opacity: 1;
        transform: none;
        animation: none;
    }

    body.is-leaving-for-event .design-viewport {
        animation: none;
    }

    html.home-entering-from-event .design-viewport {
        animation: none;
    }
}

/* Contact workgroup: isolated controls for the six people and their labels. */
.contact-slide .contact-workgroup {
    position: absolute;
    z-index: 2;
    left: var(--contact-team-left, 800px);
    right: auto;
    bottom: var(--contact-team-bottom, -36px);
    display: flex;
    width: 640px;
    height: 605px;
    align-items: flex-end;
    justify-content: center;
    transform: translateX(var(--contact-team-translate, 36.15px)) scale(var(--contact-team-scale, .36));
    transform-origin: left bottom;
    contain: none;
    overflow: visible;
}

.contact-slide .contact-workgroup .person-card {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 35%;
    height: 100%;
    margin: 0 -9.9%;
    pointer-events: none;
    transition: transform 260ms cubic-bezier(.16, 1, .3, 1), filter 260ms ease;
    will-change: transform;
}

.contact-slide .contact-workgroup .person-card:nth-child(1) { z-index: 1; transform: none; --small-img-left: 0%; --small-img-top: 0%; --small-img-width: 100%; --small-img-height: 100%; --contact-label-right: 39%; --contact-label-top: 9%; --contact-label-align: right; --contact-label-origin: right center; --contact-hit-left: 24%; --contact-hit-width: 50%; }
.contact-slide .contact-workgroup .person-card:nth-child(2) { z-index: 2; transform: translateX(-1.2%); --small-img-left: 2%; --small-img-top: 0%; --small-img-width: 100%; --small-img-height: 100%; --contact-label-left: 53%; --contact-label-top: 6%; --contact-hit-left: 24%; --contact-hit-width: 50%; }
.contact-slide .contact-workgroup .person-card:nth-child(3) { z-index: 4; transform: translateX(-15.4%); --small-img-left: 22%; --small-img-top: 0%; --small-img-width: 100%; --small-img-height: 100%; --contact-label-right: 14%; --contact-label-top: 1%; --contact-label-align: right; --contact-label-origin: right center; --contact-hit-left: 60%; --contact-hit-width: 42%; }
.contact-slide .contact-workgroup .person-card:nth-child(4) { z-index: 3; transform: translateX(-3.5%); --small-img-left: 12%; --small-img-top: 0%; --small-img-width: 100%; --small-img-height: 100%; --contact-label-left: 184px; --contact-label-top: 28px; --contact-hit-left: 46%; --contact-hit-width: 50%; }
.contact-slide .contact-workgroup .person-card:nth-child(5) { z-index: 2; transform: translateX(-12.4%); --small-img-left: 37%; --small-img-top: 0%; --small-img-width: 100%; --small-img-height: 100%; --contact-label-left: 232px; --contact-label-top: 65px; --contact-hit-left: 59%; --contact-hit-width: 45%; }
.contact-slide .contact-workgroup .person-card:nth-child(6) { z-index: 1; transform: translateX(-21%); --small-img-left: 38%; --small-img-top: 0%; --small-img-width: 100%; --small-img-height: 100%; --contact-label-left: 275px; --contact-label-top: 40px; --contact-hit-left: 70%; --contact-hit-width: 51%; }

.contact-slide .contact-workgroup .person-card > img,
.contact-slide .contact-workgroup .person-card > .person-hover-image {
    position: absolute;
    inset: auto;
    left: var(--small-img-left);
    top: var(--small-img-top);
    width: var(--small-img-width);
    height: var(--small-img-height);
    object-fit: contain;
    object-position: center bottom;
    pointer-events: none;
    transition: opacity 220ms ease, transform 260ms cubic-bezier(.16, 1, .3, 1);
    transform-origin: center bottom;
}

.contact-slide .contact-workgroup .person-card > .person-hover-image {
    z-index: 2;
    opacity: 0;
}

.contact-slide .contact-workgroup .person-card:has(.person-hover-target:hover) > .person-hover-image,
.contact-slide .contact-workgroup .person-hover-target:hover ~ .person-hover-image {
    opacity: 1;
}

.contact-slide .contact-workgroup .person-hover-target {
    left: var(--contact-hit-left);
    top: 5%;
    width: var(--contact-hit-width);
    height: 80%;
}

.contact-slide .contact-workgroup .person-hover-label {
    position: absolute;
    z-index: 20;
    left: var(--contact-label-left, auto);
    right: var(--contact-label-right, auto);
    top: var(--contact-label-top);
    padding: 1px 14px 2px 8px;
    color: #fff;
    font-family: 'Caveat Brush', cursive;
    font-size: 12px;
    line-height: 1;
    letter-spacing: .025em;
    white-space: nowrap;
    text-align: var(--contact-label-align, left);
    pointer-events: none;
    transform: scale(1);
    transform-origin: var(--contact-label-origin, left center);
    transition: transform 260ms cubic-bezier(.16, 1, .3, 1), font-size 220ms ease, text-shadow 220ms ease;
}

.contact-slide .contact-workgroup .person-hover-target:hover ~ .person-hover-label {
    font-size: 18px;
    transform: translateY(-8px) scale(1.05);
    text-shadow: 0 2px 0 rgba(0, 0, 0, .18), 0 0 10px rgba(255, 255, 255, .35);
}

.contact-slide .contact-workgroup .person-card:hover > .person-hover-label,
.contact-slide .contact-workgroup .person-card:has(.person-hover-target:hover) > .person-hover-label {
    font-size: 18px;
    transform: translateY(-8px) scale(1.05);
    text-shadow: 0 2px 0 rgba(0, 0, 0, .18), 0 0 10px rgba(255, 255, 255, .35);
}

/******************** Text Animations **********************/

.ta-13,
.ta-13 *,
.ta-13 *::before,
.ta-13 *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.ta-13 ::selection {
  background: #1e40af;
  color: #dbeafe;
}

.ta-13 {
  --bg: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  font-family: 'Playfair Display', Georgia, serif;
}

.ta-13__stage {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
  justify-content: center;
  align-items: baseline;
}

.ta-13__stage {
  max-width: 90%;
}

.ta-13__word {
  font-size: clamp(1.4rem, 3.6vw, 2.6rem);
  font-weight: 700;
  color: #e0e7ff;
  opacity: 0;
  filter: blur(18px);
  transform: scale(1.05);
  animation: ta-13-focus 1s ease-out forwards;
}

.ta-13__word--1 {
  animation-delay: 0.1s;
}

.ta-13__word--2 {
  animation-delay: 0.45s;
  color: #818cf8;
  font-style: italic;
  font-weight: 400;
}

.ta-13__word--3 {
  animation-delay: 0.8s;
}

.ta-13__word--4 {
  animation-delay: 1.15s;
  color: #c7d2fe;
}

@keyframes ta-13-focus {
  to {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ta-13__word {
    animation: none;
    opacity: 1;
    filter: none;
    transform: none;
  }
}


/******************** home link effects *************************/

.service-summary .maintenance { --service-accent: #115e59; }
.service-summary .renovate { --service-accent: #2563eb; }
.service-summary .media { --service-accent: #ea580c; }
.service-summary .online { --service-accent: #07d5ff; }
.service-summary .event { --service-accent: #db2777; }
.service-summary .radio { --service-accent: #38bd6d; }

.service-summary .service-link {
    position: relative;
    display: inline-block !important;
    width: max-content;
    max-width: 100%;
    overflow: hidden;
    vertical-align: top;
}

.service-summary .service-link::before,
.service-summary .service-link::after {
    position: absolute;
    left: 0;
    width: 100%;
}

.service-summary .service-link::before {
    content: '';
    bottom: 0;
    height: 1px;
    background-color: var(--service-accent);
    transform: scaleX(0);
    transform-origin: 100% 50%;
    transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1);
}

.service-summary .service-link::after {
    content: attr(data-replace);
    top: 0;
    height: 100%;
    color: var(--service-accent);
    font-weight: 500;
    letter-spacing: .045em;
    transform: translate3d(200%, 0, 0);
    transform-origin: 100% 50%;
    transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1);
}

.service-summary .service-link:hover::before {
    transform: scaleX(1);
    transform-origin: 0% 50%;
}

.service-summary .service-link:hover::after {
    transform: translate3d(0, 0, 0);
}

.service-summary .service-link strong {
    display: inline-block;
    transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1);
}

.service-summary .service-link:hover strong {
    transform: translate3d(-200%, 0, 0);
}
