/* Scroll owns the sequence. The tall section provides native scroll travel. */
/* Clip horizontal overspill without creating an ancestor scroll container. */
body.page-id-4722,
body.page-id-4722 #tophead {
    overflow-x: clip;
    overflow-y: visible;
}

/* Use the original exterior photo with the facade centered in the section. */
body.page-id-4722 .scf-wrapper.bg-image {
    background-position: center 55%;
}

/* Static story grid; move the complete desktop row together. */
body.page-id-4722 .hero-wrapper {
    overflow: visible;
    z-index: 1;
}

body.page-id-4722 #tc-hero-stories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
    position: relative;
    transform: translateY(var(--tc-hero-card-shift, 0px));
}

body.page-id-4722 #tc-hero-stories .hgs-item {
    min-width: 0;
    background: rgb(255 255 255 / 90%);
    padding: 1.5rem;
}

body.page-id-4722 #tc-hero-stories .hgs-item h5 {
    color: var(--granite-gray);
    font-family: var(--font-Inter);
    font-size: .875rem;
    font-weight: var(--weight-Medium);
    text-transform: uppercase;
    text-align: left;
}

body.page-id-4722 #tc-hero-stories .hgs-item h3 {
    font-family: var(--font-Inter);
    font-size: 1.25rem;
    font-weight: var(--weight-Medium);
}

body.page-id-4722 #tc-hero-stories .hgs-item p {
    font-family: var(--font-Inter);
    font-size: 1rem;
    line-height: 1.4;
    color: var(--dim-gray);
}

/* Lift the complete intro 40px without changing hero or story-row geometry.
   Keep the subject in frame while the separate phone layout remains intact. */
@media (min-width: 1024px) {
    body.page-id-4722 .hero-wrapper {
        background-position: 72% center;
    }
    body.page-id-4722 .hero-wrapper .content > div {
        position: relative;
        top: calc(var(--tc-hero-card-shift, 0px) + 40px - clamp(32px, 3vw, 48px));
    }
}

/* The portrait's focal point is 72% across the original photo. Keep the
   supporting text in the open left half at narrower desktop/tablet widths. */
@media (min-width: 1024px) and (max-width: 1199px) {
    body.page-id-4722 .hero-wrapper .content .mt-20 {
        max-width: 50%;
    }
}

@media (min-width: 1024px) {
    body.page-id-4722 #tc-hero-stories { padding-right: 1px; }
    body.page-id-4722 #tc-hero-stories .hgs-item { padding: 2.25rem; }
    body.page-id-4722 #tc-hero-stories .hgs-item h5 { font-size: 1rem; }
    body.page-id-4722 #tc-hero-stories .hgs-item h3 { font-size: 1.625rem; }
    body.page-id-4722 #tc-hero-stories .hgs-item p { font-size: 1.125rem; line-height: 1.6; }
}

/* Keep the portrait-first hero through tablet widths. The photograph and
   content offset share one height; desktop overlap starts at 1024px. */
@media (max-width: 1023px) {
    body.page-id-4722 .hero-wrapper {
        --tc-mobile-portrait-height: max(clamp(400px, 74vw, 540px), 66.667vw);
        --tc-mobile-portrait-top: clamp(72px, 12vw, 96px);
        background-image: none;
    }
    body.page-id-4722 .hero-wrapper .mobile-view-bg {
        position: absolute;
        inset: 0 0 auto;
        height: calc(var(--tc-mobile-portrait-height) + var(--tc-mobile-portrait-top));
        background-size: auto var(--tc-mobile-portrait-height);
        background-position: 35% bottom;
        background-repeat: no-repeat;
        background-color: #aaa9a7;
        z-index: 1;
    }
    body.page-id-4722 .hero-wrapper .bgc-layer {
        padding-top: calc(var(--tc-mobile-portrait-top) + var(--tc-mobile-portrait-height) * .64);
        padding-bottom: 0;
    }
    body.page-id-4722 .hero-wrapper .max-screen-2lg { padding: 0; }
    body.page-id-4722 .hero-wrapper .content {
        padding-block: 0;
        padding-left: max(24px, env(safe-area-inset-left));
        padding-right: max(24px, env(safe-area-inset-right));
    }
    body.page-id-4722 .hero-wrapper .content > div {
        top: auto;
        padding: 20px;
        background-color: rgb(255 255 255 / 90%);
        text-align: center;
    }
    body.page-id-4722 .hero-wrapper .content > div > .mt-20,
    body.page-id-4722 .hero-wrapper .content h6 {
        max-width: none;
    }
    body.page-id-4722 .hero-wrapper h6 br {
        display: block;
    }
    body.page-id-4722 .hero-wrapper :is(h1, h5, h6, p) {
        color: var(--black);
    }
    body.page-id-4722 #tc-hero-stories {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-top: 20px;
        margin-left: max(24px, env(safe-area-inset-left));
        margin-right: max(24px, env(safe-area-inset-right));
    }
}

