/* assets/contact-v2.css */

/* Contact redesign: editorial, line-based layout without card-heavy UI. */
body.light-theme #contact.contact{
    padding-top:clamp(4.75rem,7vw,7.25rem)!important;
    padding-bottom:clamp(2.75rem,4.5vw,4.75rem)!important;
}
body.light-theme #contact .contact-v2{
    display:grid;
    grid-template-columns:minmax(0,1.16fr) minmax(360px,.84fr);
    gap:clamp(3rem,7vw,7.5rem);
    align-items:end;
    padding-bottom:clamp(2.5rem,4vw,4rem);
    border-bottom:1px solid var(--line);
}
body.light-theme #contact .contact-v2-intro{
    min-width:0;
}
body.light-theme #contact .contact-v2-intro .section-kicker{
    margin:0 0 clamp(1.35rem,2vw,2rem)!important;
}
body.light-theme #contact .contact-v2 h2{
    max-width:970px;
    margin:0!important;
    color:var(--text)!important;
    font-size:clamp(3.2rem,5.2vw,6.25rem)!important;
    font-weight:500!important;
    line-height:.98!important;
    letter-spacing:-.062em!important;
    text-wrap:balance;
}
body.light-theme #contact .contact-v2 h2 span{
    display:block;
}
body.light-theme #contact .contact-v2 h2 span+span{
    margin-top:.09em;
}
body.light-theme #contact .contact-v2-copy{
    max-width:760px;
    margin:clamp(1.5rem,2.4vw,2.2rem) 0 0;
    color:var(--muted);
    font-size:clamp(1rem,1.2vw,1.16rem);
    line-height:1.7;
}
body.light-theme #contact .contact-v2-direct{
    min-width:0;
    border-top:1px solid var(--line-strong);
}
body.light-theme #contact .contact-v2-direct-label{
    margin:0;
    padding:0 0 .85rem;
    color:var(--quiet);
    font-size:.69rem;
    font-weight:650;
    letter-spacing:.11em;
    text-transform:uppercase;
}
body.light-theme #contact .contact-v2-link{
    display:grid;
    grid-template-columns:minmax(76px,105px) minmax(0,1fr) 1.2rem;
    gap:1rem;
    align-items:center;
    min-height:86px;
    padding:1.1rem 0;
    border:0;
    border-bottom:1px solid var(--line);
    border-radius:0!important;
    background:transparent!important;
    color:var(--text)!important;
    text-decoration:none;
    box-shadow:none!important;
    transition:color .2s ease, padding-left .25s ease, border-color .2s ease;
}
body.light-theme #contact .contact-v2-link-label{
    color:var(--quiet);
    font-size:.73rem;
    font-weight:650;
    letter-spacing:.08em;
    text-transform:uppercase;
}
body.light-theme #contact .contact-v2-link strong{
    min-width:0;
    overflow-wrap:anywhere;
    color:inherit;
    font-size:clamp(1.05rem,1.35vw,1.35rem);
    font-weight:650;
    letter-spacing:-.025em;
}
body.light-theme #contact .contact-v2-link-arrow{
    color:var(--quiet);
    font-size:1.15rem;
    transition:transform .22s ease,color .22s ease;
}
body.light-theme #contact .contact-v2-link:hover,
body.light-theme #contact .contact-v2-link:focus-visible{
    padding-left:.45rem;
    color:#285cc4!important;
    border-color:rgba(40,92,196,.42);
}
body.light-theme #contact .contact-v2-link:hover .contact-v2-link-arrow,
body.light-theme #contact .contact-v2-link:focus-visible .contact-v2-link-arrow{
    color:#285cc4;
    transform:translate(.16rem,-.16rem);
}
body.light-theme #contact .contact-v2-brief{
    display:grid;
    grid-template-columns:minmax(190px,.78fr) repeat(3,minmax(0,1fr));
    margin-top:clamp(1.6rem,2.8vw,2.5rem);
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
}
body.light-theme #contact .contact-v2-brief-intro,
body.light-theme #contact .contact-v2-step{
    min-width:0;
    padding:clamp(1.25rem,2vw,1.8rem) clamp(1.05rem,2vw,1.65rem);
}
body.light-theme #contact .contact-v2-brief-intro{
    padding-left:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
}
body.light-theme #contact .contact-v2-brief-intro span{
    color:var(--quiet);
    font-size:.72rem;
    line-height:1.45;
    letter-spacing:.08em;
    text-transform:uppercase;
}
body.light-theme #contact .contact-v2-brief-intro strong{
    margin-top:.2rem;
    color:var(--text);
    font-size:clamp(1.45rem,2.1vw,2.15rem);
    font-weight:550;
    letter-spacing:-.045em;
}
body.light-theme #contact .contact-v2-step{
    border-left:1px solid var(--line);
}
body.light-theme #contact .contact-v2-step>span{
    display:block;
    margin-bottom:.95rem;
    color:#285cc4;
    font-size:.68rem;
    font-weight:700;
    letter-spacing:.11em;
}
body.light-theme #contact .contact-v2-step strong{
    display:block;
    color:var(--text);
    font-size:1rem;
    font-weight:650;
    letter-spacing:-.02em;
}
body.light-theme #contact .contact-v2-step p{
    margin:.38rem 0 0;
    color:var(--muted);
    font-size:.82rem;
    line-height:1.55;
}
body.light-theme #contact .client-collaborations{
    margin-top:clamp(2.6rem,5vw,4.75rem)!important;
}

