.service-panel {
    --panel-bg: var(--color-lavender);
    --panel-duration: 0.7s;
    --panel-ease: cubic-bezier(0.76, 0, 0.24, 1);
    position: fixed;
    inset: 0;
    z-index: 80;
}

.service-panel[hidden] {
    display: none;
}

.service-panel__surface {
    position: absolute;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background-color: var(--panel-bg);
    color: var(--color-white);
    transition:
        top var(--panel-duration) var(--panel-ease),
        left var(--panel-duration) var(--panel-ease),
        width var(--panel-duration) var(--panel-ease),
        height var(--panel-duration) var(--panel-ease),
        border-radius var(--panel-duration) var(--panel-ease);
}

.service-panel.is-open .service-panel__surface {
    border-radius: 0;
}

.service-panel__close {
    position: absolute;
    top: clamp(16px, 2vw, 32px);
    right: clamp(16px, 2vw, 32px);
    z-index: 5;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--color-white);
    color: var(--panel-bg);
    box-shadow: 0 8px 24px rgba(10, 20, 40, 0.18);
    opacity: 0;
    transition: opacity 0.3s ease, transform var(--transition-hover), background-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}

.service-panel__close.is-on-light {
    background-color: var(--panel-bg);
    color: var(--color-white);
}

.service-panel__close svg {
    width: 22px;
    height: 22px;
}

.service-panel__close:hover,
.service-panel__close:focus-visible {
    transform: scale(1.08);
}

.service-panel.is-open .service-panel__close {
    opacity: 1;
    transition: opacity 0.5s ease calc(var(--panel-duration) * 0.55), transform var(--transition-hover), background-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}

.service-panel__content {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
    background-color: var(--color-white);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.service-panel.is-open .service-panel__content {
    opacity: 1;
    transition: opacity 0.5s ease calc(var(--panel-duration) * 0.55);
}

.service-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 90vh;
    padding: clamp(80px, 12vh, 150px) var(--container-padding) clamp(220px, 32vh, 380px);
    background:
        url("../../images/backgrounds/web/1.webp") center top -13vh / max(100%, 900px) auto no-repeat,
        linear-gradient(180deg,
            color-mix(in srgb, var(--panel-bg) 55%, #140a24) 0%,
            var(--panel-bg) 38%,
            color-mix(in srgb, var(--panel-bg) 62%, #f3b9cf) 62%,
            color-mix(in srgb, var(--panel-bg) 40%, #ffd9c4) 78%),
        var(--panel-bg);
}

.service-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1100px;
    transform: translateY(32px);
    transition: transform 0.25s ease;
}

.service-panel.is-open .service-hero__inner {
    transform: none;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--panel-duration) * 0.55);
}

.service-detail__intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(24px, 3vh, 40px);
    text-align: center;
    text-shadow: 0 2px 30px rgba(10, 30, 10, 0.35);
}

