body.home {
    --home-edge: max(clamp(16px, 3vw, 32px), calc((100% - 1440px) / 2));
}
body.home > .nav-menu { padding-inline: var(--home-edge); }
body.home .home-hero-band { background: #fff; }
body.home .home-slide-comparison--car { --comparison-position: 82%; }
body.home header.home-banner-artwork {
    display: grid;
    grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
    gap: clamp(16px, 2.5vw, 36px);
    align-items: center;
    width: calc(100% - 2 * var(--home-edge));
    box-sizing: border-box;
    margin: 0 auto;
    padding: 24px 0 0;
}
body.home header.home-banner-artwork .home-realizations {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
}
@media (max-width: 700px) {
    body.home header.home-banner-artwork {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        padding-top: 12px;
    }
}

body.home .home-sections { width: calc(100% - 2 * var(--home-edge)); }

.home-textile {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    min-height: 340px;
    margin-top: 32px;
    background: #fff;
    color: inherit;
    text-decoration: none;
}
.home-textile-brand, .home-textile-copy { padding: clamp(18px, 3vw, 42px); }
.home-textile-brand p { margin: 0 0 10px; font-size: 15px; font-weight: 600; }
body .home-textile-brand :is(p, h2, span) { font-family: 'Rubik', sans-serif !important; }
.home-textile .home-textile-headline {
    color: #000;
    margin: 0;
    font-size: clamp(32px, 3.3vw, 52px);
    font-weight: 800;
    line-height: 1.07;
}
.home-textile-headline span { color: #B82649; }
.home-textile-copy p { margin: 0 0 18px; font-size: 16px; line-height: 1.55; }
.home-textile:hover .home-action { background: #97203d; }
.home-textile:focus-visible { outline: 2px solid #B82649; outline-offset: 4px; }
.home-textile-preview { position: relative; width: min(85%, 274px); margin: 12px auto; container-type: inline-size; }
.home-textile-shirt { display: block; width: 100%; height: auto; }
.home-textile-print {
    position: absolute;
    top: 30%;
    left: 28%;
    width: 44%;
    transform-origin: top left;
    text-align: center;
    color: #152a48;
    font-size: clamp(10px, 6cqw, 17px);
    font-weight: 800;
    line-height: 1.05;
}
.home-textile-print [data-print-line] { display: block; white-space: nowrap; }
.home-textile-print [data-print-line] > span { display: inline-block; }
.home-textile-print [data-print-line]:nth-child(2) { color: #B82649; }
.home-textile-frame, .home-textile-caret, .home-textile-motif-slot, .home-textile-cursor {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.home-textile-frame { inset: 0; outline: 1px solid #B82649; }
.home-textile-frame--typing { outline-style: dashed; }
.home-textile-frame i {
    top: 0;
    left: 0;
    position: absolute;
    width: 5px;
    height: 5px;
    border: 1px solid #B82649;
    background: #fff;
    transform: translate(-50%, -50%);
}
.home-textile-frame i:nth-child(even) { left: 100%; }
.home-textile-frame i:nth-child(n + 3) { top: 100%; }
.home-textile-caret { width: 1px; height: 1em; }
.home-textile-caret::before {
    content: "";
    display: block;
    height: 100%;
    background: #B82649;
    animation: home-textile-caret-blink .65s steps(2, jump-none) infinite;
}
@keyframes home-textile-caret-blink { to { opacity: 0; } }
.home-textile-motif-slot {
    left: 96%;
    top: 55%;
    width: 24%;
    aspect-ratio: 1.5;
    transform: translate(-50%, -50%);
    border: 1px solid #e3d6da;
    border-radius: 4px;
    background: #fff;
}
.home-textile-motif {
    position: absolute;
    top: 47%;
    left: 50%;
    width: 21%;
    height: auto;
    transform: translate(-50%, -50%);
}
.home-textile-cursor { z-index: 1; }
@media (prefers-reduced-motion: reduce) {
    .home-textile-caret::before { animation: none; }
}
@media (max-width: 760px) {
    .home-textile { grid-template-columns: minmax(0, 1fr); }
    .home-textile-brand { padding-bottom: 0; }
    .home-textile-preview { margin: 0 auto 18px; }
}