/* Long company labels remain legible in the film carousel. */
body.light-theme .reel-caption small{
    max-width:100%;
    white-space:normal;
    line-height:1.45;
}

@media (max-width:980px){
    body.light-theme #contact .contact-v2{
        grid-template-columns:1fr;
        gap:2.4rem;
        align-items:start;
    }
    body.light-theme #contact .contact-v2-direct{
        width:100%;
    }
    body.light-theme #contact .contact-v2-brief{
        grid-template-columns:1fr 1fr;
    }
    body.light-theme #contact .contact-v2-brief-intro{
        grid-column:1/-1;
        padding-left:0;
        border-bottom:1px solid var(--line);
    }
    body.light-theme #contact .contact-v2-step:nth-child(3){
        border-left:1px solid var(--line);
    }
    body.light-theme #contact .contact-v2-step:nth-child(4){
        grid-column:1/-1;
        border-left:0;
        border-top:1px solid var(--line);
    }
}
@media (max-width:620px){
    body.light-theme #contact.contact{
        padding-top:3.75rem!important;
        padding-bottom:2.5rem!important;
    }
    body.light-theme #contact .contact-v2{
        gap:2rem;
        padding-bottom:2.15rem;
    }
    body.light-theme #contact .contact-v2 h2{
        font-size:clamp(2.55rem,12vw,4rem)!important;
        line-height:1.01!important;
        letter-spacing:-.055em!important;
    }
    body.light-theme #contact .contact-v2-copy{
        margin-top:1.25rem;
        font-size:.96rem;
        line-height:1.65;
    }
    body.light-theme #contact .contact-v2-link{
        grid-template-columns:70px minmax(0,1fr) 1rem;
        gap:.65rem;
        min-height:74px;
        padding:.9rem 0;
    }
    body.light-theme #contact .contact-v2-link strong{
        font-size:.96rem;
    }
    body.light-theme #contact .contact-v2-brief{
        grid-template-columns:1fr;
        margin-top:1.4rem;
    }
    body.light-theme #contact .contact-v2-brief-intro{
        grid-column:auto;
        padding:1.1rem 0 1.2rem;
    }
    body.light-theme #contact .contact-v2-step,
    body.light-theme #contact .contact-v2-step:nth-child(3),
    body.light-theme #contact .contact-v2-step:nth-child(4){
        grid-column:auto;
        border-left:0;
        border-top:1px solid var(--line);
        padding:1.15rem 0;
    }
    body.light-theme #contact .contact-v2-step:first-of-type{
        border-top:0;
    }
}

/* assets/homepage-opening.css */
/* Homepage opening: measured film tiles leave room for the client strip
   and portfolio cue in the first screen, on desktop and mobile. */
html.rp-homepage-stable-scroll { overflow-anchor: none; }
html body.light-theme .portfolio-intro [data-reel-showcase="portfolio"] {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
    transform: none;
}
html body.light-theme .portfolio-intro .reel-viewport {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding-inline: 0;
    overflow: hidden;
    contain: inline-size;
    overscroll-behavior-x: contain;
}
html body.light-theme .portfolio-intro .rp-reel-toolbar { display:none!important; }