.service-detail__title {
    --detail-word-size: min(calc(var(--display-size) * 0.65), 13vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: inherit;
}

.service-detail__eyebrow {
    --kicker-spacing: 0.205em;
    font-size: calc(var(--detail-word-size) * 0.346);
    white-space: nowrap;
    letter-spacing: var(--kicker-spacing);
    margin-right: calc(var(--kicker-spacing) * -1);
}

.service-detail__word {
    font-size: var(--detail-word-size);
    white-space: nowrap;
    margin-top: -0.13em;
}

.service-detail__lead {
    max-width: max(var(--detail-title-width, 0px), 36em);
    font-weight: 500;
    font-size: clamp(18px, 1.5vw, 24px);
    line-height: 1.45;
}

.service-hero__tear {
    position: absolute;
    left: 0;
    bottom: -1px;
    z-index: 1;
    width: 100%;
    height: clamp(12px, 1.3vw, 22px);
    fill: var(--color-white);
}

.service-feature {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    margin-top: calc(var(--feature-height) * -0.5);
    padding: 0 var(--container-padding);
    --feature-width: min(56vw, 920px);
    --feature-height: calc(var(--feature-width) * 968 / 1600);
}

.service-panel[data-service="me"] .service-feature,
.service-panel[data-service="career"] .service-feature,
.service-panel[data-service="others"] .service-feature {
    --feature-width: min(52vw, 860px);
    --feature-height: calc(var(--feature-width) * 1060 / 1080);
}

.service-panel[data-service="me"] .service-feature__badge,
.service-panel[data-service="career"] .service-feature__badge,
.service-panel[data-service="others"] .service-feature__badge {
    left: calc(50% - var(--feature-width) * 0.36);
    bottom: calc(var(--feature-height) * 0.1);
}

.service-feature[hidden] {
    display: none;
}

.service-feature__image {
    position: relative;
    z-index: 1;
    width: var(--feature-width);
    height: auto;
    filter: drop-shadow(0 30px 40px rgba(10, 20, 10, 0.3));
}

.service-feature__trail {
    position: absolute;
    left: 0;
    right: 0;
    top: 38%;
    width: 100%;
    height: 80%;
    overflow: visible;
    fill: none;
    stroke: var(--panel-bg);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 16 16;
    pointer-events: none;
}

.service-feature__badge {
    --badge-size: clamp(120px, 11vw, 180px);
    --badge-bg: var(--panel-bg);
    --badge-ink: var(--color-white);
    position: absolute;
    z-index: 3;
    left: calc(50% - var(--feature-width) * 0.5 - clamp(10px, 2vw, 40px));
    bottom: calc(var(--feature-height) * -0.06);
    box-shadow: 0 20px 40px rgba(10, 20, 10, 0.25);
}

.service-panel__sheet {
    padding: clamp(56px, 7vw, 120px) clamp(24px, 6vw, 120px) clamp(40px, 5vw, 80px);
    background-color: var(--color-white);
    color: var(--color-ink);
}

.service-feature[hidden] + .service-panel__sheet {
    padding-top: clamp(40px, 5vw, 80px);
}

.service-panel__body,
.service-steps,
.service-panel__cta {
    max-width: 1320px;
    margin-inline: auto;
}

.service-detail__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: clamp(14px, 1.4vw, 22px);
}

.service-detail__item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: clamp(24px, 2.4vw, 36px);
    border-radius: clamp(18px, 1.6vw, 26px);
    background-color: color-mix(in srgb, var(--panel-bg) 10%, var(--color-white));
}

.service-detail__item-title {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(22px, 1.9vw, 32px);
    line-height: 1.05;
    color: color-mix(in srgb, var(--panel-bg) 70%, var(--color-ink));
}

.service-detail__item-text {
    font-size: clamp(16px, 1.15vw, 19px);
    line-height: 1.5;
    opacity: 0.8;
}

.service-detail__list:has(.service-showcase) {
    display: block;
}

.service-stack__item {
    --enter: 1;
    --fly: 0;
    --fly-dir: -1;
    position: sticky;
    top: var(--stack-top, 24px);
    height: calc(100vh - var(--stack-top, 24px) * 2);
    height: calc(100svh - var(--stack-top, 24px) * 2);
    min-height: 560px;
    margin-inline: calc(clamp(24px, 6vw, 120px) * -0.8);
}

.service-stack__item + .service-stack__item {
    margin-top: 10vh;
}

.service-stack__item {
    --block-bg: #2e5640;
    --block-ink: var(--color-white);
    --block-check: rgba(255, 255, 255, 0.22);
    --block-shadow: #2e5640;
}

.service-stack__item:nth-child(2) {
    --block-check: rgba(255, 255, 255, 0.22);
    --block-shadow: #562e54;
    --block-bg: #562e54;
    --block-ink: var(--color-white);
}

.service-stack__item:nth-child(3) {
    --block-check: var(--block-ink);
    --block-shadow: var(--block-ink);
    --block-bg: var(--color-blush);
    --block-ink: var(--color-plum);
}

.service-stack__item:nth-child(4) {
    --block-check: var(--block-ink);
    --block-shadow: var(--block-ink);
    --block-bg: var(--color-wheat);
    --block-ink: var(--color-pine);
}

.service-stack__item:nth-child(5) {
    --block-check: var(--block-ink);
    --block-shadow: var(--block-ink);
    --block-bg: #d8ccef;
    --block-ink: var(--color-indigo-dark);
}

.service-stack__item:nth-child(even) {
    --fly-dir: 1;
}

.service-stack__item .service-showcase {
    height: 100%;
    box-shadow: 0 -10px 60px color-mix(in srgb, var(--block-shadow, var(--block-ink)) 16%, transparent);
    transform-origin: 50% 100%;
    transform:
        translate3d(calc(var(--fly-dir) * var(--fly) * 75vw), calc(var(--fly) * -60vh + (1 - var(--enter)) * 10vh), 0)
        rotate(calc(var(--fly-dir) * (var(--fly) * 32deg - (1 - var(--enter)) * 6deg)))
        scale(calc(1 - var(--fly) * 0.3 - (1 - var(--enter)) * 0.08));
    will-change: transform;
}

