
/* =========================================================
   REXUS88 — URBAN STREETWEAR
   Premium / Bold / Editorial / City Culture
========================================================= */


/* =========================================================
   ROOT
========================================================= */

:root {

    --black: #0b0b0b;
    --dark: #121212;
    --charcoal: #1b1b1b;

    --white: #ffffff;
    --offwhite: #f2f1ed;
    --gray: #8b8b8b;
    --light-gray: #c7c7c7;

    --border: #292929;

    --container: 1380px;

    --sans: "DM Sans", Arial, sans-serif;
    --display: "Oswald", Impact, sans-serif;

}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family: var(--sans);

    background: var(--black);

    color: var(--white);

    line-height: 1.6;

    overflow-x: hidden;

}

img {

    width: 100%;

    display: block;

}

a {

    color: inherit;

    text-decoration: none;

}

button,
input {

    font: inherit;

}


/* =========================================================
   GLOBAL CONTAINER
========================================================= */

.container {

    width: min(92%, var(--container));

    margin: auto;

}


/* =========================================================
   SECTION LABEL
========================================================= */

.section-label {

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 2px;

    color: var(--gray);

}


/* =========================================================
   EYEBROW
========================================================= */

.eyebrow {

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 3px;

    color: var(--white);

}


/* =========================================================
   TEXT LINK
========================================================= */

.text-link {

    display: inline-block;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 1px;

    border-bottom: 1px solid currentColor;

    padding-bottom: 6px;

    transition: .3s ease;

}

.text-link:hover {

    opacity: .5;

}


/* =========================================================
   BUTTON
========================================================= */

.btn {

    min-width: 205px;

    padding: 17px 20px;

    display: inline-flex;

    align-items: center;

    justify-content: space-between;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;

    transition: .3s ease;

}

.btn span {

    font-size: 20px;

    line-height: 1;

}

.btn-light {

    background: var(--white);

    color: var(--black);

}

.btn-light:hover {

    background: var(--offwhite);

    transform: translateY(-3px);

}


/* =========================================================
   HEADER
========================================================= */

.header {

    height: 82px;

    background: var(--black);

    border-bottom: 1px solid var(--border);

    display: flex;

    align-items: center;

    position: relative;

    z-index: 20;

}


.nav {

    display: flex;

    align-items: center;

    justify-content: space-between;

}


/* =========================================================
   LOGO
========================================================= */

.logo {

    font-family: var(--display);

    font-size: 31px;

    font-weight: 700;

    letter-spacing: -1px;

    line-height: 1;

}

.logo span {

    color: var(--gray);

}


/* =========================================================
   NAV MENU
========================================================= */

.menu {

    display: flex;

    align-items: center;

    gap: 38px;

    margin-left: 70px;

}

.menu a {

    position: relative;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 1.5px;

}

.menu a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -7px;

    width: 0;

    height: 1px;

    background: var(--white);

    transition: .3s ease;

}

.menu a:hover::after {

    width: 100%;

}


/* =========================================================
   NAV ACTIONS
========================================================= */

.nav-actions {

    display: flex;

    align-items: center;

    gap: 25px;

}

.nav-actions a {

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 1px;

}

.nav-actions span {

    color: var(--gray);

}


/* =========================================================
   HERO
========================================================= */

.hero {

    min-height: 780px;

    position: relative;

    display: flex;

    align-items: center;

    overflow: hidden;

    background: var(--black);

}


/* =========================================================
   HERO IMAGE
========================================================= */

.hero-image {

    position: absolute;

    inset: 0;

}

.hero-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    filter: grayscale(100%);

    opacity: .72;

    transform: scale(1.02);

}


/* =========================================================
   HERO OVERLAY
========================================================= */

.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.95) 0%,
            rgba(0,0,0,.72) 38%,
            rgba(0,0,0,.20) 75%,
            rgba(0,0,0,.45) 100%
        );

}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {

    position: relative;

    z-index: 2;

    width: min(92%, var(--container));

    margin: auto;

    padding-top: 50px;

}

.hero-content h1 {

    max-width: 900px;

    margin: 25px 0 30px;

    font-family: var(--display);

    font-size: clamp(70px, 9vw, 145px);

    font-weight: 600;

    line-height: .88;

    letter-spacing: -4px;

    text-transform: uppercase;

}

.hero-content h1 span {

    display: block;

    color: transparent;

    -webkit-text-stroke: 2px var(--white);

}

.hero-text {

    max-width: 470px;

    color: #c7c7c7;

    font-size: 14px;

    line-height: 1.8;

    margin-bottom: 35px;

}


