/* Editorial Yamaha imagery used outside the product catalogue. */
/* Cover sizing depends on height as well as width. High-density/tall screens
   retain the larger derivative; both files preserve the source composition. */
@media (max-width: 1600px) and (max-height: 1200px) and (max-resolution: 1.49dppx) {
    .start-hero[data-optimized-hero] {
        background-image: url('../images/editorial/c3x-room-1600.webp') !important;
    }
}

.start-hero {
    position: relative;
    isolation: isolate;
    background-color: var(--yamaha-color-canvas-deep);
}

@media (min-width: 900px) {
    html.sidebar-state-open body.home .start-hero,
    body.home .site-shell:has(.site-sidebar.is-open) .start-hero {
        --hero-sidebar-overlap: 1.25rem;

        width: calc(100% + var(--hero-sidebar-overlap));
        max-width: calc(100% + var(--hero-sidebar-overlap)) !important;
        margin-left: calc(-1 * var(--hero-sidebar-overlap)) !important;
        padding-left: calc(clamp(14.75rem, 19.5vw, 17.25rem) + var(--hero-sidebar-overlap)) !important;
    }
}

@media (min-width: 861px) and (max-width: 899px) {
    html.sidebar-state-open body.home .start-hero,
    body.home .site-shell:has(.site-sidebar.is-open) .start-hero {
        --hero-sidebar-overlap: 1.25rem;

        width: calc(100% + var(--hero-sidebar-overlap));
        max-width: calc(100% + var(--hero-sidebar-overlap)) !important;
        margin-left: calc(-1 * var(--hero-sidebar-overlap)) !important;
        padding-left: calc(clamp(5rem, 8vw, 8rem) + var(--hero-sidebar-overlap)) !important;
    }
}