.service-showcase {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr);
    align-items: center;
    gap: clamp(40px, 5vw, 100px);
    padding: clamp(48px, 6vw, 120px) clamp(40px, 5.5vw, 110px);
    border-radius: clamp(24px, 2.4vw, 40px);
    --panel-bg: var(--block-ink);
    background-color: var(--block-bg);
    color: var(--block-ink);
    overflow: hidden;
}

.service-showcase__copy {
    container-type: inline-size;
    display: flex;
    flex-direction: column;
}

.service-stack__item:nth-child(even) .service-showcase {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
}

.service-stack__item:nth-child(even) .service-showcase__media {
    order: -1;
}

.service-showcase__title {
    font-size: min(clamp(40px, 4vw, 72px), 11.5cqi);
    line-height: 0.95;
    letter-spacing: -0.01em;
    color: var(--block-ink);
}

.service-showcase__title > span {
    display: block;
    clip-path: inset(-0.5em -50vw 0 -0.5em);
    padding-bottom: 0.14em;
    margin-bottom: -0.14em;
    white-space: nowrap;
}

.service-showcase__title > span > span {
    display: block;
    transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-showcase__title > span + span > span {
    transition-delay: 0.1s;
}

.service-showcase__text {
    transition: opacity 0.9s ease 0.25s, transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.25s, filter 0.9s ease 0.25s;
}

.service-showcase__points li {
    --i: 0;
    transition: opacity 0.7s ease calc(0.4s + var(--i) * 0.1s), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) calc(0.4s + var(--i) * 0.1s);
}

.service-showcase__points li:nth-child(2) {
    --i: 1;
}

.service-showcase__points li:nth-child(3) {
    --i: 2;
}

.service-showcase:not(.is-visible) .service-showcase__title > span > span {
    transform: translateY(110%);
}

.service-showcase:not(.is-visible) .service-showcase__text {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(6px);
}

.service-showcase:not(.is-visible) .service-showcase__points li {
    opacity: 0;
    transform: translateX(-18px);
}

.service-showcase:not(.is-visible) .service-showcase__points li::before {
    transform: scale(0) rotate(-90deg);
}

.service-showcase:not(.is-visible) .service-showcase__points li::after {
    transform: scaleX(0);
}

.service-showcase__text {
    max-width: 27em;
    margin-top: clamp(20px, 2vw, 32px);
    font-size: clamp(17px, 1.2vw, 20px);
    line-height: 1.55;
    color: var(--block-ink);
    opacity: 0.82;
}

.service-showcase__text a {
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.service-showcase__points {
    display: flex;
    flex-direction: column;
    margin-top: clamp(28px, 2.8vw, 52px);
}

.service-showcase__points li {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    padding: clamp(14px, 1.2vw, 18px) 0;
    font-size: clamp(15px, 1.05vw, 17px);
    font-weight: 500;
    color: var(--block-ink);
}

.service-showcase__points li::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background-color: color-mix(in srgb, var(--block-ink) 18%, transparent);
    transform-origin: left;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1) calc(0.5s + var(--i) * 0.1s);
}

.service-showcase__points li::before {
    content: "";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat,
        var(--block-check, var(--panel-bg));
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) calc(0.55s + var(--i) * 0.1s);
}

.service-showcase__media {
    --mx: 0;
    --my: 0;
    position: relative;
    padding-right: 8%;
    padding-bottom: 4%;
    perspective: 1400px;
}

.service-showcase__media--single {
    padding: 0;
}

