/* Figma 1:16. Loaded only by the Tony Calvis draft (page 4722). */
/* Hero intro: Figma SUTp9oNeMZAvRsD8zkgX1Q / 1:17 uses a 622px text column. */
.page-id-4722 .hero-wrapper .content > div > .mt-20 {
    max-width: 622px;
}

@font-face {
    font-family: "Tony Expertise Garamond";
    src: url("tony-expertise-serif.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

.tc-expertise {
    --tc-ink: #231f20;
    --tc-paper: #fff;
    --tc-elevation: 0 4px 50px rgb(0 0 0 / 13%);
    --tc-step: 89px;
    --tc-card-min-height: 400px;
    --tc-serif: "Tony Expertise Garamond", var(--font-EBGaramond);
    padding: clamp(64px, 7.32vw, 120px) clamp(24px, 7.32vw, 120px);
    background: var(--white-600, #f8f6f3);
    color: var(--tc-ink);
    overflow: hidden;
}

.tc-expertise__inner {
    max-width: 1400px;
    margin-inline: auto;
}

.tc-expertise .tc-expertise__heading {
    margin: 0 0 50px;
    color: var(--tc-ink);
    font-family: var(--tc-serif);
    font-size: clamp(38px, 3.78vw, 62px);
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    text-wrap: balance;
    font-feature-settings: "liga" 0;
}

.tc-expertise__intro {
    margin: -24px auto 50px;
    max-width: 66ch;
    text-align: center;
}

.tc-deck-stage {
    position: relative;
    isolation: isolate;
    perspective: 1800px;
    perspective-origin: center 35%;
}

.tc-deck-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: var(--tc-card-min-height);
    margin: 0 0 32px;
    background: var(--tc-paper);
    box-shadow: var(--tc-elevation);
    transform-origin: center top;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.is-enhanced .tc-deck-card {
    position: absolute;
    inset: 0 0 auto;
    height: var(--tc-card-height);
    margin: 0;
    cursor: pointer;
}

.tc-deck-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    min-width: 0;
    padding: 48px;
    background: var(--tc-paper);
}

.is-enhanced .tc-deck-card:not(.is-front) .tc-deck-copy > * {
    visibility: hidden;
}

.tc-expertise .tc-deck-copy h3 {
    margin: 0;
    color: var(--tc-ink);
    font: 400 clamp(32px, 2.69vw, 44px) / 1.18636 var(--tc-serif);
    font-feature-settings: "liga" 0;
    text-wrap: balance;
    overflow-wrap: break-word;
}

.tc-expertise .tc-deck-body {
    font: 400 18px / 1.7 var(--font-Inter, "Inter", sans-serif);
}

.tc-expertise .tc-deck-body p {
    margin: 0 0 16px;
    font: inherit;
}

.tc-expertise .tc-deck-body > :last-child {
    margin-bottom: 0;
}

.tc-deck-media {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: var(--white-700, #e7e0d7);
}

.tc-deck-media picture {
    display: contents;
}

.tc-deck-media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tc-deck-controls {
    display: none;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 28px;
}

.is-enhanced .tc-deck-controls {
    display: flex;
}

.tc-expertise .tc-deck-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--tc-ink);
    font: 400 14px / 1.4 var(--font-Inter, "Inter", sans-serif);
    text-transform: none;
    cursor: pointer;
    transition: background-color 150ms ease;
}

.tc-expertise .tc-deck-control:hover {
    background: var(--white-700, #e7e0d7);
}

.tc-expertise .tc-deck-control:focus-visible {
    outline: 2px solid var(--tc-ink);
    outline-offset: 3px;
}

.tc-expertise .tc-deck-control:disabled {
    opacity: .45;
    cursor: default;
}

.tc-expertise .tc-deck-control[hidden] {
    display: none;
}

.tc-deck-control svg {
    flex: none;
}

.tc-deck-status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

body:not(.page-id-4956) .tc-expertise ::selection {
    color: var(--tc-ink);
    background: var(--white-700, #e7e0d7);
}

@media (max-width: 1199px) {
    .tc-expertise { --tc-step: 64px; }
    .tc-deck-copy { padding: 32px; }
}

@media (max-width: 767px) {
    .tc-expertise {
        --tc-step: 32px;
        --tc-card-min-height: 0px;
        padding: 60px 24px;
    }
    .tc-expertise .tc-expertise__heading { margin-bottom: 32px; }
    .tc-deck-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr 200px; }
    .tc-deck-copy { padding: 28px 24px; gap: 16px; }
    .tc-expertise .tc-deck-copy h3 { font-size: 32px; }
    .tc-expertise .tc-deck-body { font-size: 16px; line-height: 1.65; }
    .tc-deck-media { height: 200px; }
    .tc-deck-controls { margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .tc-deck-stage { perspective: none; }
    .tc-expertise .tc-deck-control { transition: none; }
}