/* =========================================================
   HERO NUMBER
========================================================= */

.hero-number {

    position: absolute;

    right: 4%;

    bottom: 35px;

    z-index: 3;

    font-family: var(--display);

    font-size: 13px;

    letter-spacing: 2px;

    color: var(--light-gray);

}


/* =========================================================
   INTRO
========================================================= */

.intro {

    padding: 145px 0;

    background: var(--offwhite);

    color: var(--black);

}

.intro-grid {

    display: grid;

    grid-template-columns: 28% 72%;

}

.intro .section-label {

    color: #777;

}

.intro .section-label span {

    display: block;

    margin-top: 10px;

    font-size: 9px;

    letter-spacing: 1.5px;

}

.intro-content {

    max-width: 850px;

}

.small-title {

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 20px;

}

.intro-content h2 {

    max-width: 800px;

    font-family: var(--display);

    font-size: clamp(60px, 7vw, 105px);

    font-weight: 500;

    line-height: .9;

    letter-spacing: -3px;

    text-transform: uppercase;

    margin-bottom: 40px;

}

.intro-content h2 span {

    display: block;

    color: #777;

}

.intro-content > p:not(.small-title) {

    max-width: 620px;

    color: #666;

    font-size: 14px;

    line-height: 1.9;

    margin-bottom: 18px;

}

.intro-content .text-link {

    margin-top: 18px;

}


/* =========================================================
   COLLECTION
========================================================= */

.collection {

    background: var(--black);

    padding: 120px 0 140px;

}

.section-heading {

    display: flex;

    align-items: end;

    justify-content: space-between;

    margin-bottom: 55px;

}

.section-heading h2 {

    margin-top: 10px;

    font-family: var(--display);

    font-size: clamp(45px, 5vw, 75px);

    font-weight: 500;

    line-height: .95;

    letter-spacing: -2px;

}

.collection .text-link {

    color: var(--white);

}


/* =========================================================
   PRODUCT GRID
========================================================= */

.product-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;

}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.product-image {

    position: relative;

    overflow: hidden;

    background: var(--charcoal);

}

.product-image img {

    aspect-ratio: 3 / 4;

    object-fit: cover;

    filter: grayscale(100%);

    transition:
        transform .7s ease,
        filter .7s ease;

}

.product-card:hover .product-image img {

    transform: scale(1.06);

    filter: grayscale(0%);

}


/* =========================================================
   PRODUCT TAG
========================================================= */

.product-tag {

    position: absolute;

    left: 14px;

    top: 14px;

    z-index: 3;

    padding: 7px 10px;

    background: var(--white);

    color: var(--black);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1px;

}


/* =========================================================
   QUICK ADD
========================================================= */

.quick-add {

    position: absolute;

    left: 15px;

    right: 15px;

    bottom: 15px;

    padding: 14px;

    border: 0;

    background: var(--white);

    color: var(--black);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;

    cursor: pointer;

    opacity: 0;

    transform: translateY(15px);

    transition: .3s ease;

}

.product-card:hover .quick-add {

    opacity: 1;

    transform: translateY(0);

}


/* =========================================================
   PRODUCT INFO
========================================================= */

.product-info {

    display: flex;

    justify-content: space-between;

    gap: 15px;

    padding: 18px 2px;

}

.product-info h3 {

    font-size: 13px;

    font-weight: 600;

}

.product-info p {

    margin-top: 4px;

    font-size: 10px;

    color: var(--gray);

}

.product-info strong {

    font-size: 12px;

    font-weight: 600;

    white-space: nowrap;

}


/* =========================================================
   EDITORIAL
========================================================= */

.editorial {

    min-height: 720px;

    position: relative;

    display: flex;

    align-items: center;

    overflow: hidden;

}


/* =========================================================
   EDITORIAL IMAGE
========================================================= */

.editorial-image {

    position: absolute;

    inset: 0;

}

.editorial-image img {

    height: 100%;

    object-fit: cover;

    filter: grayscale(100%);

    transform: scale(1.02);

}

.editorial-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.9),
            rgba(0,0,0,.35),
            rgba(0,0,0,.65)
        );

}


/* =========================================================
   EDITORIAL CONTENT
========================================================= */

.editorial-content {

    position: relative;

    z-index: 2;

    width: min(92%, var(--container));

    margin: auto;

}

.editorial-content h2 {

    max-width: 950px;

    margin: 25px 0 30px;

    font-family: var(--display);

    font-size: clamp(70px, 9vw, 135px);

    font-weight: 500;

    line-height: .86;

    letter-spacing: -4px;

    text-transform: uppercase;

}

