/* "Inside Wroke" showcase (resources/views/website/partials/interface.blade.php) */

.wk-showcase {
    --wk-ink: #1d2433;
    --wk-muted: #5b6475;
    --wk-line: rgb(15 105 57 / 12%);
    --wk-soft: rgb(15 105 57 / 6%);
    overflow: hidden;
}

.wk-showcase .sec_head h2 {
    text-transform: none;
}

/* ---- the rail: a small capsule of icons; the playing screen opens up and fills ---- */
.wk-rail {
    display: flex;
    justify-content: center;
    margin: -6px auto 44px;
}

.wk-rail__track {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    padding: 6px;
    border-radius: 999px;
    background: rgb(255 255 255 / 92%);
    border: 1px solid var(--wk-line);
    box-shadow: 0 22px 44px -30px rgb(12 70 40 / 50%), inset 0 1px 0 #fff;
}

.wk-rail__sep {
    flex: none;
    width: 1px;
    height: 20px;
    margin: 0 5px;
    background: var(--wk-line);
}

.wk-rail__item {
    --c: var(--main-color);
    position: relative;
    flex: none;
    display: inline-flex;
    align-items: center;
    height: 44px;
    min-width: 44px;
    padding: 0 10px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: color-mix(in srgb, var(--c) 78%, #5b6475);
    cursor: pointer;
    isolation: isolate;
    transition: background .35s, color .35s, padding .5s cubic-bezier(.2, .8, .3, 1), box-shadow .35s;
}

.wk-rail__item:hover {
    background: color-mix(in srgb, var(--c) 10%, transparent);
    color: var(--c);
}

.wk-rail__item:hover .wk-rail__icon {
    transform: translateY(-2px) scale(1.08);
}

.wk-rail__item:focus-visible {
    outline: 3px solid rgb(15 105 57 / 35%);
    outline-offset: 2px;
}

.wk-rail__item.is-active {
    padding: 0 18px 0 12px;
    background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c), #fff 24%));
    color: #fff;
    box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--c) 80%, transparent), inset 0 1px 0 rgb(255 255 255 / 25%);
}

/* a light that sweeps the open capsule now and then */
.wk-rail__item.is-active::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(110deg, transparent 35%, rgb(255 255 255 / 38%) 50%, transparent 65%) no-repeat;
    background-size: 250% 100%;
    animation: wkSweep 3.2s ease-in-out infinite;
}

@keyframes wkSweep {
    0%, 55% { background-position: 130% 0; }
    100% { background-position: -130% 0; }
}

[dir="rtl"] .wk-rail__item.is-active {
    padding: 0 12px 0 18px;
}

/* the playing time fills the open capsule */
.wk-rail__fill {
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(90deg, rgb(255 255 255 / 0%), rgb(255 255 255 / 22%));
    transform: scaleX(0);
    transform-origin: left center;
}

[dir="rtl"] .wk-rail__fill {
    transform-origin: right center;
    background: linear-gradient(270deg, rgb(255 255 255 / 0%), rgb(255 255 255 / 22%));
}

.wk-showcase.is-playing .wk-rail__item.is-active .wk-rail__fill {
    animation: wkFill var(--wk-step, 6s) linear forwards;
}

.wk-showcase.is-paused .wk-rail__item.is-active .wk-rail__fill {
    animation-play-state: paused;
}

@keyframes wkFill {
    to { transform: scaleX(1); }
}

.wk-rail__icon {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    font-size: 15px;
    transition: transform .45s cubic-bezier(.3, 1.6, .5, 1);
}

.wk-rail__item.is-active .wk-rail__icon {
    transform: rotate(-8deg) scale(1.08);
}

.wk-rail__title {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    font: 700 13.5px/1 'Inter', 'Almarai', sans-serif;
    transition: max-width .55s cubic-bezier(.2, .8, .3, 1), opacity .3s, margin .55s cubic-bezier(.2, .8, .3, 1);
}

.wk-rail__item.is-active .wk-rail__title {
    max-width: 220px;
    margin-inline-start: 8px;
    opacity: 1;
    transition-delay: 0s, .15s, 0s;
}

/* screens already seen in this round */
.wk-rail__item.is-seen::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 4px;
    height: 4px;
    margin-left: -2px;
    border-radius: 50%;
    background: var(--c);
    opacity: .6;
}

