html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: #000;
    color: #fff;
    font-family: 'Google Sans', 'Google Sans Flex', sans-serif;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after {
    box-sizing: inherit;
}


img {
    max-width: 100%;
    height: auto;
}
/* Shell + notch nav */
.home-shell {
    position: relative;
    background: #000;
    padding: 28px 28px 0;
}

.nav-notch {
    position: absolute;
    top: 28px;
    left: 50%;
    z-index: 30;
    width: 492px;
    height: 38px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-notch-bg {
    position: absolute;
    inset: 0;
    display: block;
    pointer-events: none;
}

.nav {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 46px;
    align-items: center;
    justify-content: center;
    transform: translateY(-4px);
}

.nav li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-family: 'Google Sans', 'Google Sans Flex', sans-serif;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav li a:hover {
    color: #fff;
}

/* Hero */
.careers-hero {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 28px 28px 0 0;
    display: flex;
    flex-direction: column;
    isolation: isolate;
}

.careers-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../assets/C-Subtract.png") center top / cover no-repeat;
    border-radius: 28px 28px 0 0;
    z-index: 0;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 100%);
    pointer-events: none;
}

.home-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 56px 0;
    min-height: 38px;
    z-index: 10;
    flex-shrink: 0;
}

.nex {
    width: 213px;
    height: auto;
    display: block;
}

.btn2 {
    color: white;
    font-family: 'Google Sans', 'Google Sans Flex', sans-serif;
    font-size: 15px;
    font-weight: 400;
    background: rgba(255, 255, 255, 0.08);
    min-width: 171px;
    height: 52px;
    padding: 0 24px;
    border-radius: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-decoration: none;
    flex-shrink: 0;
}

.btn2 img {
    width: 14px;
    height: 14px;
}

.careers-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 88px 56px 32px;
}

.careers-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100px;
    height: 32px;
    border-radius: 80px;
    background-color: rgb(25, 25, 25);
    color: white;
    border: none;
    margin: 0 0 20px;
    font-size: 10px;
    font-family: 'Google Sans', 'Google Sans Flex', sans-serif;
    font-weight: 400;
    cursor: pointer;
}

.careers-badge .dot {
    width: 8px;
    height: 8px;
}

.wwu {
    color: #fff;
    font-size: clamp(48px, 6vw, 86px);
    font-family: 'Neue Montreal', 'Google Sans', sans-serif;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin: 0;
    max-width: 700px;
    text-align: left;
}

/* Job cards grid */
.careers-section {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 56px 48px;
    background: #000;
}

.card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    padding: 22px 20px 20px;
    display: flex;
    flex-direction: column;
}

.card-top,
.card-mid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 6px;
    align-items: start;
}

.card-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.card-col:first-child {
    align-items: flex-start;
    text-align: left;
}

.card-col:last-child {
    align-items: flex-end;
    text-align: right;
}

.card-col:last-child .label {
    justify-content: flex-end;
    width: 100%;
}

.label {
    color: #B8BABD;
    font-size: 13px;
    font-family: 'Google Sans', 'Google Sans Flex', sans-serif;
    font-weight: 400;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.label img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    flex-shrink: 0;
}

.card-title,
.card-value {
    color: #fff;
    font-family: 'Google Sans', 'Google Sans Flex', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.card-title {
    font-size: 16px;
}

.divider {
    border: none;
    border-top: 1px solid rgba(184, 186, 189, 0.28);
    width: 100%;
    margin: 14px 0 16px;
}

.card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.btn-apply {
    height: 42px;
    min-width: 132px;
    padding: 0 24px;
    color: #fff;
    font-family: 'Google Sans', 'Google Sans Flex', sans-serif;
    font-size: 13px;
    font-weight: 400;
    background: #2D8D9A;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 80px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    white-space: nowrap;
}

.btn-apply img {
    width: 12px;
    height: 12px;
}

.btn-details {
    height: 42px;
    min-width: 148px;
    padding: 0 24px;
    color: #fff;
    font-family: 'Google Sans', 'Google Sans Flex', sans-serif;
    font-size: 13px;
    font-weight: 400;
    background: #242424;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

/* Footer */
.footer {
    position: relative;
    width: calc(100% - 56px);
    margin: 0 auto 28px;
    padding: 48px 56px 40px;
    background: url("../assets/careers-footer-1.png") center/cover no-repeat;
    border-radius: 30px 30px 24px 24px;
    color: white;
}

.footer-content {
    position: relative;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 36px;
}

.footer-brand {
    max-width: 420px;
}

.footer-logo {
    width: 180px;
    margin-bottom: 16px;
    display: block;
}

.footer-text {
    font-size: 14px;
    font-family: 'Google Sans', 'Google Sans Flex', sans-serif;
    line-height: 1.7;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
}

.footer-links {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.footer-links a {
    text-decoration: none;
    color: white;
    font-size: 16px;
}

.footer-bottom-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    gap: 24px;
}

.footer-middle {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 12px;
    max-height: 140px;
    align-content: flex-start;
}

.social-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.footer-bottom {
    text-align: center;
    align-self: center;
    font-size: 12px;
    opacity: 0.75;
}

.footer-bottom p {
    margin: 0;
}

.footer-info {
    display: flex;
    gap: 64px;
    justify-self: end;
}

.contact-info,
.location {
    line-height: 1.8;
    font-size: 12px;
    font-family: 'Google Sans', 'Google Sans Flex', sans-serif;
}

@media (max-width: 1100px) {
    .careers-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-header,
    .careers-hero-content {
        padding-left: 40px;
        padding-right: 40px;
    }

    .footer-bottom-row {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        order: 3;
    }

    .footer-info {
        justify-self: start;
    }
}

@media (max-width: 900px) {
    .nav-notch {
        width: min(92vw, 492px);
    }

    .nav {
        gap: 28px;
    }

    .home-header,
    .careers-hero-content,
    .careers-section {
        padding-left: 28px;
        padding-right: 28px;
    }

    .nex {
        width: min(180px, 42vw);
    }

    .careers-badge {
        margin-bottom: 16px;
    }

    .careers-hero-content {
        padding-top: 64px;
        padding-bottom: 28px;
        align-items: flex-start;
    }

    .card-top,
    .card-mid {
        gap: 16px;
    }

    .card-col:last-child {
        align-items: flex-start;
        text-align: left;
    }

    .card-col:last-child .label {
        justify-content: flex-start;
    }

    .card-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-apply,
    .btn-details {
        width: 100%;
        justify-content: center;
        white-space: normal;
    }

    .footer {
        width: calc(100% - 32px);
        padding: 40px 28px 32px;
    }

    .footer-middle {
        flex-direction: row;
        flex-wrap: wrap;
        max-height: none;
    }
}

@media (max-width: 720px) {
    .home-shell {
        padding: 16px 16px 0;
    }

    .nav-notch {
        top: 16px;
        width: min(96vw, 492px);
    }

    .nav {
        gap: 16px;
    }

    .nav li a {
        font-size: 12px;
    }

    .home-header,
    .careers-hero-content,
    .careers-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .home-header {
        flex-wrap: wrap;
        gap: 12px;
        padding-top: 10px;
    }

    .btn2 {
        min-width: 140px;
        height: 44px;
        font-size: 13px;
    }

    .careers-section {
        grid-template-columns: 1fr;
        padding-top: 24px;
        gap: 14px;
    }

    .card {
        padding: 18px 16px 16px;
    }

    .card-top,
    .card-mid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .footer-top {
        flex-direction: column;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 16px 24px;
    }

    .footer-info {
        flex-direction: column;
        gap: 20px;
    }
}
