/* Shared site footer (KYK). Adapted from 21st.dev "Footer Section 5"
   (solaceui): oversized outlined wordmark over a fluted panel with brand,
   tagline and link columns. Ported to static HTML/CSS, black + red. */
.kf {
    --kf-red: #DB0016;
    --kf-red-d: #B80016;
    background: #fff;
    color: #fff;
    font-family: "Jost", sans-serif;
    overflow: hidden;
    margin-top: 0;
}

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

.kf-mark {
    max-width: 1320px;
    margin: 0 auto;
    padding: 56px 24px 0;
    line-height: 0;
}

.kf-mark img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: -2.2%;
    user-select: none;
    pointer-events: none;
}

.kf-panel {
    position: relative;
    background-color: #111;
    background-image:
        repeating-linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0,
            rgba(255, 255, 255, 0.035) 18px,
            rgba(255, 255, 255, 0) 36px,
            rgba(0, 0, 0, 0.25) 37px,
            rgba(255, 255, 255, 0) 38px),
        radial-gradient(120% 140% at 0% 0%, rgba(219, 0, 22, 0.28), rgba(219, 0, 22, 0) 55%);
    border-top: 3px solid var(--kf-red);
}

.kf-inner {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
    padding: 64px 24px 40px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr);
    gap: 48px;
}

.kf-brand {
    display: flex;
    flex-direction: column;
    gap: 22px;
    min-width: 0;
}

.kf-logo {
    display: inline-flex;
    overflow: hidden;
    align-self: flex-start;
    align-items: stretch;
    text-decoration: none;
}

.kf-logo-red {
    background: var(--kf-red);
    padding: 18px 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.kf-logo-red img { height: 30px; width: auto; display: block; }

.kf-logo-band {
    width: 22px;
    overflow: hidden;
    background: var(--kf-red-d);
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.kf-logo-band span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 6.5px;
    letter-spacing: 0.12em;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1;
}

.kf-tagline {
    font-size: 20px;
    line-height: 1.35;
    font-weight: 600;
    color: #fff;
    margin: 0;
    max-width: 22ch;
}

.kf-contacts {
    font-style: normal;
    display: grid;
    gap: 8px;
    font-size: 15px;
    color: #cfcfcf;
}

.kf-contacts p { margin: 0; color: inherit; }

.kf-contacts a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.kf-contacts a:hover { color: #fff; text-decoration: underline; }

.kf-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    align-content: start;
}

.kf-col h3 {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 18px;
    line-height: 1.2;
}

.kf-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }

.kf-col a,
.kf-col button {
    color: #bdbdbd;
    font-size: 15px;
    text-decoration: none;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    font-size: 15px;
    cursor: pointer;
    text-align: left;
}

.kf-col a:hover,
.kf-col button:hover,
.kf-col a:focus-visible,
.kf-col button:focus-visible { color: #fff; }

.kf-col a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--kf-red); }

.kf-bottom {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
    padding-top: 24px;
    border-top: 1px solid #262626;
    padding-right: 72px; /* room for the scroll-to-top button */
    font-size: 13px;
    color: #8a8a8a;
}

.kf-bottom p { margin: 0; color: inherit; }
.kf-bottom a { color: #bdbdbd; text-decoration: none; }
.kf-bottom a:hover { color: #fff; }

@media (max-width: 991px) {
    .kf-inner { grid-template-columns: 1fr; gap: 40px; padding: 48px 20px 32px; }
}

@media (max-width: 575px) {
    .kf-mark { padding: 36px 16px 0; }
    .kf-cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
    .kf-tagline { font-size: 18px; }
}

/* Product page keeps room for its fixed mobile buy bar */
@media (max-width: 900px) {
    .pc-page .kf-panel { padding-bottom: 76px; }
}

@media (forced-colors: active) {
    .kf-logo-red, .kf-logo-band { border: 1px solid CanvasText; }
}
