/* ============================================
   Osmo-inspired portfolio footer
   ============================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.osmo-footer {
    position: relative;
    z-index: 12;
    width: 100%;
    padding: 0;
    border: 0;
    scroll-margin-top: var(--nav-height);
    background: #07070b;
    color: var(--text-primary);
    overflow: hidden;
}

.osmo-footer-panel {
    position: relative;
    width: 100%;
    min-height: calc(100svh - var(--nav-height));
    margin: 0;
    padding: clamp(76px, 8vw, 112px) var(--section-pad-x) clamp(30px, 4vw, 52px);
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(circle at 16% 16%, rgba(242, 210, 154, 0.13), transparent 28%),
        radial-gradient(circle at 84% 20%, rgba(245, 240, 232, 0.08), transparent 26%),
        linear-gradient(180deg, #10100f 0%, #08080d 48%, #050507 100%);
    box-shadow: inset 0 1px 0 rgba(242, 210, 154, 0.22);
}

.osmo-footer-panel::before {
    content: "";
    position: absolute;
    inset: clamp(22px, 2.4vw, 42px) var(--section-pad-x);
    z-index: 0;
    border: 1px solid rgba(242, 210, 154, 0.14);
    pointer-events: none;
}

.osmo-footer-panel::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(242, 210, 154, 0.7), transparent);
}

.osmo-footer .footer-bottom {
    display: none;
}

.osmo-footer-top {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    align-items: start;
}

.osmo-newsletter h2 {
    margin: 0 0 clamp(28px, 4vw, 56px);
    font-family: var(--font-body);
    font-size: clamp(1.45rem, 2vw, 1.95rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: var(--text-primary);
    text-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
}

.osmo-newsletter-form {
    display: grid;
    gap: clamp(20px, 2.5vw, 32px);
}

.osmo-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.osmo-input-row label {
    display: block;
}

.osmo-input-row input {
    width: 100%;
    height: clamp(54px, 5vw, 64px);
    border: 0;
    border-radius: 2px;
    border: 1px solid rgba(245, 240, 232, 0.08);
    background: rgba(255, 255, 255, 0.055);
    color: var(--text-primary);
    font: 500 clamp(1rem, 1.2vw, 1.15rem) var(--font-body);
    letter-spacing: -0.03em;
    padding: 0 clamp(18px, 2vw, 24px);
    outline: 1px solid transparent;
    transition: background 0.2s ease, outline-color 0.2s ease;
}

.osmo-input-row input::placeholder {
    color: rgba(245, 240, 232, 0.38);
}

.osmo-input-row input:focus {
    background: rgba(255, 255, 255, 0.085);
    outline-color: rgba(242, 210, 154, 0.38);
}

.osmo-form-bottom {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 18px;
    align-items: center;
}

.osmo-consent {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: var(--text-secondary);
    font-size: clamp(0.98rem, 1.15vw, 1.12rem);
    line-height: 1.2;
}

.osmo-consent-dot {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 0 0 1px rgba(242, 210, 154, 0.16), 0 0 28px rgba(242, 210, 154, 0.08);
}

.osmo-consent a {
    color: var(--accent-light);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.osmo-submit,
.osmo-menu-pill,
.osmo-login-pill,
.osmo-join-pill {
    border: 0;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.osmo-submit {
    min-height: 54px;
    padding: 0 26px;
    border-radius: 2px;
    border: 1px solid rgba(242, 210, 154, 0.32);
    background: rgba(242, 210, 154, 0.92);
    color: #090909;
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    transition: transform 0.25s ease, background 0.25s ease;
}

.osmo-submit:hover {
    transform: translateY(-2px);
    background: var(--accent-light);
}

.osmo-footer-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(130px, 1fr));
    gap: clamp(48px, 7vw, 120px);
    width: min(100%, 860px);
}

.osmo-footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.osmo-footer-col h3 {
    margin: 0 0 clamp(24px, 3vw, 48px);
    font-family: var(--font-body);
    font-size: clamp(1.35rem, 1.85vw, 1.8rem);
    font-weight: 500;
    letter-spacing: -0.05em;
    color: var(--text-primary);
}

.osmo-footer-col a {
    width: max-content;
    max-width: 100%;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: clamp(1rem, 1.23vw, 1.18rem);
    line-height: 1.16;
    letter-spacing: -0.035em;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.osmo-footer-col a:hover {
    color: var(--accent-light);
    opacity: 1;
    transform: translateX(4px);
}

.osmo-footer-col .muted-link {
    color: var(--text-tertiary);
}

.osmo-footer-actions {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: clamp(48px, 6vw, 78px) 0 clamp(30px, 3.6vw, 48px);
}

.osmo-menu-pill {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 64px;
    padding: 0 38px 0 20px;
    border-radius: 999px;
    border: 1px solid rgba(242, 210, 154, 0.24);
    background: rgba(8, 8, 13, 0.86);
    color: var(--text-primary);
    backdrop-filter: blur(18px);
    font-size: clamp(1rem, 1.4vw, 1.35rem);
}

.osmo-menu-lines {
    width: 29px;
    height: 12px;
    border-top: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    opacity: 0.8;
}

.osmo-action-center {
    display: grid;
    place-items: center;
    width: 76px;
    min-height: 64px;
    border: 1px solid rgba(242, 210, 154, 0.24);
    border-radius: 999px;
    background: rgba(8, 8, 13, 0.86);
    color: var(--accent-light);
    backdrop-filter: blur(18px);
    font-size: 4rem;
    font-weight: 300;
    line-height: 0.8;
}

.osmo-login-pill,
.osmo-join-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 25px;
    font-size: clamp(1rem, 1.16vw, 1.12rem);
}

.osmo-login-pill {
    margin-left: -2px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    backdrop-filter: blur(18px);
}

.osmo-join-pill {
    margin-left: 0;
    border: 4px solid rgba(8, 8, 13, 0.92);
    border-radius: 999px;
    background: var(--accent-light);
    color: #090909;
}

.osmo-socials {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 24px;
}

.osmo-socials a {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    border: 1px solid rgba(242, 210, 154, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: transform 0.2s ease, background 0.2s ease;
}

.osmo-socials a:hover {
    transform: translateY(-3px);
    background: rgba(242, 210, 154, 0.18);
    color: var(--accent-light);
}

.osmo-wordmark {
    position: absolute;
    left: 0;
    right: 0;
    bottom: clamp(78px, 8vw, 112px);
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 0;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    color: rgba(245, 240, 232, 0.105);
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(10rem, 29vw, 35rem);
    font-weight: 950;
    letter-spacing: -0.11em;
    line-height: 0.72;
    text-transform: uppercase;
    transform: none;
    pointer-events: none;
    user-select: none;
}

.osmo-wordmark span {
    flex: 0 0 100%;
    min-width: 0;
    overflow: hidden;
    text-align: center;
}

.osmo-wordmark span + span {
    display: none;
}

.osmo-footer-bottom {
    position: absolute;
    left: clamp(18px, 2.8vw, 44px);
    right: clamp(18px, 2.8vw, 44px);
    bottom: clamp(24px, 2.8vw, 42px);
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    align-items: end;
    color: var(--text-secondary);
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.osmo-footer-bottom p {
    margin: 0;
    text-align: center;
    font-size: 0.82rem;
}

.osmo-footer-spacer,
.osmo-credit {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.osmo-credit {
    justify-content: flex-end;
}

.osmo-legal-pills a,
.osmo-credit a {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 8px;
    border-radius: 4px;
    border: 1px solid rgba(242, 210, 154, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
}

.osmo-credit span {
    margin-right: 6px;
    color: var(--text-secondary);
}

.osmo-credit a {
    border-radius: 999px;
    background: rgba(242, 210, 154, 0.9);
    color: #090909;
}

@media (max-width: 1100px) {
    .osmo-footer-panel {
        min-height: 1040px;
    }

    .osmo-footer-top {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .osmo-footer-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
        row-gap: 14px;
    }

    .osmo-socials {
        margin-left: 0;
    }
}

@media (max-width: 760px) {
    .osmo-footer-panel {
        min-height: auto;
        padding-bottom: 30px;
    }

    .osmo-input-row,
    .osmo-form-bottom,
    .osmo-footer-nav,
    .osmo-footer-bottom {
        grid-template-columns: 1fr;
    }

    .osmo-footer-col h3 {
        margin-bottom: 8px;
    }

    .osmo-footer-actions {
        margin: 44px 0 24px;
    }

    .osmo-menu-pill,
    .osmo-action-center {
        display: none;
    }

    .osmo-login-pill,
    .osmo-join-pill {
        min-height: 50px;
    }

    .osmo-wordmark {
        position: relative;
        left: 0;
        bottom: auto;
        margin: 44px 0 34px;
        font-size: clamp(6.5rem, 31vw, 11rem);
        transform: translateX(-6vw);
    }

    .osmo-footer-bottom {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        align-items: start;
    }

    .osmo-footer-bottom p {
        text-align: left;
    }

    .osmo-credit {
        justify-content: flex-start;
    }
}