@media (min-width: 861px) {
    body.home .start-hero :is(h1, h2),
    body.home .start-hero .wp-block-buttons {
        transition: translate var(--yamaha-motion-standard) var(--yamaha-easing-standard);
    }

    html.sidebar-state-open body.home .start-hero :is(h1, h2),
    html.sidebar-state-open body.home .start-hero .wp-block-buttons,
    body.home .site-shell:has(.site-sidebar.is-open) .start-hero :is(h1, h2),
    body.home .site-shell:has(.site-sidebar.is-open) .start-hero .wp-block-buttons {
        translate: clamp(-6.25rem, calc(-8.25rem + 3.5vw), -4.25rem) 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home .start-hero :is(h1, h2),
    body.home .start-hero .wp-block-buttons {
        transition: none;
    }
}

.start-hero::before {
    position: absolute;
    z-index: 0;
    background:
        linear-gradient(
            180deg,
            rgb(238 230 218 / 92%) 0,
            transparent 2rem
        ),
        radial-gradient(
            ellipse 78% 64% at 12% 18%,
            rgb(238 230 218 / 88%) 0%,
            rgb(238 230 218 / 58%) 38%,
            rgb(238 230 218 / 12%) 68%,
            transparent 82%
        );
    content: "";
    inset: 0;
    pointer-events: none;
}

.start-hero > * {
    position: relative;
    z-index: 1;
}

.start-hero :is(h1, h2) {
    width: min(100%, 6ch);
    max-width: 6ch;
    margin-inline: calc(12rem - 3ch) 0 !important;
    font-size: clamp(4rem, 7.4vw, 7.5rem);
    text-align: center !important;
    text-wrap: balance;
    text-shadow: 0 1px 1.25rem rgb(251 248 242 / 50%);
}

.start-hero .wp-block-buttons {
    width: fit-content;
    max-width: none !important;
    margin: clamp(2rem, 4vw, 3rem) 0 0 clamp(1rem, 2vw, 2rem) !important;
    padding: 0.35rem;
    border: 1px solid rgb(25 23 19 / 24%);
    border-radius: 999px;
    background: rgb(251 248 242 / 78%);
    box-shadow: 0 0.85rem 2.25rem rgb(55 42 27 / 10%);
    justify-content: flex-start !important;
    flex-direction: row !important;
    gap: 0.35rem;
    backdrop-filter: blur(0.45rem);
}

.start-hero .wp-block-button__link {
    min-width: 9.75rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    color: var(--yamaha-color-ink);
    transition: background-color var(--yamaha-motion-fast) var(--yamaha-easing-standard), color var(--yamaha-motion-fast) var(--yamaha-easing-standard), transform var(--yamaha-motion-fast) var(--yamaha-easing-standard);
}

.start-hero .wp-block-button + .wp-block-button {
    border-left: 1px solid rgb(25 23 19 / 18%);
}

.start-hero .wp-block-button__link:hover,
.start-hero .wp-block-button__link:focus-visible {
    background: var(--yamaha-color-ink);
    color: var(--yamaha-color-surface);
    transform: translateY(-2px);
}

/* The headline and actions share one anchor in the cover photograph.
   front-page.js updates it when the hero, sidebar or font metrics change. */
body.home .start-hero.is-image-anchored {
    box-sizing: border-box;
    min-height: max(100svh, var(--hero-min-height, 36rem)) !important;
    padding: 0 !important;
    background-position: var(--hero-background-x, 50%) var(--hero-background-y, 50%) !important;
}

body.home .start-hero.is-image-anchored :is(h1, h2),
body.home .start-hero.is-image-anchored .wp-block-buttons {
    position: absolute;
    left: var(--hero-anchor-x, 26%);
    margin: 0 !important;
    translate: -50% -100% !important;
    transition: none;
}

body.home .start-hero.is-image-anchored :is(h1, h2) {
    top: calc(var(--hero-anchor-y, 46%) - var(--hero-actions-height, 4rem) - var(--hero-content-gap, 1.5rem));
    width: min(28rem, var(--hero-content-width, calc(100% - 3rem)));
    max-width: none;
    font-size: clamp(3rem, 7.4vw, 7.5rem);
}

body.home .start-hero.is-image-anchored .wp-block-buttons {
    top: var(--hero-anchor-y, 46%);
    max-width: min(calc(100% - 3rem), var(--hero-content-width, 100%)) !important;
    justify-content: center !important;
}

.home .site-main,
.home .entry-content {
    background: var(--yamaha-color-canvas);
}

.home .entry-content > .wp-block-spacer {
    height: clamp(2.75rem, 6vw, 5.5rem) !important;
}

/* Keep the reveal motion, but make the four choices read as one family. */
.home .tech-section {
    padding-block: clamp(1rem, 2.5vw, 2.5rem);
    overflow-x: clip;
}

.home .tech-row {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
    width: min(100%, 88rem);
    margin-inline: auto !important;
    gap: clamp(1rem, 2vw, 1.75rem);
}

.home .tech-card {
    display: flex !important;
    height: 100%;
    min-width: 0;
    min-height: 0;
    margin-block: 0 !important;
    flex-direction: column !important;
    border: 1px solid var(--yamaha-color-border-strong);
    border-radius: clamp(1rem, 1.5vw, 1.35rem);
    background: var(--yamaha-color-surface);
    box-shadow: var(--yamaha-shadow-soft);
}

.home .tech-card > .wp-block-column {
    box-sizing: border-box;
    width: 100%;
}

.home .tech-card:nth-child(even) {
    background: var(--yamaha-color-surface-warm);
}

.home .tech-card:hover,
.home .tech-card:focus-within,
html.technology-cards-reveal-active body.home .tech-card.is-scroll-visible:hover,
html.technology-cards-reveal-active body.home .tech-card.is-scroll-visible:focus-within {
    background: var(--yamaha-color-surface);
    box-shadow: 0 1.6rem 4rem rgb(67 51 34 / 13%);
    transform: translateY(-4px);
}

.home .tech-card > .wp-block-column:has(.wp-block-image) {
    order: 1;
    min-height: 0;
    flex: 0 0 auto !important;
    overflow: hidden;
}

.home .tech-card > .wp-block-column:not(:has(.wp-block-image)) {
    position: relative;
    order: 2;
    min-height: 10.5rem;
    flex: 1 1 auto !important;
    justify-content: flex-start;
    padding: clamp(1.25rem, 2vw, 1.75rem) 4.5rem clamp(1.25rem, 2vw, 1.75rem) clamp(1.25rem, 2vw, 1.75rem);
}

.home .tech-card > .wp-block-column:not(:has(.wp-block-image))::after {
    position: absolute;
    right: clamp(1.25rem, 2vw, 1.75rem);
    bottom: clamp(1.25rem, 2vw, 1.75rem);
    display: grid;
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid var(--yamaha-color-border-strong);
    border-radius: 50%;
    content: "\2192";
    font-size: 1.2rem;
    line-height: 1;
    place-items: center;
    transition: background-color var(--yamaha-motion-fast) var(--yamaha-easing-standard), color var(--yamaha-motion-fast) var(--yamaha-easing-standard), transform var(--yamaha-motion-fast) var(--yamaha-easing-standard);
}

.home .tech-card:hover > .wp-block-column:not(:has(.wp-block-image))::after,
.home .tech-card:focus-within > .wp-block-column:not(:has(.wp-block-image))::after {
    background: var(--yamaha-color-ink);
    color: var(--yamaha-color-surface);
    transform: translateX(0.2rem);
}

.home .tech-card .wp-block-image img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    filter: saturate(0.86) contrast(0.96);
    object-fit: cover;
    transition: filter 700ms var(--yamaha-easing-standard), transform 700ms var(--yamaha-easing-standard);
}