/* Keep the second heading line mounted at the same height while the words
   are erased, typed or reduced in size. Its animation must not move the page. */
html body.light-theme .portfolio-intro .hero-rotating-line {
    height: 1.06em;
    min-height: 1.06em;
    line-height: 1.06;
    vertical-align: top;
    white-space: nowrap !important;
}

@media (min-width: 981px) {
    html body.light-theme .portfolio-intro {
        --rp-opening-card-width: clamp(144px, 18vw, 480px);
        /* Progressive fallback; JS measures the real header offset and captions.
           This is a floor, never a fixed clipping height. */
        box-sizing: border-box;
        min-height: calc(100vh - var(--rp-opening-top, 81px));
        min-height: calc(100svh - var(--rp-opening-top, 81px));
        --rp-opening-gap: clamp(14px, 1.05vw, 24px);
        display: block;
        width: 100%;
        max-width: none;
        min-width: 0;
        padding: clamp(45px, 5.2vw, 82px) 0 clamp(28px, 3.6vh, 56px);
    }
    /* Heading size, kicker and intro spacing deliberately use editorial-light.css.
       In particular, do not bring back the short-window side-by-side rail. */
    html body.light-theme .portfolio-intro .intro-layout,
    html body.light-theme .portfolio-intro .intro-layout > div { min-width: 0; }
    html body.light-theme .portfolio-intro .hero-rotating-line { min-height:1.06em; }
    html body.light-theme .portfolio-intro .reel-group {
        gap: var(--rp-opening-gap);
        padding-right: var(--rp-opening-gap);
        align-items: flex-start;
    }
    html body.light-theme .portfolio-intro [data-reel-showcase="portfolio"] .reel-card {
        width: max(var(--rp-opening-card-width),var(--rp-reel-min-width,0px)) !important;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    html body.light-theme .portfolio-intro .reel-picture { width:100%; aspect-ratio:9/16; }
    html body.light-theme .portfolio-intro .reel-caption {
        padding: clamp(8px, 1.1vh, 14px) 2px 0;
        width: 100%;
        min-width: 0;
    }
    html body.light-theme .portfolio-intro .reel-caption small {
        font-size: clamp(9px,.65vw,12px);
        line-height: 1.4;
        margin-bottom: 4px;
        letter-spacing: .075em;
        overflow-wrap: anywhere;
    }
    html body.light-theme .portfolio-intro .reel-caption strong {
        font-size: clamp(12px,.84vw,16px);
        line-height: 1.4;
        overflow-wrap: anywhere;
    }
    html body.light-theme .portfolio-intro .clients--featured {
        padding: clamp(10px,1.3vh,26px) 0 clamp(12px,1.6vh,32px)!important;
    }
    html body.light-theme .portfolio-intro .clients--featured::before {
        width: min(calc(100% - 96px),var(--desktop-content,1320px));
        height: 1px;
        margin: 0 auto clamp(12px,1.4vh,24px);
        background: linear-gradient(90deg,transparent 0%,rgba(25,28,32,.08) 5%,rgba(25,28,32,.18) 18%,rgba(25,28,32,.18) 82%,rgba(25,28,32,.08) 95%,transparent 100%);
    }
    html[data-theme="dark"] body.light-theme .portfolio-intro .clients--featured::before {
        background: linear-gradient(90deg,transparent 0%,rgba(244,247,251,.06) 5%,rgba(244,247,251,.18) 18%,rgba(244,247,251,.18) 82%,rgba(244,247,251,.06) 95%,transparent 100%);
    }
    html body.light-theme .portfolio-intro .clients--featured .client-logo {
        min-height: clamp(76px,10vh,140px)!important;
        padding: clamp(6px,.8vh,14px) 14px!important;
        gap:6px!important;
    }
    html body.light-theme .portfolio-intro .clients--featured .client-logo img { height:clamp(32px,4.2vh,64px)!important; }
    html body.light-theme .portfolio-intro .clients--featured .client-logo-name {
        font-size:clamp(10px,.7vw,14px)!important;
        line-height:1.2!important;
        min-height:2.4em!important;
    }
    html body.light-theme .portfolio-intro .clients--featured .client-collaborations-header { margin-bottom:10px!important; }
}
@media (min-width:1700px) {
    /* Exact original desktop spacing rule, before the first-screen-fit revisions. */
    html body.light-theme .portfolio-intro { padding-top:clamp(72px,4.4vw,150px); }
}

/* Longer brand-focused phrases keep the same single-line rhythm without
   colliding with the intro copy in the right column. */
html body.light-theme .portfolio-intro .hero-rotating-text {
    transition: font-size 180ms ease, letter-spacing 180ms ease;
}
html body.light-theme .portfolio-intro .hero-rotating-text.is-long {
    font-size: .66em;
    letter-spacing: -.045em;
}
html body.light-theme .portfolio-intro .hero-rotating-text.is-xlong {
    font-size: .56em;
}

@media (max-width:680px) {
    html body.light-theme .portfolio-intro .hero-rotating-text.is-long { font-size:.62em; }
    html body.light-theme .portfolio-intro .hero-rotating-text.is-xlong { font-size:.52em; }
}

@media (prefers-reduced-motion:reduce) {
    html body.light-theme .portfolio-intro .hero-rotating-text { transition:none; }
}

/* The first-screen cue belongs to the content flow directly below the client
   logos. It stays unboxed and the opening-height calculation makes room for it. */
.rp-scroll-cue {
    position: relative;
    z-index: 2;
    display: flex;
    width: max-content;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    max-width: calc(100vw - 2rem);
    min-height: 2rem;
    margin: clamp(.85rem, 1.7vh, 1.25rem) auto clamp(.15rem, .7vh, .55rem);
    padding: .25rem 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #191c20;
    font-size: .7rem;
    font-weight: 650;
    letter-spacing: .055em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 1;
    transition: color 220ms ease, opacity 300ms ease;
}

.rp-scroll-cue-marks {
    display: inline-flex;
    align-items: center;
    gap: .08rem;
    min-width: 2.8rem;
}

.rp-scroll-cue-marks-right {
    justify-content: flex-end;
}

.rp-scroll-cue-mark {
    display: grid;
    width: 1.2rem;
    height: 1.35rem;
    place-items: center;
    border: 0;
    background: transparent;
    color: #285cc4;
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    animation: rp-scroll-cue-pulse 4.8s ease-in-out infinite;
}

@keyframes rp-scroll-cue-pulse {
    0%, 68%, 100% { opacity: .22; transform: translateY(-1px) scale(.92); }
    76%, 90% { opacity: 1; transform: translateY(3px) scale(1); }
}

.rp-scroll-cue:hover,
.rp-scroll-cue:focus-visible {
    color: #285cc4;
    background: transparent;
}

.rp-scroll-cue:hover .rp-scroll-cue-mark,
.rp-scroll-cue:focus-visible .rp-scroll-cue-mark {
    transform: translateY(2px);
}

.rp-scroll-cue.is-hidden {
    pointer-events: none;
    opacity: 0;
}

html[data-theme="dark"] .rp-scroll-cue {
    color: #b0b9c7;
    background: transparent;
    box-shadow: none;
}

html[data-theme="dark"] .rp-scroll-cue:hover,
html[data-theme="dark"] .rp-scroll-cue:focus-visible {
    color: #82b3ff;
    background: transparent;
}

html[data-theme="dark"] .rp-scroll-cue > .rp-scroll-cue-mark {
    background: transparent;
    color: #82b3ff;
}

@media (max-width: 680px) {
    .rp-scroll-cue {
        min-height: 2rem;
        margin-top: .75rem;
        font-size: .62rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rp-scroll-cue,
    .rp-scroll-cue > .rp-scroll-cue-mark { transition: none; animation: none; }
}

/* Mobile keeps both rails in the first viewport; the portfolio begins at the
   next screen. Tile width is measured from the space left after real text. */
@media (max-width: 980px) {
    html body.light-theme .portfolio-intro {
        --rp-opening-card-width: 150px;
        box-sizing: border-box;
        min-height: calc(100svh - var(--rp-opening-top, 73px));
        padding: 20px 0 8px !important;
    }
    html body.light-theme .portfolio-intro .intro-layout {
        gap: 14px !important;
        padding-bottom: 18px !important;
        min-width: 0;
    }
    html body.light-theme .portfolio-intro h1 {
        font-size: clamp(32px, 8.2vw, 48px) !important;
    }
    html body.light-theme .portfolio-intro .intro-summary {
        padding-bottom: 0 !important;
    }
    html body.light-theme .portfolio-intro .intro-summary > p {
        margin-bottom: 12px !important;
        font-size: 12px !important;
        line-height: 1.5 !important;
    }
    html body.light-theme .portfolio-intro .editorial-button {
        min-height: 44px !important;
        padding: 12px 16px !important;
        font-size: 11px !important;
        line-height: 1.3 !important;
    }
    html body.light-theme .portfolio-intro .reel-group {
        gap: 12px !important;
        padding-right: 12px !important;
        align-items: flex-start;
    }
    html body.light-theme .portfolio-intro [data-reel-showcase="portfolio"] .reel-card {
        width: max(var(--rp-opening-card-width),var(--rp-reel-min-width,0px)) !important;
    }
    html body.light-theme .portfolio-intro .reel-caption {
        padding: 7px 2px 0 !important;
        min-width: 0;
    }
    html body.light-theme .portfolio-intro .reel-caption > span {
        width: 100%;
        min-width: 0;
    }
    html body.light-theme .portfolio-intro .reel-caption small {
        display: block;
        margin-bottom: 3px !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 8px !important;
        line-height: 1.2 !important;
        letter-spacing: .05em !important;
    }
    html body.light-theme .portfolio-intro .reel-caption strong {
        display: -webkit-box;
        overflow: hidden;
        font-size: 11px !important;
        line-height: 1.25 !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
    html[data-theme] body.light-theme .portfolio-intro #clients.clients--featured {
        padding: 10px 0 0 !important;
    }
    html body.light-theme .portfolio-intro .clients--featured::before {
        margin-bottom: 10px !important;
    }
    html[data-theme] body.light-theme .portfolio-intro #clients.clients--featured .client-logo-row {
        column-gap: 14px !important;
    }
    html[data-theme] body.light-theme .portfolio-intro #clients.clients--featured .client-logos .client-logo-row .client-logo {
        flex-basis: 116px !important;
        width: 116px !important;
        min-width: 116px !important;
        min-height: 66px !important;
        padding: 4px 3px !important;
        gap: 4px !important;
    }
    html[data-theme] body.light-theme .portfolio-intro #clients.clients--featured .client-logos .client-logo-row .client-logo img {
        height: 32px !important;
        transform: none !important;
    }
    html[data-theme] body.light-theme .portfolio-intro #clients.clients--featured .client-logos .client-logo-row .client-logo-name {
        font-size: 9px !important;
        line-height: 1.2 !important;
    }
    html body.light-theme .portfolio-intro .rp-scroll-cue {
        min-height: 28px;
        margin: 6px auto 0 !important;
        padding: 2px 0;
        font-size: 9px;
    }
}
@media (max-width: 680px) and (max-height: 650px) {
    html body.light-theme .portfolio-intro { padding-top: 12px !important; }
    html body.light-theme .portfolio-intro .intro-layout { gap: 10px !important; padding-bottom: 12px !important; }
    html body.light-theme .portfolio-intro h1 { font-size: 29px !important; }
    html body.light-theme .portfolio-intro .intro-summary > p {
        display: -webkit-box;
        overflow: hidden;
        font-size: 11px !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }
}

