/* =====================================================================================================================
   3D cube world (spec docs/superpowers/specs/2026-11-13-3d-cube-world-design.md)
   html.cube-world — the new look is on (preview switch ?cube=1 or mode 'on'): CSS cubes, hero layout, block edges.
   html.cube-live  — the WebGL scene drew its first frame: canvas visible, CSS cube fades out, scrim + glass on.
   Every selector here is scoped to one of those (docs/tests/cube-php-test.php checks it), so visitors without the
   switch get today's site.
   ===================================================================================================================== */

html.cube-world {
    /* scrim/glass alphas keep #999 text ≥ 4.5:1 even over a lit green cube (contrast checked in cube-php-test.php) */
    --cube-scrim: rgba(31, 31, 31, .9);
    --cube-scrim-read: rgba(31, 31, 31, .95);
    --glass-strong: rgba(25, 25, 25, .9);
    --glass-solid: rgba(25, 25, 25, .95);
    --glass-card: rgba(25, 25, 25, .5);
    --block-edge: #0e0e0e;
    --block-edge-green: #1c9e60;
    --cube-ease: cubic-bezier(.23, 1, .32, 1);
}

html:not(.cube-world) .cube-css,
html:not(.cube-world) .cube-row {
    display: none;
}

/* ---------------------------------------------------------------------------------------------------------------------
   CSS cube: placeholder until WebGL is ready, the permanent static cube for reduced motion / no WebGL.
   --s = the anchor box (the WebGL cube is fitted to it), --e = cube edge (fits the box when rotated)
   --------------------------------------------------------------------------------------------------------------------- */
html.cube-world .cube-css {
    --s: 260px;
    --e: calc(var(--s) * .62);
    width: var(--s);
    height: var(--s);
    display: grid;
    place-items: center;
    perspective: 1200px;
    pointer-events: none;
}

html.cube-world .cube-css__cube {
    position: relative;
    width: var(--e);
    height: var(--e);
    transform-style: preserve-3d;
    transform: rotateX(-26deg) rotateY(40deg);
    transition: opacity .6s var(--cube-ease);
}

html.cube-world .cube-css__face {
    position: absolute;
    inset: 0;
    background-color: #303030;
    background-image:
        linear-gradient(to right, rgba(0, 0, 0, .55) 0 2px, transparent 2px),
        linear-gradient(to bottom, rgba(0, 0, 0, .55) 0 2px, transparent 2px);
    background-size: calc(var(--e) / 3) calc(var(--e) / 3);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
    backface-visibility: hidden;
}