.home .tech-card:hover .wp-block-image img,
.home .tech-card:focus-within .wp-block-image img {
    filter: saturate(0.98) contrast(1);
    transform: scale(1.035);
}

.home .tech-card .wp-block-column > p:first-child a {
    font-size: clamp(1.55rem, 2vw, 2.15rem);
}

.home .tech-card .tech-card-description {
    max-width: 25rem;
    margin-top: 0.6rem;
    font-size: clamp(0.9rem, 1vw, 1rem);
    line-height: 1.5;
}

@media (max-width: 1180px) {
    .home .tech-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.home .entry-content > .wp-block-group:last-of-type:not(.tech-section, .start-hero, .start-visit-section) {
    width: min(calc(100% - 2.5rem), 88rem);
    max-width: 88rem !important;
    margin-inline: auto !important;
    padding: clamp(2.5rem, 6vw, 5rem);
    border: 1px solid var(--yamaha-color-border-strong);
    border-radius: clamp(1rem, 1.5vw, 1.35rem);
    background: var(--yamaha-color-canvas-deep);
    text-align: center;
}

.home .entry-content > .wp-block-group:last-of-type:not(.start-visit-section) h2 {
    margin-bottom: 1.5rem;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    letter-spacing: -0.045em;
}

.home .entry-content > .wp-block-group:last-of-type:not(.start-visit-section) .wp-block-button__link {
    border-radius: 999px;
}

.technology-process ol {
    width: min(100%, 64rem);
    max-width: 64rem !important;
    margin-inline: auto;
}

.technology-process.is-cube-enhanced {
    padding-block: clamp(2.5rem, 6vw, 5rem);
}

.technology-process.is-cube-enhanced > h2 {
    width: min(100%, 75rem);
    max-width: 75rem;
    margin: 0 auto clamp(2rem, 5vw, 3.5rem);
}

.technology-process.is-cube-enhanced > ol[hidden] {
    display: none;
}

.technology-cube-layout {
    display: grid;
    grid-template-columns: minmax(20rem, 0.92fr) minmax(0, 1.08fr);
    width: min(100%, 75rem);
    max-width: 75rem;
    align-items: center;
    margin-inline: auto;
    gap: clamp(2rem, 5vw, 5rem);
}

.technology-cube-panel {
    min-width: 0;
}

.technology-cube-shell {
    position: relative;
    padding-inline: clamp(3rem, 4.5vw, 4.25rem);
}

.technology-cube-viewport {
    position: relative;
    height: clamp(18rem, 26vw, 22rem);
    outline: none;
    perspective: 75rem;
    touch-action: pan-y;
}

.technology-cube-viewport:focus-visible {
    outline: 3px solid var(--yamaha-color-ink);
    outline-offset: 0.75rem;
}

.technology-cube-stage {
    position: relative;
    width: 100%;
    height: 100%;
    transform: translateZ(var(--cube-depth-negative)) rotateY(var(--cube-angle, 0deg));
    transform-style: preserve-3d;
    transition: transform 720ms cubic-bezier(0.2, 0.72, 0.2, 1);
    will-change: transform;
}

.technology-cube-face {
    position: absolute;
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid var(--yamaha-color-border-strong);
    border-radius: var(--yamaha-radius-card);
    backface-visibility: hidden;
    background:
        linear-gradient(135deg, rgb(255 255 255 / 58%), transparent 48%),
        var(--yamaha-color-surface-warm);
    box-shadow: 0 1.5rem 3.5rem rgb(0 0 0 / 8%);
    inset: 0;
    overflow: hidden;
}

.technology-cube-face::after {
    position: absolute;
    background: linear-gradient(90deg, transparent 74%, rgb(0 0 0 / 6%));
    content: "";
    inset: 0;
    pointer-events: none;
}

.technology-cube-face:not(.is-active) {
    pointer-events: none;
}

.technology-cube-counter {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--yamaha-color-ink-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.technology-cube-copy {
    position: relative;
    z-index: 1;
    max-width: 25ch;
    margin: auto 0;
    font-size: clamp(1.2rem, 1.65vw, 1.55rem);
    line-height: 1.55;
}

.technology-cube-control {
    position: absolute;
    z-index: 5;
    top: 50%;
    display: grid;
    width: 3.25rem;
    height: 3.25rem;
    padding: 0;
    border: 1px solid var(--yamaha-color-border-strong);
    border-radius: 50%;
    background: var(--yamaha-color-surface);
    box-shadow: 0 0.75rem 2rem rgb(0 0 0 / 10%);
    color: var(--yamaha-color-ink);
    cursor: pointer;
    font: inherit;
    font-size: 1.5rem;
    line-height: 1;
    place-items: center;
    transform: translateY(-50%);
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.technology-cube-control:hover,
.technology-cube-control:focus-visible {
    background: var(--yamaha-color-ink);
    color: var(--yamaha-color-surface);
    transform: translateY(-50%) scale(1.07);
}

.technology-cube-control:focus-visible {
    outline: 3px solid var(--yamaha-color-ink);
    outline-offset: 3px;
}

.technology-cube-control--previous {
    left: 0;
}

.technology-cube-control--next {
    right: 0;
}

.technology-cube-status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    margin: -1px;
    clip: rect(0, 0, 0, 0);
    overflow: hidden;
    white-space: nowrap;
}

.technology-cube-layout > .technology-supporting-image {
    width: 100%;
    max-width: none !important;
    height: clamp(18rem, 26vw, 22rem);
    margin: 0 !important;
    aspect-ratio: auto;
}

.technology-hero-image,
.technology-supporting-image,
.selector-editorial-image {
    width: 100%;
    max-width: none !important;
    overflow: hidden;
    margin-inline: 0 !important;
    border-radius: var(--yamaha-radius-card);
    background: var(--yamaha-color-surface-warm);
}

.technology-hero-image {
    margin-block: clamp(2.5rem, 6vw, 5rem) !important;
    aspect-ratio: 16 / 7;
}

.technology-supporting-image {
    width: min(100%, 54rem);
    max-width: 54rem !important;
    margin-block: clamp(2.5rem, 6vw, 5rem) !important;
    margin-inline: auto !important;
    aspect-ratio: 16 / 9;
}

.selector-editorial-image {
    margin-block: clamp(2.5rem, 6vw, 5rem) !important;
    aspect-ratio: 16 / 7;
}

.technology-hero-image img,
.technology-supporting-image img,
.selector-editorial-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.technology-page--akustisk .technology-hero-image img {
    object-position: 50% 48%;
}

.technology-page--silent .technology-hero-image img {
    object-position: 50% 48%;
}

.technology-page--transacoustic .technology-hero-image img {
    object-position: 50% 52%;
}

.technology-page--disklavier .technology-hero-image img {
    object-position: 52% 50%;
}

/* Technology overview */
.technology-overview-page > .has-large-font-size {
    max-width: 66rem;
}

.technology-overview-foundation {
    display: grid !important;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    width: 100%;
    max-width: none !important;
    margin-block: clamp(2.5rem, 6vw, 5rem) !important;
    overflow: hidden;
    border: 1px solid var(--yamaha-color-border-strong);
    border-radius: var(--yamaha-radius-card);
    background: var(--yamaha-color-surface);
    box-shadow: var(--yamaha-shadow-soft);
}

.technology-overview-foundation > .wp-block-column {
    margin: 0;
}

.technology-overview-foundation-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4.5rem);
}

