.services-hero {
    position: relative;
    isolation: isolate;
    min-height: 660px;
    padding: 116px 0 72px;
    overflow: hidden;
    background:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px) 0 0 / 54px 54px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px) 0 0 / 54px 54px,
        radial-gradient(circle at 10% 12%, rgba(36, 81, 214, 0.34), transparent 29%),
        radial-gradient(circle at 88% 75%, rgba(255, 204, 0, 0.16), transparent 27%),
        #17191f;
    color: white;
}

.services-hero::before,
.services-hero::after {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.services-hero::before {
    width: 620px;
    height: 620px;
    top: -390px;
    right: 18%;
}

.services-hero::after {
    width: 330px;
    height: 330px;
    bottom: -220px;
    left: 12%;
}

.services-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.65fr);
    align-items: end;
    gap: clamp(50px, 8vw, 130px);
}

.services-hero__title {
    position: relative;
    isolation: isolate;
    padding: clamp(32px, 5vw, 64px) 0 clamp(22px, 3vw, 38px);
}

.services-hero__title::before {
    position: absolute;
    z-index: -1;
    top: 50%;
    right: -0.12em;
    color: transparent;
    content: "۰۸";
    font-family: "Vazirmatn", Tahoma, sans-serif;
    font-size: clamp(11rem, 18vw, 18rem);
    font-weight: 900;
    letter-spacing: -0.13em;
    line-height: 1;
    opacity: 0.55;
    transform: translateY(-50%);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.11);
}

.services-hero__title::after {
    position: absolute;
    top: 12px;
    left: 0;
    width: 64px;
    height: 64px;
    border-top: 1px solid rgba(255, 204, 0, 0.48);
    border-left: 1px solid rgba(255, 204, 0, 0.48);
    content: "";
}

.services-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.76rem;
    font-weight: 800;
}

.services-kicker i {
    width: 28px;
    height: 9px;
    border-radius: 999px;
    background: var(--yellow);
}

.services-kicker--dark {
    color: #70695b;
}

.services-hero h1 {
    position: relative;
    width: fit-content;
    max-width: 850px;
    display: flex;
    align-items: baseline;
    gap: clamp(0.08em, 1.2vw, 0.16em);
    margin: 18px 0 0;
    padding: 0 0.08em 0.12em;
    font-family: "Vazirmatn", Tahoma, sans-serif;
    font-size: clamp(4.5rem, 8.3vw, 8.2rem);
    font-weight: 900;
    letter-spacing: -0.085em;
    line-height: 1.08;
    white-space: nowrap;
    text-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.services-hero h1::after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 58%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(255, 204, 0, 0.35), var(--yellow));
    box-shadow: 0 0 26px rgba(255, 204, 0, 0.32);
    content: "";
}

.services-hero h1 em {
    position: relative;
    display: inline-block;
    color: var(--yellow);
    font-style: normal;
    font-weight: 900;
    letter-spacing: -0.105em;
    text-shadow: 0 0 34px rgba(255, 204, 0, 0.2);
}

.services-hero h1 em::after {
    position: absolute;
    right: 8%;
    bottom: 0.02em;
    width: 84%;
    height: 0.07em;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    content: "";
    opacity: 0.42;
    transform: rotate(-2deg);
}

.services-hero__mobile-break {
    display: none;
}

.services-hero__intro {
    padding-bottom: 15px;
}

.services-hero__quote {
    margin-bottom: 27px;
    padding-right: 20px;
    border-right: 2px solid rgba(255, 204, 0, 0.72);
}

.services-hero__quote p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.91rem;
    line-height: 2.15;
}

.services-hero__quote p + p {
    margin-top: 14px;
}

.services-hero__quote strong {
    display: block;
    font-weight: 600;
}

.services-hero__quote strong + strong {
    margin-top: 2px;
}

.services-hero__intro a {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.32);
    color: white;
    font-size: 0.82rem;
    font-weight: 800;
    transition: border-color 0.25s ease, gap 0.25s ease, color 0.25s ease;
}

.services-hero__intro a:hover {
    gap: 25px;
    border-color: var(--yellow);
    color: var(--yellow);
}

.services-hero__marquee {
    position: absolute;
    right: -2%;
    bottom: 0;
    left: -2%;
    height: 52px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.77rem;
    font-weight: 700;
    white-space: nowrap;
}

.services-hero__marquee span {
    min-width: max-content;
    animation: services-marquee 22s linear infinite alternate;
}