html.cube-world .cube-css__face--front { transform: translateZ(calc(var(--e) / 2)); }
html.cube-world .cube-css__face--back { transform: rotateY(180deg) translateZ(calc(var(--e) / 2)); }
html.cube-world .cube-css__face--right { transform: rotateY(90deg) translateZ(calc(var(--e) / 2)); background-color: #262626; }
html.cube-world .cube-css__face--left { transform: rotateY(-90deg) translateZ(calc(var(--e) / 2)); background-color: #262626; }
html.cube-world .cube-css__face--bottom { transform: rotateX(-90deg) translateZ(calc(var(--e) / 2)); }

/* top: lightest face, green module in the centre */
html.cube-world .cube-css__face--top {
    transform: rotateX(90deg) translateZ(calc(var(--e) / 2));
    background-color: #3b3b3b;
    background-image:
        linear-gradient(to right, rgba(0, 0, 0, .55) 0 2px, transparent 2px),
        linear-gradient(to bottom, rgba(0, 0, 0, .55) 0 2px, transparent 2px),
        linear-gradient(#28e98c, #28e98c);
    background-size: calc(var(--e) / 3) calc(var(--e) / 3), calc(var(--e) / 3) calc(var(--e) / 3), calc(var(--e) / 3) calc(var(--e) / 3);
    background-position: 0 0, 0 0, center;
    background-repeat: repeat, repeat, no-repeat;
}

/* contact: "your product, assembled" — the front face is green */
html.cube-world .cube-css--face .cube-css__face--front {
    background-color: #28e98c;
    background-image:
        linear-gradient(to right, rgba(0, 0, 0, .35) 0 2px, transparent 2px),
        linear-gradient(to bottom, rgba(0, 0, 0, .35) 0 2px, transparent 2px);
}

/* hero: cube on the right of the heading + paragraph; buttons and facts keep the full column. From 1440px only — below
   that the middle column (style.css) is 639–858px, too narrow for a 260px cube cell beside a 60px heading, so the cube
   sits above the heading as on tablets */
@media (min-width: 1221px) {
    /* .hero-title, not .hero-content .h1 — that would also hit the .facts numbers */
    html.cube-world .hero-section .hero-title {
        font-size: 60px;
        line-height: 70px;
    }
}

@media (min-width: 1440px) {
    html.cube-world .hero-section .hero-content {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 260px;
        column-gap: 40px;
    }

    html.cube-world .hero-section .hero-content > * {
        grid-column: 1 / -1;
    }

    html.cube-world .hero-section .hero-content > .section-header {
        grid-column: 1;
        grid-row: 1;
    }

    html.cube-world .hero-section .hero-content > p {
        grid-column: 1;
        grid-row: 2;
    }

    html.cube-world .hero-section .hero-content > .cube-css {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: center;
    }
}

@media (max-width: 1439px) {
    html.cube-world .hero-section .hero-content > .cube-css {
        --s: 160px; /* 200 pushed the hero <p> below the fold on 375×667: the H1 became the LCP element */
        margin: 0 auto 24px;
    }
}

/* contact: the cube sits in its own scrim-free row above the form */
html.cube-world .cube-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 32px;
}

html.cube-world .cube-css--contact {
    --s: 200px;
}

@media (max-width: 1220px) {
    html.cube-world .cube-row {
        justify-content: center;
    }

    html.cube-world .cube-css--contact {
        --s: 160px;
    }
}

/* thank-you: beside the heading, the text wraps around it */
html.cube-world .cube-css--thanks {
    --s: 140px;
    float: right;
    margin: 0 0 16px 24px;
}

@media (max-width: 1220px) {
    html.cube-world .cube-css--thanks {
        --s: 110px;
    }
}

/* ---------------------------------------------------------------------------------------------------------------------
   Scene canvas (created by assets/js/cube-world.js) and the cross-fade from the CSS cube
   --------------------------------------------------------------------------------------------------------------------- */
html.cube-world .cube-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    height: 100lvh; /* mobile toolbars collapsing/expanding must not resize (and clear) the canvas */
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    transition: opacity .6s var(--cube-ease);
}

html.cube-live .cube-canvas {
    opacity: 1;
}

html.cube-live .cube-css__cube {
    opacity: 0;
}

/* ---------------------------------------------------------------------------------------------------------------------
   Scrim: a soft dark band behind every content column, so text stays readable over any formation.
   Not in the hero / thank-you (the scene shows only the cube there, in its own cell) and not on the contact cube row.
   --------------------------------------------------------------------------------------------------------------------- */
html.cube-live .content-width,
html.cube-live .hero-content > :not(.cube-css) {
    position: relative;
    isolation: isolate;
}

/* the hero column has no band (its cube cell stays bright), but its copy does: the burst flies behind it on the way out */
html.cube-live .content-width::before,
html.cube-live .hero-content > :not(.cube-css)::before {
    content: "";
    position: absolute;
    inset: -48px -64px;
    z-index: -1;
    pointer-events: none;
    background: var(--cube-scrim);
    -webkit-mask-image:
        linear-gradient(to bottom, transparent, #000 48px, #000 calc(100% - 48px), transparent),
        linear-gradient(to right, transparent, #000 64px, #000 calc(100% - 64px), transparent);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(to bottom, transparent, #000 48px, #000 calc(100% - 48px), transparent),
        linear-gradient(to right, transparent, #000 64px, #000 calc(100% - 64px), transparent);
    mask-composite: intersect;
}

html.cube-live .hero-content::before,
html.cube-live .thanks-content::before,
html.cube-live .cube-row::before {
    content: none;
}

/* sections already clip (overflow: hidden); the footer doesn't, and on full-width phone columns the band would
   widen the page by its 64 px fade */
html.cube-live .site-footer {
    overflow: hidden;
}

/* long reading */
html.cube-live .post-area .content-width::before {
    background: var(--cube-scrim-read);
}

/* ---------------------------------------------------------------------------------------------------------------------
   Glass: panels that sit straight on the scene; blur only on capable desktops (expensive on mobile GPUs)
   --------------------------------------------------------------------------------------------------------------------- */
/* .calc-dialog is not glass any more: the page showed through the form (blur never applied there) — it keeps #1f1f1f */
html.cube-live .left-sidebar,
html.cube-live .menu {
    background: var(--glass-solid);
}

@media (min-width: 1221px) and (hover: hover) and (pointer: fine) {
    @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
        html.cube-live .left-sidebar,
        html.cube-live .menu {
            background: var(--glass-strong);
            -webkit-backdrop-filter: blur(14px) saturate(1.2);
            backdrop-filter: blur(14px) saturate(1.2);
        }
    }
}

html.cube-live .services-items .service-item,
html.cube-live .industry-card,
html.cube-live .faq-item,
html.cube-live .blog-card,
html.cube-live .project-others-list a,
html.cube-live .notfound-links a,
html.cube-live .project-area .project-metrics li,
html.cube-live .post-area .project-cta,
html.cube-live .post-area .post-author,
html.cube-live .process-pricing-col {
    background: var(--glass-card);
}

/* ---------------------------------------------------------------------------------------------------------------------
   Blocks: tiles and buttons get a visible edge (thickness) and lift on hover (pointer devices only).
   `translate`, not `transform`: GSAP reveals leave an inline transform on these elements.
   --------------------------------------------------------------------------------------------------------------------- */
html.cube-world .services-items .service-item,
html.cube-world .industry-card,
html.cube-world .blog-card,
html.cube-world .project-others-list a,
html.cube-world .notfound-links a,
html.cube-world .calc-btn-ghost {
    box-shadow: 0 4px 0 var(--block-edge);
}

html.cube-world .theme-btn {
    box-shadow: 0 4px 0 var(--block-edge-green);
}

/* the rest already transition everything (.3s / all) */
html.cube-world .industry-card {
    transition: border-color .3s, translate .2s var(--cube-ease), box-shadow .2s var(--cube-ease);
}

@media (hover: hover) and (pointer: fine) {
    html.cube-world .services-items .service-item:hover,
    html.cube-world .industry-card:hover,
    html.cube-world .blog-card:hover,
    html.cube-world .project-others-list a:hover,
    html.cube-world .notfound-links a:hover,
    html.cube-world .calc-btn-ghost:hover {
        translate: 0 -3px;
        box-shadow: 0 7px 0 var(--block-edge);
    }

    html.cube-world .theme-btn:hover {
        translate: 0 -3px;
        box-shadow: 0 7px 0 var(--block-edge-green);
    }
}

@media (prefers-reduced-motion: reduce) {
    html.cube-world .services-items .service-item:hover,
    html.cube-world .industry-card:hover,
    html.cube-world .blog-card:hover,
    html.cube-world .project-others-list a:hover,
    html.cube-world .notfound-links a:hover,
    html.cube-world .calc-btn-ghost:hover,
    html.cube-world .theme-btn:hover {
        translate: none;
    }
}

/* ---------------------------------------------------------------------------------------------------------------------
   Sidebar photo cube (spec 2026-11-13-cube-details-design.md): the photo is the front face of a box as deep as it is
   wide; hover (mouse) or tap (touch, cube-loader.js) turns it a quarter to the «Напишіть мені» face.
   At rest the front face sits exactly where the plain photo was (prism pushed back, face pulled forward by half the depth).
   --------------------------------------------------------------------------------------------------------------------- */
html:not(.cube-world) .me-cube__side {
    display: none;
}

html.cube-world .me-cube {
    container-type: inline-size; /* 50cqw = half the photo width = half the box depth */
    perspective: 1000px;
    margin-bottom: 34px; /* the bare photo's margin (style.css) */
}

/* the box takes over the photo's own box (style.css / responsive.css size the bare photo) */
@media (max-width: 1555px) {
    html.cube-world .me-cube {
        max-width: 250px;
        margin: 0 auto 46px;
    }
}

html.cube-world .me-cube img.me {
    width: 100%;
    max-width: none;
    margin: 0;
    transform: translateZ(50cqw);
    backface-visibility: hidden;
}

html.cube-world .me-cube__prism {
    position: relative;
    transform-style: preserve-3d;
    transform: translateZ(-50cqw);
    transition: transform .8s var(--cube-ease);
}

html.cube-world .me-cube__side {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #565656;
    border-radius: 30px;
    background: #262626;
    text-align: center;
    transform: rotateY(90deg) translateZ(50cqw);
    backface-visibility: hidden;
}

html.cube-world .me-cube__title {
    font-size: 16px;
    color: #fff;
}

html.cube-world .me-cube__links {
    display: flex;
    gap: 10px;
}

html.cube-world .me-cube__links a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary_color);
    color: #000;
    display: grid;
    place-items: center;
    font-size: 22px;
}

html.cube-world .me-cube__note {
    font-size: 12px;
    color: #999;
}

html.cube-world .me-cube.is-turned .me-cube__prism {
    transform: translateZ(-50cqw) rotateY(-90deg);
}

@media (hover: hover) and (pointer: fine) {
    html.cube-world .me-cube:hover .me-cube__prism {
        transform: translateZ(-50cqw) rotateY(-90deg);
    }
}

/* everywhere else a tap turns it (cube-loader.js); iOS Safari only delivers taps on non-interactive elements to the
   document listener when they look clickable */
@media not all and (hover: hover) and (pointer: fine) {
    html.cube-world .me-cube {
        cursor: pointer;
    }
}

/* without container units the cqw transforms are dropped: keep the plain photo, never the side face over it */
@supports not (width: 1cqw) {
    html.cube-world .me-cube__side {
        display: none;
    }
}

/* reduced motion: no turn — the contacts face fades in over the photo */
@media (prefers-reduced-motion: reduce) {
    html.cube-world .me-cube .me-cube__prism,
    html.cube-world .me-cube:hover .me-cube__prism,
    html.cube-world .me-cube.is-turned .me-cube__prism,
    html.cube-world .me-cube img.me,
    html.cube-world .me-cube__side {
        transform: none;
        transition: none;
    }

    html.cube-world .me-cube__side {
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s, visibility .3s;
    }

    html.cube-world .me-cube.is-turned .me-cube__side {
        opacity: 1;
        visibility: visible;
    }
}

@media (prefers-reduced-motion: reduce) and (hover: hover) and (pointer: fine) {
    html.cube-world .me-cube:hover .me-cube__side {
        opacity: 1;
        visibility: visible;
    }
}

/* ---------------------------------------------------------------------------------------------------------------------
   Section pills: a static isometric mini cube (green top) instead of the leading icon — the site's cube "bullet".
   Still on purpose: the scene behind already moves.
   --------------------------------------------------------------------------------------------------------------------- */
html.cube-world .subtitle > i:first-child {
    display: none;
}

html.cube-world .subtitle::before {
    content: '';
    flex: none;
    width: 13px;
    height: 15px;
    margin-right: 10px; /* the icon's gap (style.css .subtitle i) */
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath d='M7 0 14 4 7 8 0 4Z' fill='%2328e98c'/%3E%3Cpath d='M0 4 7 8 7 16 0 12Z' fill='%23474747'/%3E%3Cpath d='M7 8 14 4 14 12 7 16Z' fill='%232b2b2b'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------------------------------------------------------------------------------------------------------------------
   «Як я працюю»: the number circles become cubes seen from above-right; the top face lights up when the green timeline
   reaches the step (li.is-passed, main.js process_line) — like the hero cube's green module, and the scene's stairs here.
   Drawn flat (oblique projection: square front face, skewed top and side faces), not with 3D transforms — Chrome
   composites 3D-transformed faces without edge antialiasing and they looked jagged (owner, 2026-11-13).
   The front face (40 / 34 px) keeps the old circle's centre (55 / 44 px box), so it stays on the line.
   --------------------------------------------------------------------------------------------------------------------- */
html.cube-world .process-num {
    --depth: 12px;
    left: 7.5px;
    top: 7.5px;
    width: 40px;
    height: 40px;
    border-radius: 0;
    border: 1px solid #111;
    background: #2e2e2e;
    color: #999;
}

html.cube-world .process-num::before,
html.cube-world .process-num::after {
    content: '';
    position: absolute;
    border: 1px solid #111;
    transition: background-color .4s var(--cube-ease);
}

/* top face: sits on the front face's top edge, its far edge shifted right by the depth */
html.cube-world .process-num::before {
    left: -1px;
    bottom: calc(100% + 1px);
    width: calc(100% + 2px);
    height: var(--depth);
    background: #474747;
    transform-origin: bottom left;
    transform: skewX(-45deg);
}

/* right face: hangs off the front face's right edge, its far edge shifted up by the depth */
html.cube-world .process-num::after {
    left: calc(100% + 1px);
    top: -1px;
    width: var(--depth);
    height: calc(100% + 2px);
    background: #262626;
    transform-origin: top left;
    transform: skewY(-45deg);
}

html.cube-world .process-steps li.is-passed .process-num {
    color: var(--primary_color);
}

html.cube-world .process-steps li.is-passed .process-num::before {
    background: var(--primary_color);
}

@media (max-width: 767px) {
    html.cube-world .process-num {
        left: 4.5px; /* line at 21px: 21.5 - 34 / 2 */
        top: 5px;
        width: 34px;
        height: 34px;
        --depth: 10px;
    }
}

/* reduced motion: the timeline is full, so every cube is lit (as every circle is today) */
@media (prefers-reduced-motion: reduce) {
    html.cube-world .process-steps .process-num {
        color: var(--primary_color);
    }

    html.cube-world .process-steps .process-num::before {
        background: var(--primary_color);
    }
}

/* ---------------------------------------------------------------------------------------------------------------------
   Contact form (spec 2026-11-13-contact-form-3d-design.md): a slab with recessed field slots, a key-like submit and mini
   cubes that light up as the required fields become valid (state classes + the progress row come from cube-loader.js).
   Selectors keep style.css's full chain so they outrank it.
   --------------------------------------------------------------------------------------------------------------------- */
html.cube-world .contact-area .contact-content .contact-form {
    background: rgba(25, 25, 25, .6);
    border: 1px solid #333;
    border-radius: 24px;
    padding: 30px 32px 34px;
    box-shadow: 0 8px 0 var(--block-edge);
}

html.cube-world .contact-area .contact-content .contact-form .input-group input:not([type="hidden"]),
html.cube-world .contact-area .contact-content .contact-form .input-group textarea {
    background: #171717;
    border: 1px solid #2a2a2a;
    border-radius: 14px;
    padding: 0 16px;
    box-shadow: inset 0 3px 0 rgba(0, 0, 0, .5), inset 0 -1px 0 rgba(255, 255, 255, .04);
    transition: border-color .2s var(--cube-ease), background-color .2s var(--cube-ease);
}

/* bootstrap's .input-group zeroes the left corners of every non-first child (specificity 0,7,0); the section id outranks it */
html.cube-world #contact .contact-form .input-group input:not([type="hidden"]),
html.cube-world #contact .contact-form .input-group textarea {
    border-radius: 14px;
}

html.cube-world .contact-area .contact-content .contact-form .input-group input:not([type="hidden"]) {
    height: 50px;
    line-height: 48px;
}

html.cube-world .contact-area .contact-content .contact-form .input-group textarea {
    padding: 14px 16px;
}

html.cube-world .contact-area .contact-content .contact-form .input-group input:focus,
html.cube-world .contact-area .contact-content .contact-form .input-group textarea:focus {
    border-color: var(--primary_color);
    background: #141414;
}

html.cube-world .contact-area .contact-content .contact-form .input-group input::placeholder,
html.cube-world .contact-area .contact-content .contact-form .input-group textarea::placeholder {
    color: #8a8a8a; /* ≥ 4.5:1 on the slot */
}

html.cube-world .contact-area .contact-content .contact-form .input-group label {
    margin-bottom: 8px;
    transition: color .2s var(--cube-ease);
}

html.cube-world .contact-area .contact-content .contact-form .input-group:focus-within label {
    color: var(--primary_color);
}

/* intl-tel-input: its own inline left padding makes room for the flag; only the box changes */
html.cube-world .contact-area .contact-content .contact-form .input-group input.iti__tel-input {
    height: 50px;
    line-height: 48px;
    border-radius: 14px;
    text-indent: 6px; /* the library's inline left padding ends right at «+380»; keep the digits off it */
}

/* field cube before each required label: grey top until the field passes the form's own check */
html.cube-world .contact-area .contact-content .contact-form .cube-field > label::before {
    content: '';
    display: inline-block;
    width: 11px;
    height: 13px;
    margin-right: 8px;
    vertical-align: -1px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath d='M7 0 14 4 7 8 0 4Z' fill='%23595959'/%3E%3Cpath d='M0 4 7 8 7 16 0 12Z' fill='%23474747'/%3E%3Cpath d='M7 8 14 4 14 12 7 16Z' fill='%232b2b2b'/%3E%3C/svg%3E") center / contain no-repeat;
}

html.cube-world .contact-area .contact-content .contact-form .cube-field.is-done > label::before,
html.cube-world .form-cubes i.is-on {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath d='M7 0 14 4 7 8 0 4Z' fill='%2328e98c'/%3E%3Cpath d='M0 4 7 8 7 16 0 12Z' fill='%23474747'/%3E%3Cpath d='M7 8 14 4 14 12 7 16Z' fill='%232b2b2b'/%3E%3C/svg%3E");
}

/* the submit row: key + three cubes counting the done fields */
html.cube-world .contact-area .contact-content .contact-form .input-group.submit-btn-wrap {
    align-items: center;
    gap: 14px 18px;
}

html.cube-world .form-cubes {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #999;
}

html.cube-world .form-cubes i {
    display: inline-block;
    width: 16px;
    height: 18px;
    transition: translate .25s var(--cube-ease);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath d='M7 0 14 4 7 8 0 4Z' fill='%23595959'/%3E%3Cpath d='M0 4 7 8 7 16 0 12Z' fill='%23474747'/%3E%3Cpath d='M7 8 14 4 14 12 7 16Z' fill='%232b2b2b'/%3E%3C/svg%3E") center / contain no-repeat;
}

html.cube-world .form-cubes i.is-on {
    translate: 0 -3px;
}

html.cube-world .form-cubes em {
    font-style: normal;
    margin-left: 6px;
}

/* the submit is a key: thicker edge, lifts under a mouse, presses in. The cube row now follows it, so bootstrap's
   .input-group would square its right corners — the ids outrank that */
html.cube-world #contact .contact-form #submit-form {
    border-radius: 30px;
}

html.cube-world .contact-area .contact-content .contact-form #submit-form {
    box-shadow: 0 6px 0 var(--block-edge-green);
    transition: translate .12s var(--cube-ease), box-shadow .12s var(--cube-ease), background-color .3s, color .3s, border-color .3s;
}

@media (hover: hover) and (pointer: fine) {
    html.cube-world .contact-area .contact-content .contact-form #submit-form:hover {
        translate: 0 -2px;
        box-shadow: 0 8px 0 var(--block-edge-green);
    }
}

html.cube-world .contact-area .contact-content .contact-form #submit-form:active {
    translate: 0 5px;
    box-shadow: 0 1px 0 var(--block-edge-green);
}

@media (max-width: 767px) {
    html.cube-world .contact-area .contact-content .contact-form {
        padding: 22px 18px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html.cube-world .contact-area .contact-content .contact-form #submit-form:hover,
    html.cube-world .contact-area .contact-content .contact-form #submit-form:active,
    html.cube-world .form-cubes i.is-on {
        translate: none;
    }
}