/* where the tour is: 03 / 10 */
.wk-rail__count {
    flex: none;
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    margin-inline: 8px 10px;
    padding-inline-start: 12px;
    border-inline-start: 1px solid var(--wk-line);
    font: 600 12px/1 'Inter', sans-serif;
    color: #9aa5b1;
    direction: ltr;
    font-variant-numeric: tabular-nums;
}

.wk-rail__count b {
    font-size: 15px;
    font-weight: 800;
    color: var(--wk-ink);
}

.wk-rail__count em {
    font-style: normal;
}

/* preview on hover: picture, group, title, what happens */
.wk-rail__peek {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    z-index: 10;
    width: 250px;
    padding: 6px 6px 10px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 28px 54px -20px rgb(12 50 30 / 50%), 0 0 0 1px rgb(15 105 57 / 14%);
    color: var(--wk-ink);
    text-align: start;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -8px) scale(.96);
    transform-origin: 50% 0;
    transition: opacity .2s ease, transform .35s cubic-bezier(.3, 1.3, .5, 1), visibility 0s linear .2s;
}

.wk-rail__peek::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -7px;
    border: 7px solid transparent;
    border-bottom-color: #fff;
}

.wk-rail__peek img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    margin-bottom: 8px;
    border-radius: 10px;
    object-fit: cover;
    object-position: top center;
    background: #f1f5f3;
}

.wk-rail__peek small,
.wk-rail__peek b,
.wk-rail__peek em {
    display: block;
    padding: 0 6px;
    font-family: 'Inter', 'Almarai', sans-serif;
    font-style: normal;
}

.wk-rail__peek small {
    color: var(--c);
    font-size: 11px;
    font-weight: 700;
}

.wk-rail__peek b {
    margin-top: 2px;
    font-size: 14px;
    font-weight: 700;
}

.wk-rail__peek em {
    margin-top: 4px;
    color: var(--wk-muted);
    font-size: 12px;
    line-height: 1.45;
}

@media (hover: hover) and (min-width: 768px) {
    .wk-rail__item:hover {
        z-index: 6;
    }

    .wk-rail__item:hover .wk-rail__peek {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0) scale(1);
        transition-delay: .15s, .15s, 0s;
    }
}