@keyframes services-marquee {
    to { transform: translateX(20%); }
}

.services-gallery {
    padding: 110px 0 130px;
    background:
        linear-gradient(rgba(41, 41, 41, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(41, 41, 41, 0.028) 1px, transparent 1px),
        var(--paper);
    background-size: 38px 38px;
}

.services-gallery__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 42px;
}

.services-gallery__heading h2 {
    margin: 12px 0 0;
    font-size: clamp(2.3rem, 5vw, 4.3rem);
    letter-spacing: -0.055em;
    line-height: 1.2;
}

.services-gallery__heading > p {
    margin-bottom: 11px;
    color: var(--muted);
    font-size: 0.82rem;
}

.services-mosaic {
    --mosaic-gap: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: dense;
    grid-auto-rows: 8px;
    gap: var(--mosaic-gap);
    align-items: stretch;
}

.service-tile {
    --pointer-x: 0;
    --pointer-y: 0;
    --service-reveal-y: 0px;
    --service-span: 23;
    position: relative;
    isolation: isolate;
    grid-row-end: span var(--service-span);
    width: 100%;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: clamp(22px, 2.5vw, 34px);
    background: #15171b;
    box-shadow: 0 19px 55px rgba(32, 29, 22, 0.13);
    color: white;
    cursor: pointer;
    text-align: right;
    transform: perspective(1200px)
        translateY(var(--service-reveal-y))
        rotateX(calc(var(--pointer-y) * -0.85deg))
        rotateY(calc(var(--pointer-x) * 0.85deg));
    transform-origin: center;
    transition: opacity 0.65s ease, box-shadow 0.45s ease, transform 0.65s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.service-tile--compact { height: 430px; --service-span: 18; }
.service-tile--tall { height: 560px; --service-span: 23; }
.service-tile--xl { height: 690px; --service-span: 28; }
.service-tile--wide {
    grid-column: 1 / -1;
    height: 520px;
    --service-span: 21;
}

.service-tile.reveal {
    --service-reveal-y: 28px;
    opacity: 0;
}

.service-tile.reveal.is-visible {
    --service-reveal-y: 0px;
    opacity: 1;
}

.service-tile:focus-visible {
    outline: 4px solid var(--yellow);
    outline-offset: 5px;
}

.service-tile:hover,
.service-tile:focus-visible {
    z-index: 2;
    box-shadow: 0 35px 90px rgba(19, 20, 24, 0.28);
    transform: perspective(1200px)
        translateY(calc(var(--service-reveal-y) - 8px))
        rotateX(calc(var(--pointer-y) * -1.3deg))
        rotateY(calc(var(--pointer-x) * 1.3deg));
}

.service-tile--ets:hover,
.service-tile--ets:focus-visible {
    box-shadow: 0 34px 90px rgba(44, 168, 231, 0.28), 0 0 0 1px rgba(89, 255, 0, 0.34);
}

.service-tile__media,
.service-tile__veil {
    position: absolute;
    inset: 0;
}

.service-tile__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.012);
    transition: filter 0.55s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-tile--ets .service-tile__media img {
    object-position: center 12%;
}

.service-tile--wide .service-tile__media img {
    object-position: center 52%;
}

.service-tile:hover .service-tile__media img,
.service-tile:focus-visible .service-tile__media img {
    filter: saturate(1.08) contrast(1.02);
    transform: scale(1.07);
}

.service-tile__veil {
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(7, 8, 11, 0.32), transparent 30%),
        linear-gradient(0deg, rgba(7, 8, 11, 0.9), rgba(7, 8, 11, 0.05) 56%);
    transition: opacity 0.45s ease;
}

.service-tile--ets .service-tile__veil {
    background:
        linear-gradient(180deg, rgba(7, 18, 29, 0.42), transparent 32%),
        linear-gradient(0deg, rgba(7, 18, 29, 0.95), rgba(7, 18, 29, 0.04) 62%);
}

.service-tile:hover .service-tile__veil,
.service-tile:focus-visible .service-tile__veil {
    opacity: 0.78;
}