.editorial-content h2 span {

    display: block;

    color: transparent;

    -webkit-text-stroke: 2px var(--white);

}

.editorial-content > p:not(.eyebrow) {

    max-width: 470px;

    color: #d0d0d0;

    font-size: 14px;

    line-height: 1.8;

    margin-bottom: 35px;

}


/* =========================================================
   VALUES
========================================================= */

.values {

    padding: 125px 0;

    background: var(--offwhite);

    color: var(--black);

}

.values-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid #ccc;

}

.value {

    padding: 35px 40px 20px 0;

    border-right: 1px solid #ccc;

}

.value:not(:first-child) {

    padding-left: 40px;

}

.value:last-child {

    border-right: 0;

}

.value span {

    display: block;

    margin-bottom: 50px;

    font-family: var(--display);

    font-size: 18px;

    color: #777;

}

.value h3 {

    font-family: var(--display);

    font-size: 25px;

    font-weight: 500;

    text-transform: uppercase;

    margin-bottom: 14px;

}

.value p {

    max-width: 300px;

    color: #666;

    font-size: 13px;

    line-height: 1.8;

}


/* =========================================================
   JOURNAL
========================================================= */

.journal {

    padding: 120px 0 140px;

    background: var(--black);

}

.journal-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;

}

.journal-card {

    overflow: hidden;

}

.journal-card img {

    aspect-ratio: 16 / 10;

    object-fit: cover;

    filter: grayscale(100%);

    transition:
        transform .7s ease,
        filter .7s ease;

}

.journal-card:hover img {

    transform: scale(1.04);

    filter: grayscale(0);

}

.journal-card > div {

    padding-top: 22px;

}

.journal-card span {

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;

    color: var(--gray);

}

.journal-card h3 {

    max-width: 550px;

    margin: 12px 0 20px;

    font-family: var(--display);

    font-size: 32px;

    font-weight: 500;

    line-height: 1.05;

    text-transform: uppercase;

}

.journal-card a {

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;

    border-bottom: 1px solid var(--white);

    padding-bottom: 5px;

}


/* =========================================================
   NEWSLETTER
========================================================= */

.newsletter {

    padding: 130px 0;

    background: #171717;

    text-align: center;

}

.newsletter-inner {

    max-width: 850px;

}

.newsletter h2 {

    margin: 20px 0 25px;

    font-family: var(--display);

    font-size: clamp(55px, 7vw, 95px);

    font-weight: 500;

    line-height: .9;

    letter-spacing: -3px;

}

.newsletter h2 span {

    display: block;

    color: transparent;

    -webkit-text-stroke: 1px var(--white);

}

.newsletter p:not(.section-label) {

    max-width: 520px;

    margin: auto;

    color: var(--gray);

    font-size: 13px;

    line-height: 1.8;

}


/* =========================================================
   NEWSLETTER FORM
========================================================= */

.newsletter-form {

    max-width: 520px;

    display: flex;

    margin: 40px auto 0;

    border-bottom: 1px solid #666;

}

.newsletter-form input {

    flex: 1;

    padding: 15px 0;

    border: 0;

    outline: 0;

    background: transparent;

    color: var(--white);

    font-size: 11px;

    letter-spacing: 1px;

}

.newsletter-form input::placeholder {

    color: #666;

}

.newsletter-form button {

    border: 0;

    background: transparent;

    color: var(--white);

    cursor: pointer;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;

}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    background: #050505;

    padding: 80px 0 30px;

}

.footer-top {

    display: grid;

    grid-template-columns: 2fr repeat(3, 1fr);

    gap: 50px;

    padding-bottom: 75px;

}

.footer-brand p {

    max-width: 260px;

    margin-top: 20px;

    color: #777;

    font-size: 12px;

    line-height: 1.8;

}

.footer-column {

    display: flex;

    flex-direction: column;

    gap: 12px;

}

.footer-column h4 {

    margin-bottom: 12px;

    font-size: 9px;

    font-weight: 700;

    color: #666;

    letter-spacing: 2px;

}

.footer-column a {

    font-size: 11px;

    color: #bbb;

    transition: .3s ease;

}

.footer-column a:hover {

    color: var(--white);

}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-top: 25px;

    border-top: 1px solid var(--border);

    color: #555;

    font-size: 10px;

}

.footer-bottom div {

    display: flex;

    gap: 25px;

}

