/* Server integration only. Visual source: approved Sites frontend v7. */
[hidden] {
    display: none !important;
}
.site-logo {
    max-width: 180px;
    max-height: 60px;
    object-fit: contain;
}
.language-picker {
    position: relative;
}
.language-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 24px);
    max-width: 88vw;
    max-height: calc(100svh - 120px);
    overflow-y: auto;
}
.language-title button {
    margin-left: auto;
}
.product-mega .product-mega {
    position: static;
    display: block;
    padding: 12px;
    box-shadow: none;
}
#menu .drawer-products > a {
    display: block;
}
#menu .drawer-products details {
    padding-left: 18px;
}
#menu .drawer-products details summary {
    font-size: 16px;
}
.honeypot {
    position: absolute;
    left: -9999px;
}
.form-success {
    padding: 18px;
    background: #dae5cc;
    color: #37572c;
}
.form-errors {
    color: #a74d30;
}
.price-wrap {
    overflow: auto;
    margin-top: 35px;
}
.price-wrap table {
    min-width: 600px;
}
.price-search {
    display: block;
}
.pre-wrap {
    white-space: pre-wrap;
}
.card-placeholder {
    height: 340px;
    display: grid;
    place-items: center;
    background: #dde4d4;
}
.card-placeholder svg {
    width: 100px;
    height: 100px;
    color: #829475;
}
.film-embed > video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #19271f;
}
.film-embed > a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.stage-dialog {
    width: min(1120px, 94vw);
    max-width: 94vw;
    max-height: 90svh;
    padding: 0;
    background: #eeeee7;
    overflow: hidden;
    border-radius: 6px;
    color: #263c2c;
}
.stage-dialog::backdrop {
    background: #0b1814cf;
    backdrop-filter: blur(7px);
}
.stage-dialog .stage-modal-header .close {
    position: static;
    padding: 9px;
    border: 1px solid #bdc8b2;
    border-radius: 50%;
    display: grid;
    place-items: center;
}
.reading-copy,
.rich-content {
    overflow-wrap: anywhere;
}
.rich-content ul,
.rich-content ol,
.reading-copy ul,
.reading-copy ol {
    padding-inline-start: 1.6em;
    margin-bottom: 1.2em;
}
.rich-content blockquote,
.reading-copy blockquote {
    border-inline-start: 3px solid #b7a080;
    padding: 10px 22px;
}
.ql-align-center {
    text-align: center;
}
.ql-align-right {
    text-align: right;
}
.ql-align-justify {
    text-align: justify;
}
.usage-grid .usage-icon {
    width: 50px;
    height: 50px;
}
@media (max-width: 600px) {
    .language-panel {
        position: fixed;
        top: 90px;
        right: 6%;
    }
}
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Five chapters, original DIORITE source order. */
.process-v3 {
    height: calc(var(--stage-count, 5) * 95svh);
}
.process-v3 .process-tabs {
    grid-template-columns: repeat(var(--stage-count, 5), minmax(0, 1fr));
}
.process-v3 .process-tabs button {
    min-width: 0;
    padding-inline: 10px;
}
.process-v3 .process-tabs button > div {
    line-height: 1.55;
}
.process-v3 .p3-route .p3-node {
    left: calc(
        var(--node-position) - var(--node-index) /
            max(1, var(--stage-count) - 1) * 74px
    );
    right: auto;
    top: var(--node-top);
}
.process-v3 .p3-node-name {
    max-width: 105px;
    line-height: 1.5;
}
.process-v3 .stage-copy h3 {
    font-size: clamp(23px, 2.5vw, 36px);
    line-height: 1.35;
}
@media (max-width: 900px) {
    .process-v3 .process-tabs b {
        display: none;
    }
    .process-v3 .process-tabs button {
        gap: 7px;
        font-size: 10px;
    }
}
@media (max-width: 600px) {
    .process-v3 {
        height: auto;
    }
    .process-v3 .p3-route .p3-node {
        left: calc(
            var(--node-position) - var(--node-index) /
                max(1, var(--stage-count) - 1) * 48px
        );
        top: calc(var(--node-top) * 0.7);
    }
    .process-v3 .p3-node-name {
        width: 65px;
        font-size: 7px;
    }
    .process-v3 .process-tabs {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }
    .process-v3 .process-tabs button {
        flex: 0 0 44%;
        scroll-snap-align: start;
        min-height: 80px;
    }
    .process-v3 .stage-copy h3 {
        font-size: 21px;
    }
}