.service-tile__topline,
.service-tile__caption {
    position: absolute;
    z-index: 2;
    right: clamp(20px, 3vw, 33px);
    left: clamp(20px, 3vw, 33px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-tile__topline {
    top: clamp(20px, 3vw, 31px);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.7rem;
    font-weight: 700;
}

.service-tile__topline b {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.23);
    border-radius: 50%;
    background: rgba(8, 9, 12, 0.18);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.service-tile--ets .service-tile__topline b {
    border-color: rgba(89, 255, 0, 0.38);
    color: #59ff00;
}

.service-tile__caption {
    bottom: clamp(21px, 3.5vw, 39px);
    gap: 25px;
    transform: translateY(5px);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-tile:hover .service-tile__caption,
.service-tile:focus-visible .service-tile__caption {
    transform: translateY(0);
}

.service-tile__caption strong {
    font-size: clamp(2rem, 4.25vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.065em;
    line-height: 1.15;
    text-shadow: 0 8px 25px rgba(0, 0, 0, 0.32);
}

.service-tile--ets .service-tile__caption strong {
    color: white;
    font-family: Arial, sans-serif;
    letter-spacing: -0.07em;
}

.service-tile__arrow {
    width: 54px;
    height: 54px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--ink);
    font-size: 1.35rem;
    font-weight: 900;
    transform: rotate(0deg);
    transition: background 0.3s ease, color 0.3s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-tile:hover .service-tile__arrow,
.service-tile:focus-visible .service-tile__arrow {
    background: white;
    transform: rotate(45deg);
}

.service-tile--ets .service-tile__arrow {
    background: #59ff00;
    color: #07121d;
}

.services-outro {
    padding: 0 0 120px;
    background: var(--paper);
}

.services-outro__card {
    position: relative;
    padding: clamp(35px, 6vw, 76px);
    overflow: hidden;
    border-radius: 36px;
    background: var(--ink);
    color: white;
}

.services-outro__card::after {
    position: absolute;
    width: 300px;
    height: 300px;
    bottom: -190px;
    left: 8%;
    border-radius: 50%;
    background: var(--blue);
    filter: blur(10px);
    opacity: 0.5;
    content: "";
}

.services-outro__card > span {
    color: var(--yellow);
    font-size: 0.78rem;
    font-weight: 800;
}

.services-outro__card h2 {
    max-width: 700px;
    margin: 12px 0 30px;
    font-size: clamp(2rem, 4.3vw, 4.1rem);
    line-height: 1.35;
}

.services-outro__card .button {
    position: relative;
    z-index: 1;
}

body.has-service-dialog {
    overflow: hidden;
}

.service-dialog {
    --dialog-accent: var(--yellow);
    --dialog-accent-2: var(--blue);
    width: min(960px, calc(100% - 34px));
    max-width: none;
    height: min(890px, calc(100dvh - 38px));
    max-height: none;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 32px;
    background: transparent;
    box-shadow: 0 34px 120px rgba(0, 0, 0, 0.46);
    color: var(--ink);
}

.service-dialog--ets {
    --dialog-accent: #59ff00;
    --dialog-accent-2: #59c8ff;
}

.service-dialog::backdrop {
    background: rgba(8, 9, 13, 0.74);
    -webkit-backdrop-filter: blur(14px) saturate(0.8);
    backdrop-filter: blur(14px) saturate(0.8);
}

.service-dialog[open] {
    animation: service-dialog-in 0.46s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes service-dialog-in {
    from { opacity: 0; transform: translateY(35px) scale(0.965); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.service-dialog__shell,
.service-dialog__scroller {
    height: 100%;
}

.service-dialog__shell {
    position: relative;
    overflow: hidden;
    border-radius: inherit;
    background: #fffaf0;
}

.service-dialog--ets .service-dialog__shell {
    background: #07121d;
    color: white;
}

.service-dialog__scroller {
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(41, 41, 41, 0.28) transparent;
}

.service-dialog__close {
    position: absolute;
    z-index: 5;
    top: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    background: rgba(8, 9, 12, 0.33);
    color: white;
    cursor: pointer;
    -webkit-backdrop-filter: blur(13px);
    backdrop-filter: blur(13px);
    transition: background 0.25s ease, transform 0.25s ease;
}

.service-dialog__close span {
    font-size: 1.65rem;
    font-weight: 300;
    line-height: 1;
}

.service-dialog__close:hover,
.service-dialog__close:focus-visible {
    background: var(--dialog-accent);
    color: #07121d;
    transform: rotate(7deg) scale(1.06);
}

.service-dialog__hero {
    position: relative;
    isolation: isolate;
    height: 455px;
    overflow: hidden;
    background: #12151b;
}

.service-dialog__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
}

.service-dialog--ets .service-dialog__hero img {
    object-position: center 8%;
}

.service-dialog__hero-shade {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 8, 11, 0.12), rgba(7, 8, 11, 0.85));
}

.service-dialog--ets .service-dialog__hero-shade {
    background:
        linear-gradient(90deg, rgba(89, 200, 255, 0.08), transparent 42%),
        linear-gradient(180deg, rgba(7, 18, 29, 0.08), rgba(7, 18, 29, 0.92));
}

.service-dialog__hero-copy {
    position: absolute;
    z-index: 2;
    right: clamp(25px, 6vw, 65px);
    bottom: clamp(27px, 5vw, 53px);
    left: clamp(25px, 6vw, 65px);
    color: white;
}

.service-dialog__hero-copy > span {
    color: var(--dialog-accent);
    font-size: 0.78rem;
    font-weight: 800;
}

.service-dialog__hero-copy h2 {
    margin: 8px 0 0;
    font-size: clamp(3.3rem, 8vw, 6.7rem);
    font-weight: 900;
    letter-spacing: -0.07em;
    line-height: 1.05;
}

.service-dialog--ets .service-dialog__hero-copy h2 {
    font-family: Arial, sans-serif;
    letter-spacing: -0.065em;
}

.service-dialog__content {
    padding: clamp(34px, 6vw, 70px);
}

.service-dialog__story {
    display: grid;
    grid-template-columns: minmax(180px, 0.52fr) minmax(0, 1fr);
    column-gap: clamp(30px, 6vw, 75px);
}

.service-dialog__eyebrow {
    grid-row: 1 / span 2;
    padding-top: 9px;
    color: #817869;
    font-size: 0.72rem;
    font-weight: 800;
}

.service-dialog__eyebrow::before {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-left: 9px;
    border-radius: 50%;
    background: var(--dialog-accent);
    content: "";
}

.service-dialog__story h3 {
    margin: 0 0 17px;
    font-size: clamp(1.65rem, 3.5vw, 2.65rem);
    letter-spacing: -0.035em;
    line-height: 1.45;
}

.service-dialog__story h3,
.service-dialog__story > p {
    grid-column: 2;
}

.service-dialog__story h3 mark {
    position: relative;
    display: inline-block;
    padding: 0 12px;
    border-radius: 12px;
    background: var(--yellow);
    color: var(--ink);
    transform: rotate(-3deg);
}

.service-dialog__story p {
    margin-bottom: 0;
    color: #676155;
    font-size: 0.92rem;
    line-height: 2.05;
}

.service-dialog__story .service-dialog__campaign-subtitle {
    margin: -4px 0 18px;
    color: var(--ink);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.8;
}

.service-dialog__campaign-subtitle strong,
.service-dialog__campaign-subtitle span {
    display: block;
}

.service-dialog__campaign-subtitle strong {
    font-weight: 800;
}

.service-dialog__campaign-subtitle span {
    color: #676155;
    font-weight: 600;
}

.service-dialog--ets .service-dialog__eyebrow,
.service-dialog--ets .service-dialog__story p {
    color: rgba(255, 255, 255, 0.58);
}

.service-dialog__features {
    margin-top: 52px;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid rgba(41, 41, 41, 0.1);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.72);
}

.service-dialog--ets .service-dialog__features {
    border-color: rgba(89, 200, 255, 0.2);
    background:
        radial-gradient(circle at 90% 0, rgba(89, 255, 0, 0.09), transparent 38%),
        rgba(12, 31, 50, 0.76);
}

.service-dialog__features > span {
    color: #817869;
    font-size: 0.7rem;
    font-weight: 800;
}

.service-dialog--ets .service-dialog__features > span {
    color: #59c8ff;
}

.service-dialog__features ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.service-dialog__features li {
    display: flex;
    align-items: start;
    gap: 11px;
    color: #3f3b34;
    font-size: 0.77rem;
    font-weight: 700;
    line-height: 1.8;
}

.service-dialog--ets .service-dialog__features li {
    color: rgba(255, 255, 255, 0.82);
}

.service-dialog__features li i {
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    margin-top: 7px;
    border-radius: 50%;
    background: var(--dialog-accent);
    box-shadow: 0 0 0 5px rgba(255, 204, 0, 0.13);
}

.service-dialog--ets .service-dialog__features li i {
    box-shadow: 0 0 0 5px rgba(89, 255, 0, 0.1), 0 0 20px rgba(89, 255, 0, 0.28);
}

.service-dialog__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 34px;
    padding-top: 30px;
    border-top: 1px solid rgba(41, 41, 41, 0.12);
}

.service-dialog--ets .service-dialog__footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.service-dialog__footer small,
.service-dialog__footer strong {
    display: block;
}

.service-dialog__footer small {
    margin-bottom: 3px;
    color: #8e8575;
    font-size: 0.66rem;
}

.service-dialog--ets .service-dialog__footer small {
    color: rgba(255, 255, 255, 0.42);
}

.service-dialog__footer strong {
    font-size: 0.93rem;
}

.service-dialog__footer > a {
    min-width: 160px;
    min-height: 53px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 20px;
    border-radius: 15px;
    background: var(--ink);
    color: white;
    font-size: 0.78rem;
    font-weight: 800;
    transition: gap 0.25s ease, transform 0.25s ease;
}

.service-dialog--ets .service-dialog__footer > a {
    background: linear-gradient(135deg, #59ff00, #8fff55);
    box-shadow: 0 14px 40px rgba(89, 255, 0, 0.16);
    color: #07121d;
}

.service-dialog__footer > a:hover {
    gap: 32px;
    transform: translateY(-3px);
}

@media (max-width: 900px) {
    .services-hero {
        min-height: 600px;
        padding-top: 85px;
    }

    .services-hero__grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .services-hero__title {
        max-width: 720px;
    }

    .services-hero__intro {
        max-width: 570px;
    }

    .service-tile--compact { height: 370px; }
    .service-tile--tall { height: 500px; }
    .service-tile--xl { height: 590px; }
    .service-tile--wide { height: 470px; }
}

@media (max-width: 720px) {
    .services-hero {
        min-height: 650px;
        padding: 70px 0 110px;
    }

    .services-hero h1 {
        max-width: 100%;
        font-size: clamp(2.8rem, 11.5vw, 4.2rem);
        letter-spacing: -0.075em;
        line-height: 1.18;
    }

    .services-hero__title {
        padding: 27px 0 17px;
    }

    .services-hero__title::before {
        right: -0.05em;
        font-size: clamp(8rem, 38vw, 11rem);
    }

    .services-hero__title::after {
        top: 2px;
        width: 42px;
        height: 42px;
    }

    .services-hero__mobile-break {
        display: block;
    }

    .services-hero__quote {
        padding-right: 15px;
    }

    .services-hero__quote p {
        font-size: 0.84rem;
    }

    .services-gallery {
        padding: 76px 0 88px;
    }

    .services-gallery__heading {
        align-items: start;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 27px;
    }

    .services-mosaic {
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-flow: row;
        grid-auto-rows: auto;
        gap: 14px;
    }

    .service-tile {
        grid-row: auto;
        grid-column: auto;
        min-height: 0;
        border-radius: 24px;
    }

    .service-tile--compact { height: 340px; }
    .service-tile--tall { height: 465px; }
    .service-tile--xl { height: 545px; }
    .service-tile--wide { height: 390px; }

    .service-tile__caption strong {
        font-size: clamp(2.2rem, 10.4vw, 3.5rem);
    }

    .service-tile__arrow {
        width: 48px;
        height: 48px;
    }

    .services-outro {
        padding-bottom: 78px;
    }

    .services-outro__card {
        border-radius: 25px;
    }

    .service-dialog {
        width: calc(100% - 18px);
        height: calc(100dvh - 18px);
        border-radius: 24px;
    }

    .service-dialog__close {
        top: 14px;
        left: 14px;
        width: 43px;
        height: 43px;
    }

    .service-dialog__hero {
        height: 390px;
    }

    .service-dialog__hero-copy h2 {
        font-size: clamp(3.3rem, 19vw, 5.5rem);
    }

    .service-dialog__content {
        padding: 31px 23px 36px;
    }

    .service-dialog__story {
        display: block;
    }

    .service-dialog__eyebrow {
        display: block;
        margin-bottom: 13px;
    }

    .service-dialog__story h3 {
        font-size: 1.75rem;
    }

    .service-dialog__story p {
        font-size: 0.83rem;
    }

    .service-dialog__features {
        margin-top: 35px;
        padding: 23px 20px;
        border-radius: 20px;
    }

    .service-dialog__features ul {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .service-dialog__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .service-dialog__footer > a {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .services-hero__marquee span {
        animation: none;
    }

    .service-tile,
    .service-tile:hover,
    .service-tile:focus-visible,
    .service-tile__media img,
    .service-tile:hover .service-tile__media img,
    .service-tile:focus-visible .service-tile__media img {
        transform: none;
    }

    .service-dialog[open] {
        animation: none;
    }
}