.service-showcase__device {
    position: relative;
    transition:
        transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.9s ease,
        translate 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        rotate 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-showcase__media--stack {
    padding: 0 0 20% 0;
}

.service-showcase__device--back,
.service-showcase__device--front {
    width: 80%;
}

.service-showcase__device--back img,
.service-showcase__device--front img {
    border-radius: clamp(10px, 1vw, 16px);
}

.service-showcase__device--back {
    rotate: -4deg;
}

.service-showcase__device--front {
    position: absolute;
    right: 0;
    bottom: 0;
    rotate: 3deg;
    filter: drop-shadow(0 26px 36px rgba(20, 16, 60, 0.28));
    translate: calc(var(--mx) * 18px) calc(var(--my) * 14px);
    transition-delay: 0.3s, 0.3s, 0s, 0s;
}

.service-showcase__media--stack:hover .service-showcase__device--back {
    rotate: -7deg;
}

.service-showcase__media--stack:hover .service-showcase__device--front {
    rotate: 5deg;
}

.service-showcase:not(.is-visible) .service-showcase__device--front {
    opacity: 0;
    transform: translate(30%, 60px) rotate(10deg);
}

.service-showcase__device img {
    display: block;
    width: 100%;
    height: auto;
}

.panel-reveal {
    transition: opacity 0.8s ease var(--reveal-delay, 0s), transform 1s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0s);
}

.panel-reveal:not(.is-revealed) {
    opacity: 0;
    transform: translateY(40px);
}

.service-showcase__device--desktop {
    filter: drop-shadow(0 24px 34px rgba(20, 16, 60, 0.18));
    transform-origin: 50% 100%;
    translate: calc(var(--mx) * -10px) calc(var(--my) * -8px);
}

.service-showcase__device--mobile {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 23%;
    filter: drop-shadow(0 18px 28px rgba(20, 16, 60, 0.28));
    translate: calc(var(--mx) * 18px) calc(var(--my) * 14px);
    transition-delay: 0.3s, 0.3s, 0s;
}

.service-showcase__device--mobile img {
    animation: showcase-float 6s ease-in-out 1.6s infinite;
    animation-play-state: paused;
}

.service-showcase:not(.is-visible) .service-showcase__device--desktop {
    opacity: 0;
    transform: translateY(70px) rotateX(14deg) scale(0.94);
}

.service-showcase:not(.is-visible) .service-showcase__device--mobile {
    opacity: 0;
    transform: translate(45%, 40px) rotate(8deg);
}

.service-showcase.is-visible .service-showcase__device--mobile img {
    animation-play-state: running;
}

@keyframes showcase-float {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(-1deg);
    }
}

.service-programs {
    margin-top: clamp(72px, 8vw, 140px);
}

.service-programs__title {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(40px, 4.6vw, 84px);
    line-height: 0.95;
    color: color-mix(in srgb, var(--panel-bg) 70%, var(--color-ink));
}

.service-programs__tabs {
    display: flex;
    gap: clamp(24px, 3vw, 48px);
    margin-top: clamp(28px, 3vw, 48px);
    border-bottom: 1px solid color-mix(in srgb, var(--color-ink) 12%, transparent);
}

.service-programs__tab {
    position: relative;
    padding: 0 0 16px;
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(20px, 1.6vw, 28px);
    line-height: 1.1;
    white-space: nowrap;
    color: color-mix(in srgb, var(--color-ink) 45%, transparent);
    transition: color 0.3s ease;
}

.service-programs__tab::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background-color: var(--panel-bg);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-programs__tab:hover,
.service-programs__tab:focus-visible {
    color: color-mix(in srgb, var(--color-ink) 75%, transparent);
}

.service-programs__tab[aria-selected="true"] {
    color: color-mix(in srgb, var(--panel-bg) 75%, var(--color-ink));
}

.service-programs__tab[aria-selected="true"]::after {
    transform: none;
}

.service-programs__group {
    margin-top: clamp(28px, 3vw, 44px);
}

.service-programs__heading {
    margin-bottom: clamp(20px, 2vw, 28px);
    padding-bottom: 16px;
    border-bottom: 1px solid color-mix(in srgb, var(--color-ink) 12%, transparent);
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(20px, 1.6vw, 28px);
    color: color-mix(in srgb, var(--panel-bg) 75%, var(--color-ink));
}

.service-programs__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(24px, 3vw, 56px);
    counter-reset: program;
}

.service-programs__list li {
    counter-increment: program;
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid color-mix(in srgb, var(--color-ink) 9%, transparent);
    font-size: clamp(16px, 1.1vw, 19px);
    line-height: 1.35;
    color: var(--color-ink);
}

.service-programs__list li::before {
    content: counter(program, decimal-leading-zero);
    flex-shrink: 0;
    min-width: 1.6em;
    font-size: 0.72em;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--panel-bg);
}

.service-process {
    --dot-size: clamp(64px, 5.4vw, 92px);
    --process-gap: clamp(24px, 3vw, 56px);
    margin-top: clamp(72px, 8vw, 140px);
}