.technology-overview-foundation-copy .technology-kicker {
    margin-bottom: 1rem !important;
}

.technology-overview-foundation-copy h2 {
    max-width: 12ch;
    margin: 0 0 1.25rem;
    font-size: clamp(2rem, 4vw, 3.8rem);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 1;
}

.technology-overview-foundation-copy p:last-child {
    max-width: 38rem;
    margin-bottom: 0;
    color: var(--yamaha-color-ink-muted);
    font-size: clamp(1rem, 1.35vw, 1.15rem);
    line-height: 1.7;
}

.technology-overview-foundation-media,
.technology-overview-foundation-media .wp-block-image {
    min-height: clamp(23rem, 38vw, 36rem);
    margin: 0;
}

.technology-overview-foundation-media {
    display: grid;
    align-self: stretch;
}

.technology-overview-foundation-media .wp-block-image {
    position: relative;
    min-width: 0;
}

.technology-overview-foundation-media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 48%;
}

.technology-overview-guide {
    width: 100%;
    max-width: none !important;
    margin-top: clamp(4rem, 8vw, 7rem) !important;
    overflow-x: clip;
}

.technology-overview-guide > .tech-section-heading {
    max-width: 16ch !important;
    margin-bottom: 1rem !important;
}

.technology-overview-guide > .technology-overview-guide-intro {
    max-width: 46rem;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem) !important;
    color: var(--yamaha-color-ink-muted);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.7;
    text-align: center;
}