.tc-expertise[data-tc-scroll-section] [data-tc-scroll-deck] .tc-deck-card {
    cursor: default;
}

/* Keep elevation on the stationary stage, never on the animated cards. */
body.page-id-4722 .tc-expertise .tc-deck-card {
    box-shadow: none;
    clip-path: none;
}

body.page-id-4722 .tc-expertise .tc-deck-card::after {
    content: none;
}

/* Keep the stage shadow stationary and paint it below the bottom edge only. */
.tc-expertise[data-tc-scroll-section] .is-cover-deck .tc-deck-stage {
    overflow: visible;
    perspective: none;
    box-shadow: none;
}

body.page-id-4722 .tc-expertise .is-cover-deck .tc-deck-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 11;
    pointer-events: none;
    box-shadow: 0 12px 24px -8px rgb(0 0 0 / 13%);
    clip-path: inset(100% 0 -48px 0);
}

.tc-expertise[data-tc-scroll-section] .tc-cover-viewport {
    position: absolute;
    inset: 0 0 auto;
    height: var(--tc-card-height);
    z-index: 10;
    overflow: hidden;
    background: var(--white-600, #f8f6f3);
    pointer-events: none;
}

.tc-expertise[data-tc-scroll-section] .tc-cover-viewport[hidden] {
    display: none;
}

.tc-expertise[data-tc-scroll-section] .tc-cover-panel {
    transform-origin: center;
    box-shadow: none;
    pointer-events: none;
}

.tc-expertise[data-tc-scroll-section] .tc-cover-panel .tc-deck-copy > * {
    visibility: visible;
    opacity: 1;
}

.tc-expertise[data-tc-scroll-section] .is-covering [data-tc-stage] > [data-tc-card] .tc-deck-copy > * {
    opacity: 0;
}

.tc-expertise[data-tc-scroll-section] .is-covering .tc-cover-panel {
    will-change: transform, opacity;
}

.tc-expertise[data-tc-scroll-section].is-scroll-layout {
    --tc-step: clamp(24px, 5vh, 56px);
    --tc-card-min-height: clamp(320px, 40vh, 400px);
    padding-block: var(--tc-hero-overlap, 0px) 0;
    overflow: visible;
    position: relative;
}

.tc-expertise[data-tc-scroll-section].is-scroll-layout > .tc-expertise__inner {
    margin-top: 60px;
    padding-block: 24px;
}

.tc-expertise[data-tc-scroll-section].is-scroll-pinned > .tc-expertise__inner {
    position: sticky;
    top: var(--tc-pin-top, 96px);
}

.tc-expertise[data-tc-scroll-section].is-scroll-layout .tc-expertise__heading {
    margin-bottom: 24px;
}

.tc-expertise[data-tc-scroll-section].is-scroll-layout .tc-deck-copy {
    padding: clamp(24px, 3vw, 48px);
}

.tc-expertise[data-tc-scroll-section].is-scroll-layout .tc-deck-controls {
    margin-top: 16px;
    gap: 8px;
}



.tc-expertise[data-tc-scroll-section] .tc-deck-control[aria-disabled="true"] {
    opacity: .45;
    cursor: default;
}

@media (max-height: 900px) {
    .tc-expertise[data-tc-scroll-section].is-scroll-layout .tc-expertise__heading {
        font-size: clamp(34px, 3.1vw, 50px);
    }
}

@media (min-width: 768px) and (max-height: 800px) {
    .tc-expertise[data-tc-scroll-section].is-scroll-layout {
        --tc-step: 24px;
        --tc-card-min-height: 280px;
    }
    .tc-expertise[data-tc-scroll-section].is-scroll-layout .tc-expertise__inner { padding-block: 12px; }
    .tc-expertise[data-tc-scroll-section].is-scroll-layout .tc-expertise__heading {
        font-size: clamp(34px, 3.1vw, 44px);
        margin-bottom: 16px;
    }
    .tc-expertise[data-tc-scroll-section].is-scroll-layout .tc-deck-copy { padding: clamp(24px, 2.4vw, 36px); }
    .tc-expertise[data-tc-scroll-section].is-scroll-layout .tc-deck-controls { margin-top: 12px; }
}

@media (max-width: 767px) {
    .tc-expertise[data-tc-scroll-section].is-scroll-layout {
        --tc-step: 24px;
        --tc-card-min-height: 0px;
    }
    .tc-expertise[data-tc-scroll-section].is-scroll-layout .tc-expertise__inner {
        margin-top: 32px;
        padding-block: 16px;
    }
    .tc-expertise[data-tc-scroll-section].is-scroll-layout .tc-expertise__heading {
        font-size: 34px;
        margin-bottom: 16px;
    }
    .tc-expertise[data-tc-scroll-section].is-scroll-layout .tc-deck-copy {
        padding: 20px 24px;
    }
    .tc-expertise[data-tc-scroll-section].is-scroll-layout .tc-deck-copy h3 {
        font-size: 30px;
    }
    .tc-expertise[data-tc-scroll-section].is-scroll-layout .tc-deck-card {
        grid-template-rows: 1fr 160px;
    }
    .tc-expertise[data-tc-scroll-section].is-scroll-layout .tc-deck-media {
        height: 160px;
    }
    .tc-expertise[data-tc-scroll-section].is-scroll-layout .tc-deck-controls {
        margin-top: 12px;
    }
    .tc-expertise[data-tc-scroll-section].is-scroll-layout .tc-deck-control {
        padding-inline: 6px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tc-expertise[data-tc-scroll-section].is-scroll-pinned > .tc-expertise__inner {
        position: relative;
        top: auto;
    }
}

/* Anchor the play overlay to the full, stretched media image column. */
body.page-id-4722 .tcmedia-image > .video-img-caption {
    position: static;
}

/* The stationary rail sits in the page gutter, outside the animated card face. */
body.page-id-4722 .tc-expertise .tc-deck-scrollbar {
    position: absolute;
    z-index: 12;
    top: 36px;
    bottom: 36px;
    left: -48px;
    width: 32px;
    min-height: 64px;
    cursor: pointer;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

body.page-id-4722 .tc-expertise .tc-deck-scrollbar[hidden] {
    display: none;
}

body.page-id-4722 .tc-expertise .tc-deck-scrollbar::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 13px;
    width: 5px;
    background: #e8e8e8;
}

body.page-id-4722 .tc-expertise .tc-deck-scrollbar__thumb {
    position: absolute;
    top: 0;
    left: 13px;
    width: 5px;
    height: 25%;
    min-height: 32px;
    background: #000;
    cursor: grab;
}

body.page-id-4722 .tc-expertise .tc-deck-scrollbar.is-dragging,
body.page-id-4722 .tc-expertise .tc-deck-scrollbar.is-dragging .tc-deck-scrollbar__thumb {
    cursor: grabbing;
}

body.page-id-4722 .tc-expertise .tc-deck-scrollbar:focus-visible {
    outline: 2px solid #000;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    body.page-id-4722 .tc-expertise .tc-deck-scrollbar {
        /* Keep the visible rail within the existing 24px mobile gutter. */
        left: -24px;
        top: 24px;
        bottom: 184px;
    }
}

/* Tony portfolio cards: one link spans each image and its complete text panel. */
body.page-id-4722 .tc-gallery-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    background: #fff;
    color: #231f20;
    text-decoration: none;
}

