/* mod_footer_design 1.0.0 */

.footer-design {
    --footer-design-start: #210003;
    --footer-design-middle: #65000f;
    --footer-design-end: #9c001c;
    --footer-design-text: #fff;

    position: relative;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 82% 8%, rgb(255 255 255 / 10%), transparent 28%),
        linear-gradient(105deg, var(--footer-design-start) 0%, var(--footer-design-middle) 62%, var(--footer-design-end) 100%);
    color: var(--footer-design-text);
}

.footer-design *,
.footer-design *::before,
.footer-design *::after {
    box-sizing: border-box;
}

.footer-design::before {
    position: absolute;
    z-index: -1;
    top: -360px;
    right: -120px;
    width: 680px;
    height: 680px;
    border: 1px solid rgb(255 255 255 / 8%);
    border-radius: 50%;
    box-shadow:
        0 0 0 90px rgb(255 255 255 / 2%),
        0 0 0 180px rgb(255 255 255 / 1.5%);
    content: "";
}

.footer-design__glow {
    position: absolute;
    z-index: -1;
    inset: auto auto -180px -120px;
    width: 520px;
    height: 340px;
    border-radius: 50%;
    background: rgb(0 0 0 / 32%);
    filter: blur(70px);
    transform: rotate(-12deg);
}

.footer-design__container {
    width: min(1256px, calc(100% - 112px));
    margin-inline: auto;
    padding-block: clamp(76px, 8vw, 126px) 30px;
}

.footer-design__top {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(150px, .55fr) minmax(170px, .55fr);
    gap: clamp(54px, 7vw, 110px);
    align-items: start;
    padding-bottom: clamp(70px, 8vw, 118px);
}

.footer-design__intro {
    max-width: 650px;
}

.footer-design__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 24px;
    color: rgb(255 255 255 / 72%);
    font: 600 10px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .1em;
}

.footer-design__eyebrow span {
    width: 28px;
    height: 1px;
    background: currentColor;
}

.footer-design__brand {
    margin: 0;
    color: inherit;
    font: 400 clamp(64px, 8vw, 118px)/.92 Georgia, "Times New Roman", serif;
    letter-spacing: -.07em;
}

.footer-design__tagline {
    max-width: 520px;
    margin: 30px 0 34px;
    color: rgb(255 255 255 / 76%);
    font: 500 15px/1.8 "Helvetica Neue", Arial, sans-serif;
}

.footer-design__cta {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    gap: 26px;
    padding: 8px 9px 8px 22px;
    border: 1px solid #fff;
    border-radius: 4px;
    background: #fff;
    color: #1d090b;
    text-decoration: none;
    font: 700 13px/1.4 "Helvetica Neue", Arial, sans-serif;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.footer-design__cta svg {
    width: 36px;
    height: 36px;
    padding: 8px;
    border: 1px solid currentColor;
    border-radius: 3px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-design__cta:hover {
    background: transparent;
    color: #fff;
    transform: translateY(-3px);
}

.footer-design__column h2 {
    margin: 7px 0 27px;
    color: rgb(255 255 255 / 56%);
    font: 600 10px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.footer-design__column ul {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-design__column li {
    margin: 0;
}

.footer-design__column a {
    display: inline-block;
    color: inherit;
    text-decoration: none;
    font: 600 14px/1.5 "Helvetica Neue", Arial, sans-serif;
    transition: opacity .2s ease, transform .2s ease;
}

.footer-design__column a:hover {
    opacity: .68;
    transform: translateX(4px);
}

.footer-design__bottom {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 26px;
    border-top: 1px solid rgb(255 255 255 / 25%);
    color: rgb(255 255 255 / 65%);
    font: 500 10px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .025em;
}

.footer-design__top-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    text-decoration: none;
}

.footer-design__top-link svg {
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid rgb(255 255 255 / 70%);
    border-radius: 50%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.footer-design__top-link:hover svg {
    background: #fff;
    color: #1d090b;
    transform: translateY(-3px);
}

.footer-design :focus-visible {
    outline: 2px solid #fff;
    outline-offset: 5px;
}

@media (max-width: 900px) {
    .footer-design__container {
        width: calc(100% - 64px);
    }

    .footer-design__top {
        grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(140px, .6fr));
        gap: 45px;
    }
}

@media (max-width: 700px) {
    .footer-design__container {
        width: calc(100% - 40px);
        padding-block: 72px 24px;
    }

    .footer-design__top {
        grid-template-columns: 1fr 1fr;
        gap: 54px 28px;
        padding-bottom: 62px;
    }

    .footer-design__intro {
        grid-column: 1 / -1;
    }

    .footer-design__brand {
        font-size: clamp(60px, 22vw, 88px);
    }

    .footer-design__tagline {
        max-width: 430px;
        font-size: 14px;
    }

    .footer-design__bottom {
        align-items: flex-start;
        flex-direction: column-reverse;
    }
}

@media (max-width: 430px) {
    .footer-design__top {
        grid-template-columns: 1fr;
    }

    .footer-design__intro {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-design *,
    .footer-design *::before,
    .footer-design *::after {
        transition-duration: .01ms !important;
    }
}

@media print {
    .footer-design {
        background: #fff;
        color: #000;
    }

    .footer-design__glow,
    .footer-design__top-link {
        display: none;
    }
}