.service-process__title {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(40px, 4.6vw, 84px);
    line-height: 0.95;
    color: color-mix(in srgb, var(--panel-bg) 70%, var(--color-ink));
}

.service-process__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--process-gap);
    margin-top: clamp(48px, 5vw, 88px);
}

.service-process__step {
    --segment: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-process__step:not(:last-child)::before,
.service-process__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc(var(--dot-size) / 2 - 2px);
    left: var(--dot-size);
    width: calc(100% + var(--process-gap) - var(--dot-size));
    height: 4px;
    border-radius: 4px;
}

.service-process__step:not(:last-child)::before {
    background-color: color-mix(in srgb, var(--panel-bg) 14%, var(--color-white));
}

.service-process__step:not(:last-child)::after {
    background-color: var(--panel-bg);
    transform: scaleX(var(--segment));
    transform-origin: left;
}

.service-process__dot {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: var(--dot-size);
    height: var(--dot-size);
    margin-bottom: clamp(12px, 1.4vw, 24px);
    border-radius: 50%;
    background-color: color-mix(in srgb, var(--panel-bg) 14%, var(--color-white));
    color: var(--panel-bg);
    font-family: var(--font-serif);
    font-size: calc(var(--dot-size) * 0.4);
    line-height: 1;
    transform: scale(0.82);
    transition: background-color 0.5s ease, color 0.5s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.6s ease;
}

.service-process__dot::after {
    content: "";
    position: absolute;
    inset: -12px;
    border: 2px solid color-mix(in srgb, var(--panel-bg) 28%, transparent);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-process__heading {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(24px, 2.1vw, 36px);
    line-height: 1.05;
    color: color-mix(in srgb, var(--panel-bg) 70%, var(--color-ink));
}

.service-process__text {
    max-width: 24em;
    font-size: clamp(16px, 1.1vw, 18px);
    line-height: 1.55;
    color: var(--color-ink);
    opacity: 0.72;
}

.service-process__heading,
.service-process__text {
    transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-process__text {
    transition-delay: 0.08s;
}

.service-process__step:not(.is-active) .service-process__heading,
.service-process__step:not(.is-active) .service-process__text {
    opacity: 0;
    transform: translateY(18px);
}

.service-process__step.is-active .service-process__dot {
    background-color: var(--panel-bg);
    color: var(--color-white);
    transform: none;
    box-shadow: 0 14px 30px color-mix(in srgb, var(--panel-bg) 30%, transparent);
}

.service-process__step.is-current .service-process__dot::after {
    opacity: 1;
    transform: none;
}

.service-steps {
    margin-top: clamp(72px, 8vw, 140px);
}

.service-steps__title {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(40px, 4.6vw, 84px);
    line-height: 0.95;
    color: color-mix(in srgb, var(--panel-bg) 70%, var(--color-ink));
}

.service-steps__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 56px);
    margin-top: clamp(32px, 3.4vw, 56px);
}

.service-steps__item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 24px;
    border-top: 1px solid color-mix(in srgb, var(--panel-bg) 35%, transparent);
}

.service-steps__number {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--panel-bg);
    color: var(--color-white);
    font-weight: 600;
}

.service-steps__heading {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(24px, 2.2vw, 36px);
    line-height: 1.05;
}

.service-steps__text {
    max-width: 26em;
    font-size: clamp(16px, 1.15vw, 19px);
    line-height: 1.5;
    opacity: 0.8;
}

.service-panel__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: clamp(72px, 8vw, 140px);
    padding: clamp(18px, 1.6vw, 26px) clamp(18px, 1.6vw, 26px) clamp(18px, 1.6vw, 26px) clamp(40px, 4.6vw, 88px);
    border-radius: 999px;
    background-color: var(--panel-bg);
    color: var(--color-white);
}

.service-panel__cta-text {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(30px, 3.2vw, 56px);
    line-height: 1;
    text-box: trim-both cap alphabetic;
}

.service-panel__cta-badge {
    --badge-size: clamp(130px, 11vw, 170px);
    --badge-bg: var(--color-white);
    --badge-ink: var(--panel-bg);
    flex-shrink: 0;
    box-shadow: 0 16px 40px rgba(20, 10, 30, 0.22);
}

body.service-panel-open {
    overflow: hidden;
}