.technology-overview-page .tech-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 78rem);
    margin-inline: auto !important;
    gap: clamp(1rem, 2vw, 1.75rem);
}

.technology-overview-page .tech-card {
    display: flex !important;
    min-width: 0;
    min-height: 0;
    margin: 0 !important;
    flex-direction: column !important;
    border: 1px solid var(--yamaha-color-border-strong);
    border-radius: var(--yamaha-radius-card);
    background: var(--yamaha-color-surface);
    box-shadow: var(--yamaha-shadow-soft);
}

.technology-overview-page .tech-card:nth-child(even) {
    background: var(--yamaha-color-surface-warm);
}

.technology-overview-page .tech-card > .wp-block-column {
    box-sizing: border-box;
    width: 100%;
}

.technology-overview-page .tech-card > .wp-block-column:has(.wp-block-image) {
    order: 1;
    min-height: 0;
    flex: 0 0 auto !important;
    padding: 0;
    overflow: hidden;
}

.technology-overview-page .tech-card > .wp-block-column:not(:has(.wp-block-image)) {
    position: relative;
    order: 2;
    min-height: 10rem;
    flex: 1 1 auto !important;
    padding: clamp(1.4rem, 2.5vw, 2rem) 5rem clamp(1.4rem, 2.5vw, 2rem) clamp(1.4rem, 2.5vw, 2rem);
}

.technology-overview-page .tech-card > .wp-block-column:not(:has(.wp-block-image))::after {
    position: absolute;
    right: clamp(1.4rem, 2.5vw, 2rem);
    bottom: clamp(1.4rem, 2.5vw, 2rem);
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--yamaha-color-border-strong);
    border-radius: 50%;
    content: "\2192";
    font-size: 1.2rem;
    place-items: center;
    transition: background-color var(--yamaha-motion-fast) var(--yamaha-easing-standard), color var(--yamaha-motion-fast) var(--yamaha-easing-standard), transform var(--yamaha-motion-fast) var(--yamaha-easing-standard);
}

