.custom-cut {
    width:calc(100% - 2.25rem);
    margin-inline:auto;
    display:grid;
    grid-template-columns:1.08fr 1fr;
}

.custom-cut .copy {
    padding:1.125rem clamp(24px,4vw,44px) clamp(24px,4vw,44px) 0;
    align-self:start;
}

.custom-cut h2 strong {
    display:block;
    font-weight:inherit;
}

.custom-cut .copy p {
    margin:1rem 0 0;
}

.custom-cut .copy .action {
    display:inline-flex;
    gap:16px;
    align-items:center;
    padding:12px 19px;
    margin-top:24px;
    background:transparent;
    box-shadow:inset 0 0 0 1px #747474;
    color:#000;
    text-decoration:none;
    font-weight:700;
    border-radius:3px;
}

.custom-cut .action:hover, .custom-cut .action:focus-visible {
    background:#f5f5f5;
}

.custom-cut a:focus-visible {
    outline:3px solid #535353;
    outline-offset:3px;
}

.custom-cut figure {
    margin:0;
    display:grid;
    align-content:center;
    justify-items:center;
    overflow:hidden;
    position:relative;
    padding:22px 8px;
}

.custom-cut .drawing {
    position:relative;
    width:min(100%,410px);
    aspect-ratio:410/290;
    container-type:inline-size;
    font-size:.8125rem;
    line-height:1.2;
}

.custom-cut .film {
    position:absolute;
    left:18%;
    top:24%;
    width:65%;
    height:56%;
    border:1.6px solid #898989;
    border-radius:4cqw;
    background:linear-gradient(140deg,#fafafa 3%,#dedede 24%,#fcfcfc 43%,#f1f1f1 54%,#e3e3e3 74%,#f5f5f5);
    box-shadow:inset 0 0 0 2px #ffffffa3,2px 5px 1px -1px #ccc,4px 15px 16px #00000019;
}

.custom-cut .film::before {
    content:"";
    position:absolute;
    inset:0;
    border-radius:inherit;
    background:linear-gradient(134deg,transparent 40%,#fff6 40.4%,#fff3 52%,transparent 52.5%);
}

.custom-cut .width, .custom-cut .height {
    position:absolute;
    display:grid;
    place-items:center;
    z-index:1;
}

.custom-cut .width {
    left:18%;
    width:65%;
    top:13%;
    border-top:1px solid #898989;
}

.custom-cut .height {
    left:11%;
    top:24%;
    height:56%;
    border-left:1px solid #898989;
}

.custom-cut .width::before, .custom-cut .width::after, .custom-cut .height::before, .custom-cut .height::after {
    content:"";
    position:absolute;
    background:#898989;
}

.custom-cut .width::before, .custom-cut .width::after {
    width:1px;
    height:12px;
    top:-6px;
}

.custom-cut .width::before {
    left:0;
}

.custom-cut .width::after {
    right:0;
}

.custom-cut .height::before, .custom-cut .height::after {
    width:12px;
    height:1px;
    left:-6px;
}

.custom-cut .height::before {
    top:0;
}

.custom-cut .height::after {
    bottom:0;
}

.custom-cut .width span, .custom-cut .height span {
    position:absolute;
    background:#fff;
    padding:2px 6px;
    white-space:nowrap;
}

.custom-cut .height span {
    transform:rotate(-90deg);
}

.custom-cut figcaption {
    margin-top:0;
}

.custom-cut .copy .intro {
    font-weight:700;
}

.custom-cut .copy .intro + p {
    margin-top:10px;
}

.custom-cut .custom-drawing {
    grid-column:1/-1;
    display:grid;
    grid-template-columns:auto 1fr;
    align-items:center;
    gap:24px;
    padding:24px clamp(24px,4vw,44px) 25px 0;
    border-top:1px dotted #bdbdbd;
}

.custom-cut .drawing-icon {
    display:grid;
    place-items:center;
    padding:8px;
    filter:grayscale(1);
}

.custom-cut .drawing-icon img {
    width:108px;
    display:block;
    max-width:100%;
    height:auto;
}

.custom-cut .custom-drawing h3 {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:6px 12px;
    margin:0;
}

.custom-cut .optional {
    font-size:.875rem;
    font-weight:400;
    background:#f3f3f3;
    padding:2px 9px;
    border-radius:3px;
}

.custom-cut .custom-drawing p {
    margin:6px 0;
    max-width:72ch;
}

.custom-cut .custom-drawing a {
    display:inline-block;
    padding:4px 0;
    color:#000;
    font-weight:700;
    text-decoration:underline dotted;
    text-underline-offset:3px;
}

@media(max-width:600px) {
    .custom-cut .custom-drawing {
        position:relative;
        display:block;
        padding:20px 20px 21px 0;
    }
    .custom-cut .drawing-icon {
        position:absolute;
        left:0;
        top:16px;
        width:60px;
        padding:2px;
    }
    .custom-cut .custom-drawing h3 {
        display:grid;
        justify-items:start;
        align-content:center;
        gap:3px;
        min-height:44px;
        padding-left:72px;
    }
    .custom-cut .custom-drawing p {
        margin-top:14px;
    }
}

@media(max-width:720px) {
    .custom-cut {
        grid-template-columns:minmax(0,1fr);
    }
    .custom-cut .copy {
        padding:1.125rem 24px 28px 0;
    }
    .custom-cut .drawing {
        max-width:340px;
    }
    .custom-cut figure {
        padding:12px 8px 16px;
    }
}