/* ---- body: text beside the screen ---- */
.wk-showcase__body {
    display: grid;
    grid-template-columns: minmax(0, 34%) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

.wk-showcase__info {
    min-width: 0;
}

.wk-showcase__kicker {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 14px;
    font: 600 13px/1 'Inter', 'Almarai', sans-serif;
}

.wk-showcase__kicker b {
    font: 800 44px/1 'Inter', sans-serif;
    letter-spacing: -.03em;
    color: transparent;
    -webkit-text-stroke: 1.4px var(--main-color);
    background: linear-gradient(180deg, rgb(15 105 57 / 16%), transparent 80%);
    -webkit-background-clip: text;
    background-clip: text;
}

.wk-showcase__kicker em {
    font-style: normal;
    color: #a3acb9;
}

.wk-showcase__kicker span {
    margin-inline-start: 8px;
    align-self: center;
    padding: 5px 11px;
    border-radius: 20px;
    background: rgb(15 105 57 / 8%);
    color: var(--main-color);
}

.wk-showcase__item.is-active .wk-showcase__kicker { animation: wkRise .5s cubic-bezier(.2, .8, .3, 1) both; }
.wk-showcase__item.is-active h3 { animation: wkRise .55s .06s cubic-bezier(.2, .8, .3, 1) both; }
.wk-showcase__item.is-active p { animation: wkRise .6s .12s cubic-bezier(.2, .8, .3, 1) both; }
.wk-showcase__item.is-active li { animation: wkRise .5s calc(.2s + var(--d, 0) * .09s) cubic-bezier(.2, .8, .3, 1) both; }
.wk-showcase__item.is-active li svg { animation: wkPop .5s calc(.32s + var(--d, 0) * .09s) cubic-bezier(.3, 1.6, .5, 1) both; }

@keyframes wkRise {
    from { opacity: 0; transform: translateY(14px); filter: blur(4px); }
    to { opacity: 1; transform: none; filter: none; }
}

@keyframes wkPop {
    from { transform: scale(0); }
    to { transform: none; }
}

.wk-showcase__item h3 {
    color: var(--wk-ink);
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.wk-showcase__item p {
    color: var(--wk-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.wk-showcase__item ul {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

.wk-showcase__item li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--wk-ink);
    font-size: 15px;
    line-height: 1.6;
}

.wk-showcase__item li svg {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    padding: 3px;
    border-radius: 50%;
    background: rgb(15 105 57 / 10%);
    color: var(--main-color);
    margin-top: 1px;
}

.wk-showcase__cta {
    display: inline-flex;
    height: 46px;
}

.wk-showcase__cta span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wk-showcase__cta svg {
    transform: rotate(45deg);
}

/* ---- the screen ---- */
.wk-showcase__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.wk-showcase__steps {
    display: flex;
    gap: 8px;
}

.wk-showcase__step {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--wk-line);
    background: #fff;
    color: var(--wk-ink);
    cursor: pointer;
    transition: border-color .2s, color .2s, transform .2s, box-shadow .2s;
}

.wk-showcase__step:hover {
    border-color: rgb(15 105 57 / 45%);
    color: var(--main-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -12px rgb(15 105 57 / 50%);
}

.wk-showcase__step svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

[dir="rtl"] .wk-showcase__step svg {
    transform: scaleX(-1);
}

/* ---- the screen: a deck of screens in a soft glow, tilting with the mouse ---- */
.wk-showcase__stage {
    position: relative;
    min-width: 0;
    padding-top: 30px;
    perspective: 1800px;
}

.wk-showcase__aura {
    position: absolute;
    inset: -8% -10% -14%;
    z-index: -1;
    pointer-events: none;
}

.wk-showcase__aura::before,
.wk-showcase__aura::after {
    content: "";
    position: absolute;
    inset: 0;
}

.wk-showcase__aura::before {
    background: radial-gradient(closest-side, rgb(15 105 57 / 17%), rgb(15 105 57 / 5%) 55%, transparent 80%);
}

.wk-showcase__aura::after {
    background-image: radial-gradient(rgb(15 105 57 / 22%) 1px, transparent 1.4px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 50% 48% at 50% 50%, #000 20%, transparent 70%);
    mask-image: radial-gradient(ellipse 50% 48% at 50% 50%, #000 20%, transparent 70%);
}

.wk-showcase__tilt {
    position: relative;
    transform: rotateX(var(--wk-rx, 0deg)) rotateY(var(--wk-ry, 0deg));
    transform-style: preserve-3d;
    transition: transform .7s cubic-bezier(.2, .8, .3, 1);
}

.wk-showcase__deck {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.wk-showcase__deck i {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(#f4f5f7 0 34px, #fff 34px);
    border: 1px solid rgb(29 36 51 / 8%);
    box-shadow: 0 24px 40px -26px rgb(29 36 51 / 35%);
    transform-origin: 50% 0;
}

.wk-showcase__deck i:nth-child(1) {
    transform: translate3d(0, -17px, -170px) scale(1.04); /* far behind in depth (scaled back up), so a turning screen never cuts through it */
    opacity: .8;
}

.wk-showcase__deck i:nth-child(2) {
    transform: translate3d(0, -33px, -260px) scale(1.04);
    opacity: .45;
}

.wk-showcase__frame {
    position: relative;
    transform-origin: 50% 0;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgb(29 36 51 / 8%);
    box-shadow: 0 40px 70px -28px rgb(12 50 30 / 35%), 0 12px 24px -12px rgb(29 36 51 / 12%);
}

/* A thin light runs round the screen while the tour plays. */
@property --wk-a {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

.wk-showcase__frame::after {
    content: "";
    position: absolute;
    inset: -1.5px;
    border-radius: 17.5px;
    padding: 1.5px;
    background: conic-gradient(from var(--wk-a), transparent 0 64%, #2bb36b 80%, #0f6939 86%, transparent 90%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    opacity: 0;
    transition: opacity .5s;
    pointer-events: none;
    z-index: 5;
}

.wk-showcase.is-playing:not(.is-paused) .wk-showcase__frame::after {
    opacity: 1;
    animation: wkSpin 7s linear infinite;
}

@keyframes wkSpin {
    to { --wk-a: 360deg; }
}

.wk-showcase__bar {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 34px;
    padding: 0 14px;
    background: #f4f5f7;
    border-bottom: 1px solid rgb(29 36 51 / 6%);
    border-radius: 16px 16px 0 0;
    direction: ltr;
}

.wk-showcase__bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f57;
}

.wk-showcase__bar i:nth-child(2) { background: #febc2e; }
.wk-showcase__bar i:nth-child(3) { background: #28c840; }

.wk-showcase__bar span {
    margin: 0 auto;
    padding: 4px 40px;
    border-radius: 8px;
    background: #fff;
    color: #8a8fa0;
    font: 500 12px/1.2 'Inter', sans-serif;
}

.wk-showcase__screen {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 0 0 15px 15px;
    background: #f6f7f9;
    direction: ltr; /* hotspots are measured from the image's left edge in both languages */
}

.wk-showcase__screen.is-loading::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / 70%) 50%, transparent 70%) #eef0f3;
    background-size: 200% 100%;
    animation: wkShimmer 1.2s linear infinite;
    border-radius: 0 0 15px 15px;
    z-index: 3;
}

.wk-showcase__shot {
    position: absolute;
    inset: 0;
    margin: 0;
    overflow: hidden; /* the screen does not clip: scene pieces lift out of it */
    border-radius: 0 0 15px 15px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s ease, visibility 0s linear .45s;
}

.wk-showcase__shot.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity .45s ease;
}

.wk-showcase__shot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transform-origin: var(--wk-x, 50%) var(--wk-y, 50%);
    transition: transform 2.4s cubic-bezier(.22, .61, .36, 1);
}

.wk-showcase__shot.is-zoomed img {
    transform: scale(1.22);
}

/* ---- scenes (showcase-scenes.js) ---- */
.wk-scene {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.wk-scene__veil {
    position: absolute;
    inset: 0;
    border-radius: 0 0 15px 15px;
    background: rgb(246 248 250 / 46%);
    backdrop-filter: blur(1px);
    opacity: 0;
}

.wk-piece {
    position: absolute;
    will-change: left, top, width, filter;
}

.wk-piece__in {
    position: relative;
    container-type: inline-size;
}

.wk-piece__img,
.wk-piece__after {
    display: block;
    width: 100%;
    height: auto;
}

.wk-piece__after {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.wk-piece__count {
    position: absolute;
    line-height: 1.2;
    white-space: nowrap;
    direction: ltr;
    font-family: 'Inter', 'Almarai', sans-serif;
    font-variant-numeric: tabular-nums;
}

.wk-piece__burst {
    position: absolute;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 3px solid #16a34a;
    opacity: 0;
    transform: translate(-50%, -50%);
}

/* ---- simple animation layer ---- */
.wk-showcase__fx {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.wk-fx-ring,
.wk-fx-cursor,
.wk-fx-label,
.wk-fx-toast {
    position: absolute;
    opacity: 0;
}

.wk-fx-ring {
    left: var(--wk-x);
    top: var(--wk-y);
    width: 46px;
    height: 46px;
    margin: -23px 0 0 -23px;
    border-radius: 50%;
    border: 3px solid var(--main-color);
    background: rgb(15 105 57 / 12%);
}

.wk-fx-cursor {
    left: var(--wk-x);
    top: var(--wk-y);
    width: 26px;
    height: 26px;
    margin: -3px 0 0 -5px;
    filter: drop-shadow(0 3px 4px rgb(0 0 0 / 25%));
    transform: translate(var(--wk-from-x, 120px), var(--wk-from-y, 90px));
    transition: transform 1.1s cubic-bezier(.45, 0, .2, 1), opacity .3s ease;
}

.wk-fx-cursor svg {
    width: 100%;
    height: 100%;
    transition: transform .15s ease;
}

.wk-fx-label {
    left: var(--wk-x);
    top: var(--wk-y);
    margin-top: var(--wk-label-top, 30px);
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--wk-ink);
    color: #fff;
    font: 600 13px/1.3 'Inter', 'Almarai', sans-serif;
    white-space: nowrap;
    transform: translate(var(--wk-label-shift, -50%), 6px);
    transition: opacity .3s ease, transform .3s ease;
    box-shadow: 0 8px 18px rgb(0 0 0 / 18%);
}

.wk-fx-toast {
    left: var(--wk-x);
    top: var(--wk-y);
    display: flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    max-width: 330px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgb(29 36 51 / 8%);
    box-shadow: 0 18px 36px -12px rgb(29 36 51 / 35%);
    color: var(--wk-ink);
    font: 600 14px/1.4 'Inter', 'Almarai', sans-serif;
    transform: translate(var(--wk-toast-x, 24px), calc(var(--wk-toast-y, 24px) + 10px));
    transition: opacity .35s ease, transform .45s cubic-bezier(.2, .9, .3, 1.3);
}

.wk-fx-toast small {
    color: #8a8fa0;
    font-weight: 500;
    font-size: 12px;
    margin-inline-start: 6px;
}

.wk-fx-toast__icon {
    display: inline-flex;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgb(15 105 57 / 10%);
    color: var(--main-color);
}

.wk-fx-toast__icon svg {
    width: 18px;
    height: 18px;
}

/* states (set by showcase.js) */
.wk-showcase__fx.is-cursor .wk-fx-cursor { opacity: 1; }
.wk-showcase__fx.is-arrived .wk-fx-cursor { transform: translate(0, 0); }
.wk-showcase__fx.is-click .wk-fx-cursor svg { transform: scale(.85); }
.wk-showcase__fx.is-click .wk-fx-ring { animation: wkRipple 1s ease-out; }
.wk-showcase__fx.is-pulse .wk-fx-ring { animation: wkPulse 1.6s ease-out infinite; }
.wk-showcase__fx.is-label .wk-fx-label { opacity: 1; transform: translate(var(--wk-label-shift, -50%), 0); }
.wk-showcase__fx.is-toast .wk-fx-toast { opacity: 1; transform: translate(var(--wk-toast-x, 24px), var(--wk-toast-y, 24px)); }

[dir="rtl"] .wk-fx-label,
[dir="rtl"] .wk-fx-toast {
    direction: rtl;
}

@keyframes wkRipple {
    0% { opacity: .9; transform: scale(.4); }
    100% { opacity: 0; transform: scale(1.8); }
}

@keyframes wkPulse {
    0% { opacity: .8; transform: scale(.5); }
    70%, 100% { opacity: 0; transform: scale(1.6); }
}

@keyframes wkShimmer {
    to { background-position: -200% 0; }
}

@keyframes wkProgress {
    to { width: 100%; }
}

@keyframes wkFadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

/* ---- tablets and phones ---- */
@media (max-width: 991px) {
    .wk-showcase__body {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .wk-showcase__stage {
        order: -1;
    }

    .wk-showcase__item h3 {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .wk-showcase .sec_head p {
        width: 100%;
    }

    .wk-rail {
        margin: -10px -15px 22px;
        padding: 0 15px;
        justify-content: flex-start;
    }

    .wk-rail__track {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .wk-rail__track::-webkit-scrollbar {
        display: none;
    }

    .wk-rail__item {
        height: 40px;
        min-width: 40px;
    }

    .wk-showcase__kicker b {
        font-size: 34px;
    }

    .wk-showcase__stage {
        padding-top: 22px;
    }
    .wk-showcase__frame {
        border-radius: 12px;
    }

    .wk-showcase__bar {
        height: 26px;
        padding: 0 10px;
    }

    .wk-showcase__bar i {
        width: 7px;
        height: 7px;
    }

    .wk-showcase__bar span {
        padding: 2px 24px;
        font-size: 10px;
    }

    /* The screenshot is small here: the label and toast would cover it. */
    .wk-fx-label,
    .wk-fx-toast {
        display: none;
    }

    .wk-showcase__item h3 {
        font-size: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wk-showcase *,
    .wk-showcase *::before,
    .wk-showcase *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* ---- hero stage (resources/views/website/home/hero.blade.php) ---- */
.wk-hero-stage {
    position: relative;
    max-width: 1120px;
    margin: 10px auto 0;
}

.wk-hero-stage::before {
    content: "";
    position: absolute;
    inset: 10% 4% -6%;
    background: radial-gradient(closest-side, rgb(15 105 57 / 20%), transparent);
    filter: blur(18px);
    z-index: -1;
}

/* A scene that played once keeps its pieces up, bobbing gently. */
.wk-scene.is-settled .wk-piece__in {
    animation: wkBob 4.4s ease-in-out infinite;
}

.wk-scene.is-settled .wk-piece:nth-child(odd) .wk-piece__in {
    animation-delay: -2.2s;
}

@keyframes wkBob {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -6px; }
}

/* ---- the tour's touches: a callout by the lifted piece, a preview on the rail ---- */
.wk-showcase .wk-showcase__fx {
    z-index: 4; /* above the scene, so the cursor and the callout sit over the lifted piece */
}

.wk-fx-callout {
    position: absolute;
    left: var(--wk-cx, 50%);
    top: var(--wk-cy, 50%);
    display: flex;
    align-items: center;
    gap: 9px;
    width: max-content;
    max-width: 44%;
    padding: 9px 15px 9px 10px;
    border-radius: 14px;
    background: rgb(255 255 255 / 94%);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 36px -14px rgb(12 50 30 / 45%), 0 0 0 1px rgb(15 105 57 / 18%);
    color: #14231b;
    font: 600 13.5px/1.4 'Inter', 'Almarai', sans-serif;
    opacity: 0;
    transform: translate(var(--wk-cshift, -50%), 10px) scale(.95);
    transform-origin: 50% 0;
    transition: opacity .3s ease, transform .5s cubic-bezier(.3, 1.4, .5, 1);
}

.wk-fx-callout[dir="rtl"] {
    padding: 9px 10px 9px 15px;
}

.wk-fx-callout.is-above {
    transform: translate(var(--wk-cshift, -50%), calc(-100% - 10px)) scale(.95);
    transform-origin: 50% 100%;
}

.wk-fx-callout > i {
    position: relative;
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f6939, #2bb36b);
    box-shadow: 0 0 0 4px rgb(43 179 107 / 18%);
}

.wk-fx-callout > i::after {
    content: "";
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    background: #fff;
}

/* the thin line from the callout up (or down) to the piece */
.wk-fx-callout::before {
    content: "";
    position: absolute;
    left: calc(var(--wk-cshift, -50%) * -1);
    top: -16px;
    width: 2px;
    height: 16px;
    margin-left: -1px;
    background: linear-gradient(rgb(15 105 57 / 0%), var(--main-color));
}

.wk-fx-callout.is-above::before {
    top: auto;
    bottom: -16px;
    background: linear-gradient(var(--main-color), rgb(15 105 57 / 0%));
}

.wk-showcase__fx.is-callout .wk-fx-callout {
    opacity: 1;
    transform: translate(var(--wk-cshift, -50%), 0) scale(1);
}

.wk-showcase__fx.is-callout .wk-fx-callout.is-above {
    transform: translate(var(--wk-cshift, -50%), -100%) scale(1);
}

@media (max-width: 767px) {
    .wk-fx-callout,
    .wk-rail__peek {
        display: none;
    }
}

/* ---- cinema: a camera that moves in, pieces that rise off the screen in depth ---- */
.wk-showcase .wk-showcase__cam,
.wk-showcase .wk-showcase__deck, /* its cards keep their depth: flat, the deck would cut through a turning screen */
.wk-showcase .wk-showcase__frame,
.wk-showcase .wk-showcase__screen,
.wk-showcase .wk-scene {
    transform-style: preserve-3d;
}

.wk-showcase__cam {
    position: relative;
    transform-origin: var(--wk-ox, 50%) var(--wk-oy, 50%);
    will-change: transform;
}

/* the cursor and the callout float above the risen pieces */
.wk-showcase .wk-showcase__fx {
    transform: translateZ(110px);
}

/* the light that scans a screen as it comes in */
.wk-showcase__scan {
    position: absolute;
    inset: 0;
    z-index: 6;
    overflow: hidden;
    border-radius: 0 0 15px 15px;
    pointer-events: none;
}

.wk-showcase__scan::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 34%;
    background: linear-gradient(180deg, rgb(43 179 107 / 0%), rgb(43 179 107 / 10%) 70%, rgb(43 179 107 / 55%) 98%, rgb(255 255 255 / 90%));
    transform: translateY(-110%);
}

.wk-showcase__scan.is-on::before {
    animation: wkScan .95s cubic-bezier(.45, .1, .3, 1) both;
}

@keyframes wkScan {
    from { transform: translateY(-110%); opacity: 1; }
    80% { opacity: 1; }
    to { transform: translateY(330%); opacity: 0; }
}



/* The screens change while the frame is turned away: at once, never two on top of each other. */
.wk-showcase .wk-showcase__shot,
.wk-showcase .wk-showcase__shot.is-active {
    transition: none;
}