.technology-overview-page .tech-card:hover > .wp-block-column:not(:has(.wp-block-image))::after,
.technology-overview-page .tech-card:focus-within > .wp-block-column:not(:has(.wp-block-image))::after {
    background: var(--yamaha-color-ink);
    color: var(--yamaha-color-surface);
    transform: translateX(0.2rem);
}

.technology-overview-page .tech-card .wp-block-image img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 8;
    filter: saturate(0.86) contrast(0.96);
    object-fit: cover;
    transition: filter 700ms var(--yamaha-easing-standard), transform 700ms var(--yamaha-easing-standard);
}

.technology-overview-page .tech-card:hover .wp-block-image img,
.technology-overview-page .tech-card:focus-within .wp-block-image img {
    filter: saturate(0.98) contrast(1);
    transform: scale(1.035);
}

.technology-overview-page .tech-card .wp-block-column > p:first-child a {
    font-size: clamp(1.65rem, 2.4vw, 2.35rem);
}

.technology-overview-page .tech-card .tech-card-description {
    margin-top: 0.65rem;
    font-size: clamp(0.95rem, 1.15vw, 1.05rem);
    line-height: 1.55;
}

.selector-editorial-image img {
    object-position: 50% 45%;
}

@media (max-width: 781px) {
    .start-hero::before {
        background:
            linear-gradient(
                180deg,
                rgb(238 230 218 / 92%) 0,
                transparent 2rem
            ),
            linear-gradient(
                180deg,
                rgb(238 230 218 / 86%) 0%,
                rgb(238 230 218 / 58%) 30%,
                rgb(238 230 218 / 10%) 58%,
                transparent 78%
            );
    }

    .start-hero :is(h1, h2) {
        width: 100%;
        max-width: 12ch;
        margin-inline: auto !important;
        font-size: clamp(3.25rem, 12vw, 4.75rem);
        text-align: center !important;
    }

    .start-hero .wp-block-buttons {
        margin-inline: auto !important;
        justify-content: center !important;
    }

    .home .tech-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .technology-overview-foundation {
        grid-template-columns: minmax(0, 1fr);
    }

    .technology-overview-foundation-media {
        order: -1;
    }

    .technology-overview-foundation-media,
    .technology-overview-foundation-media .wp-block-image {
        min-height: 16rem;
    }

    .technology-overview-page .tech-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .technology-hero-image,
    .selector-editorial-image {
        aspect-ratio: 4 / 3;
    }

    .tech-card {
        gap: 0;
        min-height: 0;
    }

    .tech-card .wp-block-image img {
        height: clamp(13rem, 58vw, 15rem);
        min-height: 0;
    }

    .tech-card > .wp-block-column:not(:has(.wp-block-image)) {
        min-height: 9.5rem;
        padding: 1.5rem;
    }

    .home .tech-card > .wp-block-column:not(:has(.wp-block-image)) {
        padding-right: 4.75rem;
    }

    .home .tech-card > .wp-block-column:not(:has(.wp-block-image))::after {
        right: 1.5rem;
        bottom: 1.5rem;
    }

    .technology-supporting-image {
        aspect-ratio: 3 / 2;
    }

    .technology-process.is-cube-enhanced > h2 {
        margin-bottom: 2rem;
    }

    .technology-cube-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .technology-cube-shell {
        padding-inline: 2.75rem;
    }

    .technology-cube-viewport {
        height: clamp(16rem, 76vw, 19rem);
    }

    .technology-cube-control {
        width: 2.75rem;
        height: 2.75rem;
    }

    .technology-cube-layout > .technology-supporting-image {
        height: auto;
        aspect-ratio: 3 / 2;
    }
}

@media (max-width: 420px) {
    .start-hero .wp-block-buttons {
        width: min(100%, 18rem);
        border-radius: 1.75rem;
        flex-direction: column !important;
    }

    .start-hero .wp-block-button,
    .start-hero .wp-block-button__link {
        width: 100%;
    }

    .start-hero .wp-block-button + .wp-block-button {
        border-top: 1px solid rgb(25 23 19 / 18%);
        border-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .technology-cube-stage,
    .technology-cube-control {
        transition-duration: 1ms;
    }
}
