/* Module 12 — no global reset, dependencies, or external fonts. */
.wi-footer {
    
    --black: #0a0a0a;
    --crimson: #b31217;
    --gold: #c89b3c;
    --ivory: #f7edda;
    --burgundy: #6f0b0b;
    background: var(--wi-paper, #faf9f6);
    color: var(--black);
    width: 100%;
    font: 14px/1.55 Arial, Helvetica, sans-serif;
    container-type: inline-size;
    isolation: isolate;
}

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

    .wi-footer p,
    .wi-footer :where(footer) h2 {
        margin: 0;
    }

    .wi-footer a {
        color: inherit;
        text-decoration: none;
    }

    .wi-footer a,
    .wi-footer__form button {
        user-select: none;
        -webkit-user-select: none;
        touch-action: manipulation;
    }

    .wi-footer :focus-visible {
        outline: 2px solid var(--gold);
        outline-offset: 5px;
    }

.wi-footer__inner {
    max-width: 1320px;
    margin: auto;
    padding: 58px 56px 0;
}

.wi-footer__rule {
    height: 1px;
    background: #0a0a0a66;
    margin-bottom: 58px;
}

.wi-footer__grid {
    display: grid;
    grid-template-columns: 2.35fr 1fr 1fr 1fr 2.05fr;
    gap: 30px;
    align-items: start;
}

.wi-footer__brand {
    text-align: center;
    padding: 0 20px 0 0;
}

.wi-footer__logo {
    display: block;
    position: relative;
    width: 100%;
    max-width: 290px;
    aspect-ratio: 4.65;
    margin: 0 auto;
    overflow: hidden;
    mix-blend-mode: multiply;
}

    .wi-footer__logo img {
        position: absolute;
        width: 108%;
        height: auto;
        max-width: none;
        left: -4%;
        top: -90%;
    }

.wi-footer .wi-footer__slogan {
    font: italic 22px/1.5 Georgia, "Times New Roman", serif;
    color: var(--burgundy);
    margin-top: 14px;
    white-space: nowrap;
}

.wi-footer__social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

    .wi-footer__social a {
        width: 40px;
        height: 40px;
        border: 1px solid #0a0a0a99;
        border-radius: 50%;
        display: grid;
        place-items: center;
        transition: color 0.22s, border-color 0.22s, background 0.22s, transform 0.22s;
    }

.wi-footer svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.wi-footer__social a:hover {
    color: var(--burgundy);
    border-color: var(--gold);
    background: #f7edda;
    transform: translateY(-3px);
}

.wi-footer :where(footer) h2 {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2.6px;
    text-transform: uppercase;
    line-height: 1.5;
    margin-bottom: 13px;
}

.wi-footer__nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

    .wi-footer__nav h2 {
        margin-bottom: 3px;
    }

    .wi-footer__nav a {
        font-size: 12px;
        letter-spacing: 0.35px;
        color: #4d4b48;
        transition: color 0.2s;
    }

        .wi-footer__nav a:hover {
            color: var(--crimson);
        }

.wi-footer__newsletter {
    border-left: 1px solid #0a0a0a15;
    padding-left: 30px;
    min-width: 0;
}

    .wi-footer__newsletter > p {
        font-size: 12px;
        color: #66615c;
        line-height: 1.6;
    }

.wi-footer__form {
    display: flex;
    align-items: stretch;
    border: 1px solid #0a0a0a40;
    margin-top: 18px;
    min-height: 44px;
    transition: border-color 0.2s;
}

    .wi-footer__form:focus-within {
        border-color: var(--gold);
    }

.wi-footer__field {
    flex: 1;
    min-width: 0;
}

.wi-footer__form input {
    font: 12px Arial, sans-serif;
    background: transparent;
    border: 0;
    border-radius: 0;
    width: 100%;
    height: 100%;
    min-height: 44px;
    padding: 12px;
    color: var(--black);
}

    .wi-footer__form input::placeholder {
        color: #827e77;
    }

    .wi-footer__form input:focus-visible {
        outline: 1px solid var(--gold);
        outline-offset: -3px;
    }

.wi-footer__form button {
    width: 44px;
    flex-shrink: 0;
    border: 0;
    background: transparent;
    color: var(--black);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: color 0.2s, background 0.2s;
}

    .wi-footer__form button:hover {
        color: var(--burgundy);
        background: var(--ivory);
    }

    .wi-footer__form button:disabled {
        opacity: 0.5;
        cursor: wait;
    }

.wi-footer .wi-footer__status {
    font-size: 11px;
    margin-top: 10px;
    min-height: 18px;
    color: var(--burgundy);
}

.wi-footer .wi-footer__copyright {
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #726c64;
    padding: 48px 0 14px;
}
/* Original PNG retained. Show only its top ink band, at natural proportions.
   The lower unused transparency/noise is clipped, not scaled into the footer. */
.wi-footer__ink {
    position: relative;
    width: 100%;
    aspect-ratio: 2048/230;
    overflow: hidden;
    background: var(--wi-paper, #faf9f6);
}

    .wi-footer__ink img {
        display: block;
        width: 100%;
        height: auto;
        max-width: none;
        position: absolute;
        top: 0;
        left: 0;
        mask-image: linear-gradient(#000 0 29%, transparent 35%);
        -webkit-mask-image: linear-gradient(#000 0 29%, transparent 35%);
    }

.wi-footer__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

@container (max-width:1100px) {
    .wi-footer__inner {
        padding-inline: 32px;
    }

    .wi-footer__grid {
        grid-template-columns: 1.8fr 1fr 1fr 1fr;
        gap: 26px;
    }

    .wi-footer__newsletter {
        grid-column: 2/5;
        border-left: 0;
        padding-left: 0;
        max-width: 470px;
    }

    .wi-footer__brand {
        grid-row: 1/3;
        padding-right: 8px;
    }

    .wi-footer__social {
        gap: 10px;
    }
}

@container (max-width:650px) {
    .wi-footer__inner {
        padding: 48px 22px 0;
    }

    .wi-footer__rule {
        margin-bottom: 34px;
    }

    .wi-footer__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px 14px;
    }

    .wi-footer__brand {
        grid-column: 1/-1;
        grid-row: auto;
        padding: 0 0 8px;
    }

    .wi-footer__logo {
        max-width: 260px;
    }

    .wi-footer__social {
        gap: 18px;
        margin-top: 20px;
    }

        .wi-footer__social a {
            width: 44px;
            height: 44px;
        }

    .wi-footer__newsletter {
        grid-column: 1/-1;
        max-width: none;
        border-top: 1px solid #0a0a0a15;
        padding-top: 26px;
    }

    .wi-footer :where(footer) h2 {
        font-size: 10px;
        letter-spacing: 1.7px;
    }

    .wi-footer__nav {
        gap: 0;
    }

        .wi-footer__nav a {
            font-size: 11px;
            min-height: 38px;
            display: flex;
            align-items: center;
        }

    .wi-footer__form {
        margin-top: 15px;
    }

    .wi-footer__form input {
        font-size: 16px;
    }

    .wi-footer .wi-footer__copyright {
        font-size: 8px;
        letter-spacing: 1px;
        padding-top: 25px;
    }

    .wi-footer__ink {
        height: 82px;
        aspect-ratio: auto;
    }

        .wi-footer__ink img {
            width: max(100%, 730px);
            left: 50%;
            transform: translateX(-50%);
        }
}

@media (prefers-reduced-motion: reduce) {
    .wi-footer * {
        transition: none !important;
    }

    .wi-footer__social a:hover {
        transform: none;
    }
}

/* Footer-owned copy of the FAQ contact presentation. */
.wi-footer-contact__contact {
    width: auto;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    min-height: 46px;
    padding: 12px 23px;
    border-radius: 0px;
    background: #0a0a0a;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 5px 18px #0a0a0a15;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    transition: transform 0.25s, box-shadow 0.25s;
}

    .wi-footer-contact__contact::before {
        content: "";
        position: absolute;
        z-index: -1;
        inset: -80% -35%;
        background: radial-gradient(ellipse at 15% 80%, #c89b3c 0, transparent 55%), radial-gradient(ellipse at 85% 20%, #b31217 0, transparent 55%);
        opacity: 0.55;
        transform: translateX(-8%);
        transition: transform 0.5s, opacity 0.4s;
    }

    .wi-footer-contact__contact:hover::before,
    .wi-footer-contact__contact:focus-visible::before {
        opacity: 1;
        transform: translateX(8%) rotate(8deg);
    }

    .wi-footer-contact__contact:hover {
        transform: translateY(-2px);
        box-shadow: -5px 5px 18px #c89b3c25, 5px 4px 18px #b3121725;
    }

    .wi-footer-contact__contact:focus-visible {
        outline: 3px solid var(--gold);
        outline-offset: 5px;
    }

    .wi-footer-contact__contact svg {
        transition: transform 0.25s;
    }

    .wi-footer-contact__contact:hover svg {
        transform: translateX(3px);
    }

.wi-footer-contact__modal {
    color: var(--black);
    background: #faf8f4;
    border: 1px solid #c89b3c70;
    border-top: 3px solid var(--gold);
    width: min(540px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 38px;
    overflow: auto;
    box-shadow: 0 24px 90px #0005;
    font: 15px/1.6 Arial, Helvetica, sans-serif;
}

    .wi-footer-contact__modal[open] {
        animation: wi-footer-contact-enter 0.22s ease-out;
    }

    .wi-footer-contact__modal::backdrop {
        background: #0a0a0aa6;
    }

.wi-footer-contact__dismiss {
    position: absolute;
    right: 12px;
    top: 8px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--burgundy);
    font-size: 30px;
    cursor: pointer;
}

.wi-footer-contact__modal-eyebrow {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--burgundy);
}

.wi-footer-contact__modal-title {
    font: 36px/1.12 Georgia, serif !important;
    margin: 14px 0 !important;
}

    .wi-footer-contact__modal-title em {
        color: var(--burgundy);
    }

.wi-footer-contact__modal-intro {
    color: #57514b;
    font-size: 14px;
    margin-bottom: 24px !important;
}

.wi-footer-contact__form label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.4px;
    margin-top: 18px;
}

.wi-footer-contact__form input,
.wi-footer-contact__form textarea {
    display: block;
    width: 100%;
    margin-top: 7px;
    border: 1px solid #bdb3a2;
    border-radius: 0;
    background: #fffdf9;
    color: var(--black);
    padding: 12px;
    font: 16px/1.5 Arial, sans-serif;
    user-select: text;
    -webkit-user-select: text;
}

.wi-footer-contact__form textarea {
    resize: vertical;
    min-height: 130px;
}

    .wi-footer-contact__form input:focus,
    .wi-footer-contact__form textarea:focus {
        outline: 2px solid var(--gold);
        outline-offset: 2px;
    }

.wi-footer-contact__dismiss:focus-visible {
    outline: 2px solid var(--gold);
}

.wi-footer-contact__form-status {
    font-size: 13px;
    color: var(--burgundy);
    margin: 14px 0 !important;
}

.wi-footer-contact__contact:disabled {
    opacity: 0.6;
    cursor: wait;
}

@media (max-width: 480px) {
    .wi-footer-contact__modal {
        padding: 30px 22px;
    }

    .wi-footer-contact__modal-title {
        font-size: 30px !important;
    }
}

.wi-footer-contact__contact { border: 0; cursor: pointer; font-family: inherit; line-height: 1.6; }
@keyframes wi-footer-contact-enter { from { opacity: 0; } to { opacity: 1; } }
@media(prefers-reduced-motion:reduce) { .wi-footer-contact__modal[open] { animation:none; } }
@container(max-width:700px) { .wi-footer-contact__contact { min-height:44px; padding:11px 22px; font-size:12px; gap:22px; } }