/* assets/footer-vcard.css */
/* A single decisive mobile-first action. It echoes the angular contact button
   in the header and describes the benefit instead of the vCard file format. */
html[data-theme] body.light-theme .rp-footer .rp-footer-contact .rp-footer-vcard {
    position: relative;
    isolation: isolate;
    display: grid !important;
    grid-template-columns: 46px minmax(0, 1fr) 34px !important;
    gap: 13px;
    align-items: center;
    width: 100%;
    min-height: 94px;
    margin-top: 14px;
    padding: 14px !important;
    overflow: hidden;
    animation: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #182635 !important;
    color: #fff !important;
    box-shadow: 0 14px 34px rgba(24, 38, 53, .15) !important;
    text-decoration: none;
    transform: translateY(0);
    transition: background-color 190ms ease, box-shadow 190ms ease, transform 190ms ease !important;
}

html[data-theme] body.light-theme .rp-footer .rp-footer-contact .rp-footer-vcard::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: -1;
    display: block !important;
    width: auto !important;
    height: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: linear-gradient(115deg, rgba(255, 255, 255, .11), transparent 42%, rgba(86, 141, 216, .12)) !important;
    opacity: .72;
    transform: none !important;
    transition: opacity 190ms ease !important;
    pointer-events: none;
}

html[data-theme] body.light-theme .rp-footer .rp-footer-contact .rp-footer-vcard::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: #91b9f4;
    pointer-events: none;
}