body.page-id-4722 a.tc-gallery-card:hover,
body.page-id-4722 a.tc-gallery-card:focus-visible {
    color: #231f20;
    text-decoration: none;
}

body.page-id-4722 a.tc-gallery-card:focus-visible {
    outline: 2px solid #231f20;
    outline-offset: -2px;
}

body.page-id-4722 .tc-gallery-card .tpgrid-text {
    display: flex;
    flex: 1;
    flex-direction: column;
}

body.page-id-4722 .tc-gallery-card__description p {
    color: #231f20;
    font-size: 18px;
    line-height: 1.7;
    text-transform: none;
}

body.page-id-4722 .tc-gallery-card__description p:last-child {
    margin-bottom: 0;
}

body.page-id-4722 .tc-gallery-card__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: auto;
    padding-top: 28px;
    color: #231f20;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
}

body.page-id-4722 .tc-gallery-card__cta svg {
    flex: 0 0 24px;
    width: 24px;
    height: 16px;
    transition: transform 200ms ease;
}

body.page-id-4722 a.tc-gallery-card:hover .tc-gallery-card__cta svg {
    transform: translateX(4px);
}

/* Use the section's full width so this desktop subtitle stays on one line. */
body.page-id-4722 .tcmedia-wrapper .section-title .title-text {
    max-width: none;
}