@media (max-width: 760px) {
    .service-hero {
        min-height: 84svh;
        padding: 96px 22px 200px;
    }

    .service-feature,
    .service-panel[data-service="me"] .service-feature,
    .service-panel[data-service="career"] .service-feature,
    .service-panel[data-service="others"] .service-feature {
        --feature-width: 92vw;
    }

    .service-hero {
        background-position: center bottom, 0 0;
        background-size: auto 62%, 100% 100%;
    }

    .service-feature__badge {
        --badge-size: 108px;
        left: 10px;
    }

    .service-panel__sheet {
        padding: 48px 22px 28px;
    }

    .service-steps__list {
        grid-template-columns: minmax(0, 1fr);
    }

    .service-process {
        --dot-size: 52px;
    }

    .service-programs__tabs {
        gap: 24px;
        overflow-x: auto;
        margin-inline: -22px;
        padding-inline: 22px;
        scrollbar-width: none;
    }

    .service-programs__tab {
        flex-shrink: 0;
        font-size: 19px;
    }

    .service-programs__list {
        grid-template-columns: minmax(0, 1fr);
    }

    .service-programs__list li {
        padding: 14px 0;
    }

    .service-process__list {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .service-process__step {
        padding-left: calc(var(--dot-size) + 18px);
        gap: 8px;
    }

    .service-process__dot {
        position: absolute;
        top: 0;
        left: 0;
        margin: 0;
    }

    .service-process__step:not(:last-child)::before,
    .service-process__step:not(:last-child)::after {
        top: var(--dot-size);
        left: calc(var(--dot-size) / 2 - 2px);
        width: 4px;
        height: calc(100% - var(--dot-size) + 28px);
        transform: none;
    }

    .service-stack__item {
        position: relative;
        top: auto;
        height: auto;
        min-height: 0;
        margin-inline: 0;
    }

    .service-stack__item + .service-stack__item {
        margin-top: 16px;
    }

    .service-stack__item .service-showcase,
    .service-stack__item:nth-child(even) .service-showcase {
        grid-template-columns: minmax(0, 1fr);
        height: auto;
        padding: 36px 22px;
        transform: none;
    }

    .service-stack__item:nth-child(even) .service-showcase__media {
        order: 0;
    }

    .service-showcase__title > span {
        white-space: normal;
    }

    .service-showcase__device,
    .service-showcase:not(.is-visible) .service-showcase__device--desktop,
    .service-showcase:not(.is-visible) .service-showcase__device--mobile,
    .service-showcase:not(.is-visible) .service-showcase__device--front {
        opacity: 1;
        transform: none;
        translate: none;
    }

    .service-showcase__device--mobile img {
        animation: none !important;
    }

    .service-showcase:not(.is-visible) .service-showcase__title > span > span,
    .service-showcase:not(.is-visible) .service-showcase__text,
    .service-showcase:not(.is-visible) .service-showcase__points li,
    .service-showcase:not(.is-visible) .service-showcase__points li::before,
    .service-showcase:not(.is-visible) .service-showcase__points li::after,
    .panel-reveal:not(.is-revealed) {
        opacity: 1;
        transform: none;
        filter: none;
    }

    .service-panel__cta-badge {
        --badge-size: 120px;
    }

    .service-panel__cta {
        flex-direction: column;
        align-items: center;
        padding: 36px 22px 26px;
        border-radius: 40px;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-stack__item .service-showcase {
        transform: none;
    }

    .service-panel {
        --panel-duration: 0.01s;
    }

    .service-hero__inner {
        transform: none;
    }

    .service-showcase__device,
    .service-showcase:not(.is-visible) .service-showcase__device--desktop,
    .service-showcase:not(.is-visible) .service-showcase__device--mobile,
    .service-showcase:not(.is-visible) .service-showcase__device--front {
        opacity: 1;
        transform: none;
        translate: none;
    }

    .service-showcase__device--mobile img {
        animation: none !important;
    }

    .service-showcase:not(.is-visible) .service-showcase__title > span > span,
    .service-showcase:not(.is-visible) .service-showcase__text,
    .service-showcase:not(.is-visible) .service-showcase__points li,
    .service-showcase:not(.is-visible) .service-showcase__points li::before,
    .service-showcase:not(.is-visible) .service-showcase__points li::after,
    .panel-reveal:not(.is-revealed) {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

.service-stack__item:nth-child(-n + 2) .service-showcase__points li::before {
    background: var(--color-white);
    -webkit-mask:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat,
        linear-gradient(#000 0 0);
    mask-composite: exclude;
}