html[data-theme] body.light-theme .rp-footer .rp-footer-contact .rp-footer-vcard-mark {
    position: relative;
    z-index: 1;
    display: grid !important;
    width: 46px;
    height: 46px;
    place-items: center;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

html[data-theme] body.light-theme .rp-footer .rp-footer-contact .rp-footer-vcard-mark svg {
    display: block;
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

html[data-theme] body.light-theme .rp-footer .rp-footer-contact .rp-footer-vcard-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 3px;
    min-width: 0;
}

html[data-theme] body.light-theme .rp-footer .rp-footer-contact .rp-footer-vcard-eyebrow {
    color: #a8c9f7;
    font-size: .56rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .14em;
}

html[data-theme] body.light-theme .rp-footer .rp-footer-contact .rp-footer-vcard-copy strong {
    color: #fff !important;
    font-size: .94rem !important;
    font-weight: 650;
    line-height: 1.22 !important;
    letter-spacing: -.015em;
    word-break: normal;
    overflow-wrap: normal;
}

html[data-theme] body.light-theme .rp-footer .rp-footer-contact .rp-footer-vcard-copy small {
    max-width: 30ch;
    color: rgba(255, 255, 255, .72) !important;
    font-size: .67rem !important;
    line-height: 1.38 !important;
    word-break: normal;
    overflow-wrap: normal;
}

html[data-theme] body.light-theme .rp-footer .rp-footer-contact .rp-footer-vcard-arrow {
    position: relative;
    z-index: 1;
    display: grid !important;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #182635 !important;
    font-size: 1rem;
    transition: color 190ms ease, background-color 190ms ease, transform 190ms ease;
}

html[data-theme] body.light-theme .rp-footer .rp-footer-contact .rp-footer-vcard:hover,
html[data-theme] body.light-theme .rp-footer .rp-footer-contact .rp-footer-vcard:focus-visible {
    background: #24415e !important;
    color: #fff !important;
    box-shadow: 0 18px 40px rgba(24, 38, 53, .2) !important;
    transform: translateY(-2px) !important;
}

html[data-theme] body.light-theme .rp-footer .rp-footer-contact .rp-footer-vcard:hover::before,
html[data-theme] body.light-theme .rp-footer .rp-footer-contact .rp-footer-vcard:focus-visible::before {
    opacity: 1;
}

html[data-theme] body.light-theme .rp-footer .rp-footer-contact .rp-footer-vcard:hover .rp-footer-vcard-arrow,
html[data-theme] body.light-theme .rp-footer .rp-footer-contact .rp-footer-vcard:focus-visible .rp-footer-vcard-arrow {
    background: #a8c9f7 !important;
    color: #172536 !important;
    transform: translateX(2px);
}

html[data-theme] body.light-theme .rp-footer .rp-footer-contact .rp-footer-vcard:active {
    transform: translateY(0) !important;
}

@media (max-width: 700px) {
    html[data-theme] body.light-theme .rp-footer .rp-footer-contact .rp-footer-vcard {
        grid-template-columns: 44px minmax(0, 1fr) 34px !important;
        min-height: 90px;
        margin-top: 12px;
        padding: 13px !important;
    }

    html[data-theme] body.light-theme .rp-footer .rp-footer-contact .rp-footer-vcard-mark {
        width: 44px;
        height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html[data-theme] body.light-theme .rp-footer .rp-footer-contact .rp-footer-vcard,
    html[data-theme] body.light-theme .rp-footer .rp-footer-contact .rp-footer-vcard::before,
    html[data-theme] body.light-theme .rp-footer .rp-footer-contact .rp-footer-vcard-arrow {
        transition: none !important;
    }
}

html[data-theme] body.light-theme .rp-footer .rp-footer-contact .rp-footer-vcard-copy :is(strong, small) {
    white-space: normal;
    overflow-wrap: anywhere;
    hyphens: auto;
}
html[data-theme] body.light-theme .rp-footer .rp-footer-contact .rp-footer-vcard-eyebrow {
    overflow-wrap: anywhere;
}