body.page-id-4722 .tcmedia-wrapper .section-title .title-text p {
    text-wrap: balance;
}

@media (prefers-reduced-motion: reduce) {
    body.page-id-4722 .tc-gallery-card__cta svg {
        transition: none;
    }
}

/* Full-page QA: preserve the composition while improving narrow layouts. */
body.page-id-4722 .tcmedia-mediacontent > div:has(> .media-link:focus-visible) {
    outline: 2px solid #231f20;
    outline-offset: 2px;
}
body.page-id-4722 .tcmedia-mediacontent > div,
body.page-id-4722 .tcmedia-mediacontent > div h3,
body.page-id-4722 .tcmedia-mediacontent > div p,
body.page-id-4722 .tcmedia-mediacontent .media-link-icon path {
    transition: background-color 180ms ease-out, color 180ms ease-out, fill 180ms ease-out;
}
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
    body.page-id-4722 .tcmedia-mediacontent > div:hover {
        background-color: #231f20;
    }
    body.page-id-4722 .tcmedia-mediacontent > div:hover h3,
    body.page-id-4722 .tcmedia-mediacontent > div:hover p {
        color: #fff;
    }
    body.page-id-4722 .tcmedia-mediacontent > div:hover .media-link-icon path {
        fill: #fff;
    }
}
@media (prefers-reduced-motion: reduce) {
    body.page-id-4722 .tcmedia-mediacontent > div,
    body.page-id-4722 .tcmedia-mediacontent > div h3,
    body.page-id-4722 .tcmedia-mediacontent > div p,
    body.page-id-4722 .tcmedia-mediacontent .media-link-icon path {
        transition: none;
    }
}
body.page-id-4722 .tcmedia-image .video-play-btn:focus-visible {
    outline: 2px solid #231f20;
    outline-offset: -4px;
}
body.page-id-4722 .tcmedia-image .video-play-btn:focus-visible > span {
    outline: 2px solid #fff;
    outline-offset: 4px;
}
body.page-id-4722 #showLeftPush,
body.page-id-4722 #closeLeftPush {
    min-width: 44px;
}
body.page-id-4722 #showLeftPush:focus-visible,
body.page-id-4722 #closeLeftPush:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
@media (min-width: 1024px) {
    body.page-id-4722 .tcmedia-content {
        display: grid;
        grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    body.page-id-4722 .tc-gallery-card .tpgrid-text {
        padding: 24px 20px;
    }
    body.page-id-4722 .tc-gallery-card .tpgrid-text h5 {
        font-size: 28px;
    }
    body.page-id-4722 .tc-gallery-card__description p {
        font-size: 16px;
    }
}
@media (max-width: 767px) {
    body.page-id-4722 .scf-wrapper .scf-form {
        padding: 28px 20px;
    }
    body.page-id-4722 .scf-form > h3 {
        font-size: clamp(22px, 6vw, 40px);
        line-height: 1.2;
    }
    /* Jotform's initial sizing works; this floor also protects orientation changes. */
    body.page-id-4722 .scf-form iframe {
        min-height: 420px;
    }
    body.page-id-4722 .tc-principles .tc-principle__trigger {
        min-height: 44px;
    }
    body.page-id-4722 .tc-principles .tc-principle__number {
        top: 28px;
    }
    body.page-id-4722 .tcmedia-mediacontent > div {
        padding: 24px;
    }
    body.page-id-4722 .tcmedia-mediacontent p {
        padding-right: 28px;
    }
}
@media (prefers-reduced-motion: reduce) {
    body.page-id-4722 .wow {
        visibility: visible !important;
        animation: none !important;
    }
}
body.page-id-4722 #oclu-slider .owl-nav button:focus-visible,
body.page-id-4722 #oclu-slider .owl-dot:focus-visible {
    outline: 2px solid #231f20;
    outline-offset: 2px;
}
body.page-id-4722 #oclu-slider .owl-dot {
    min-width: 44px;
    min-height: 44px;
}