.footer-bottom a:hover {

    color: var(--white);

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {


    .menu {

        gap: 20px;

        margin-left: 20px;

    }


    .hero {

        min-height: 700px;

    }


    .hero-content h1 {

        font-size: 90px;

    }


    .intro-grid {

        grid-template-columns: 1fr;

        gap: 40px;

    }


    .product-grid {

        grid-template-columns: repeat(2, 1fr);

    }


    .values-grid {

        grid-template-columns: 1fr;

    }


    .value,
    .value:not(:first-child) {

        padding: 35px 0;

        border-right: 0;

        border-bottom: 1px solid #ccc;

    }


    .value:last-child {

        border-bottom: 0;

    }


    .footer-top {

        grid-template-columns: 1.5fr repeat(3, 1fr);

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {


    .header {

        height: 70px;

    }


    .menu {

        display: none;

    }


    .nav-actions {

        gap: 15px;

    }


    .nav-actions a:first-child {

        display: none;

    }


    .logo {

        font-size: 27px;

    }


    /* HERO */

    .hero {

        min-height: 690px;

        align-items: flex-start;

    }


    .hero-image img {

        object-position: center;

    }


    .hero-overlay {

        background:
            linear-gradient(
                180deg,
                rgba(0,0,0,.88),
                rgba(0,0,0,.45) 55%,
                rgba(0,0,0,.85)
            );

    }


    .hero-content {

        padding-top: 100px;

    }


    .hero-content h1 {

        font-size: 65px;

        letter-spacing: -2px;

    }


    .hero-content h1 span {

        -webkit-text-stroke: 1px var(--white);

    }


    .hero-text {

        max-width: 340px;

        font-size: 13px;

    }


    .hero-number {

        right: 5%;

        bottom: 25px;

    }


    /* INTRO */

    .intro {

        padding: 90px 0;

    }


    .intro-content h2 {

        font-size: 62px;

        letter-spacing: -2px;

    }


    /* COLLECTION */

    .collection {

        padding: 85px 0 95px;

    }


    .section-heading {

        align-items: flex-start;

        flex-direction: column;

        gap: 20px;

    }


    .section-heading h2 {

        font-size: 48px;

    }


    .product-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 28px 12px;

    }


    .product-info {

        display: block;

    }


    .product-info h3 {

        font-size: 12px;

    }


    .product-info p {

        font-size: 9px;

    }


    .product-info strong {

        display: block;

        margin-top: 8px;

        font-size: 10px;

    }


    .quick-add {

        opacity: 1;

        transform: none;

        left: 8px;

        right: 8px;

        bottom: 8px;

        padding: 11px 7px;

        font-size: 8px;

    }


    /* EDITORIAL */

    .editorial {

        min-height: 650px;

    }


    .editorial-overlay {

        background:
            linear-gradient(
                180deg,
                rgba(0,0,0,.75),
                rgba(0,0,0,.30),
                rgba(0,0,0,.85)
            );

    }


    .editorial-content h2 {

        font-size: 68px;

        letter-spacing: -2px;

    }


    .editorial-content h2 span {

        -webkit-text-stroke: 1px var(--white);

    }


    /* VALUES */

    .values {

        padding: 85px 0;

    }


    .value span {

        margin-bottom: 25px;

    }


    /* JOURNAL */

    .journal {

        padding: 90px 0;

    }


    .journal-grid {

        grid-template-columns: 1fr;

        gap: 50px;

    }


    .journal-card h3 {

        font-size: 28px;

    }


    /* NEWSLETTER */

    .newsletter {

        padding: 90px 0;

    }


    .newsletter h2 {

        font-size: 58px;

    }


    .newsletter-form {

        display: block;

        border: 0;

    }


    .newsletter-form input {

        width: 100%;

        border-bottom: 1px solid #666;

        margin-bottom: 12px;

    }


    .newsletter-form button {

        width: 100%;

        padding: 15px;

        background: var(--white);

        color: var(--black);

    }


    /* FOOTER */

    .footer-top {

        grid-template-columns: 1fr 1fr;

        gap: 45px 25px;

    }


    .footer-brand {

        grid-column: 1 / -1;

    }


    .footer-bottom {

        flex-direction: column;

        align-items: flex-start;

        gap: 15px;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {


    .container,
    .hero-content,
    .editorial-content {

        width: 90%;

    }


    .hero-content h1 {

        font-size: 54px;

    }


    .hero-text {

        font-size: 12px;

    }


    .btn {

        min-width: 180px;

    }


    .intro-content h2 {

        font-size: 52px;

    }


    .section-heading h2 {

        font-size: 42px;

    }


    .editorial-content h2 {

        font-size: 55px;

    }


    .newsletter h2 {

        font-size: 48px;

    }


    .footer-top {

        grid-template-columns: 1fr 1fr;

    }


    .footer-column a {

        font-size: 10px;

    }

}