/* Short landscape screens show the supplied full portrait with the intro below. */
@media (min-width: 560px) and (max-width: 1023px) and (max-height: 500px) and (orientation: landscape) {
    body.page-id-4722 .hero-wrapper {
        --tc-mobile-portrait-height: 66.666667vw;
        --tc-mobile-portrait-top: 0px;
        background-image: none;
        background-color: #aaa9a7;
    }
    body.page-id-4722 .hero-wrapper .mobile-view-bg {
        position: absolute;
        inset: var(--tc-mobile-portrait-top) 0 auto;
        height: var(--tc-mobile-portrait-height);
        background-image: url("https://www.calviswyant.com/wp-content/uploads/2026/11/tony-calvis-tablet.jpg");
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;
        background-color: #aaa9a7;
        z-index: 1;
    }
    body.page-id-4722 .hero-wrapper .bgc-layer {
        min-height: 0;
        padding-top: calc(var(--tc-mobile-portrait-top) + var(--tc-mobile-portrait-height));
        padding-bottom: 0;
    }
    body.page-id-4722 .hero-wrapper h1 {
        color: var(--black);
        font-size: 36px;
        line-height: 1.15;
    }
    body.page-id-4722 .hero-wrapper h6,
    body.page-id-4722 .hero-wrapper p {
        color: var(--black);
        font-size: 16px;
        line-height: 1.5;
    }
    body.page-id-4722 :is(.section-title, .block-title) > h2.text-1xl,
    body.page-id-4722 .tc-principles .tc-principles__heading,
    body.page-id-4722 .scf-form > h3 {
        font-size: 36px;
        line-height: 1.2;
    }
    body.page-id-4722 section.pd-60 {
        padding-block: 44px;
    }
    body.page-id-4722 .section-title.mb-50 {
        margin-bottom: 28px;
    }
    /* Decorative entrances must not leave a fast-scrolled section blank.
       Functional deck, principles and carousel controllers remain active. */
    body.page-id-4722 .wow {
        visibility: visible !important;
        animation: none !important;
    }
}

/* Taps must not leave informational tiles in the desktop hover state. */
@media (max-width: 1023px), (hover: none), (pointer: coarse) {
    body.page-id-4722 .wcw-grid .wcw-item:not(.bg-image):hover,
    body.page-id-4722 .cw-grid .cw-grid-item:not(.bg-image):hover {
        background-color: var(--white);
    }
    body.page-id-4722 .wcw-grid .wcw-item:not(.bg-image):hover .wcw-icon img,
    body.page-id-4722 .cw-grid .cw-grid-item:not(.bg-image):hover .cw-icon img {
        filter: none;
    }
    body.page-id-4722 .wcw-grid .wcw-item:not(.bg-image):hover :is(h3, p, li),
    body.page-id-4722 .cw-grid .cw-grid-item:not(.bg-image):hover :is(h3, p, li) {
        color: var(--raisin-black);
    }
}
body.page-id-4722 .wcw-grid .wcw-item:has(:focus-visible),
body.page-id-4722 .cw-grid .cw-grid-item:has(:focus-visible) {
    outline: 2px solid #231f20;
    outline-offset: 2px;
}

@media (max-width: 1023px), (hover: none), (pointer: coarse) {
    body.page-id-4722 a.tc-gallery-card:hover .tc-gallery-card__cta svg {
        transform: none;
    }
}
