/* =========================================================
   WIST UNIFORMS PAGE
========================================================= */

.uniform-page {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            #f8fbff 0%,
            #ffffff 100%
        );
    color: #0b244c;
}


/* =========================================================
   HERO
========================================================= */

.uniform-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #061d3e;
}

.uniform-hero__media {
    position: absolute;
    inset: 0;
}

.uniform-hero__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.uniform-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(3, 20, 46, .96) 0%,
            rgba(3, 20, 46, .88) 24%,
            rgba(3, 20, 46, .52) 52%,
            rgba(3, 20, 46, .15) 82%,
            rgba(3, 20, 46, .05) 100%
        );
}

.uniform-hero::after {
    content: "";
    position: absolute;
    top: -150px;
    right: -120px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    pointer-events: none;
}

.uniform-hero__container {
    position: relative;
    z-index: 2;
    width: min(1420px, calc(100% - 80px));
    margin: 0 auto;
}

.uniform-hero__content {
    max-width: 640px;
    padding: 100px 0;
}

.uniform-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 22px;

    color: #efb126;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.uniform-hero__eyebrow span {
    width: 34px;
    height: 2px;
    border-radius: 20px;
    background: currentColor;
}

.uniform-hero__title {
    margin: 0;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 7vw, 72px);
    font-weight: 400;
    line-height: .9;
    letter-spacing: -.05em;
}

.uniform-hero__title span {
    display: block;
    color: #2580e8;
}

.uniform-hero__text {
    max-width: 520px;
    margin: 30px 0 0;
    color: rgba(255,255,255,.78);
    font-size: 18px;
    line-height: 1.7;
}


/* =========================================================
   LOOKBOOK
========================================================= */

.uniform-lookbook {
    position: relative;
    padding: 100px 0 110px;
    background:
        radial-gradient(
            circle at 5% 0%,
            rgba(37,128,232,.10),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #f8fbff 0%,
            #f4f8fd 100%
        );
}

.uniform-lookbook::before {
    content: "LOOKBOOK";
    position: absolute;
    top: 50px;
    right: -20px;
    color: rgba(37,128,232,.035);
    font-size: clamp(120px, 16vw, 280px);
    font-weight: 900;
    letter-spacing: -.08em;
    line-height: .8;
    pointer-events: none;
}

.uniform-lookbook__container {
    position: relative;
    z-index: 2;
    width: min(1420px, calc(100% - 80px));
    margin: 0 auto;
}

.uniform-lookbook__header {
    max-width: 820px;
    margin: 0 auto 44px;
    text-align: center;
}

.uniform-lookbook__eyebrow {
    margin-bottom: 14px;
    color: #2580e8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.uniform-lookbook__header h2 {
    margin: 0;
    color: #0b244c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 5vw, 74px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.045em;
}

.uniform-lookbook__header p {
    max-width: 680px;
    margin: 18px auto 0;
    color: #6b7c93;
    font-size: 17px;
    line-height: 1.65;
}

.uniform-lookbook__stage {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #0a254d;

    box-shadow:
        0 32px 90px rgba(8, 35, 76, .16),
        inset 0 1px 0 rgba(255,255,255,.18);
}

.uniform-lookbook__stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    border:
        1px solid rgba(255,255,255,.16);
    border-radius: inherit;
}

.uniform-lookbook__slides {
    position: relative;
    min-height: 610px;
}

.uniform-lookbook__slide {
    position: absolute;
    inset: 0;
    margin: 0;

    opacity: 0;
    visibility: hidden;
    transform: scale(1.025);

    transition:
        opacity .65s ease,
        transform 1s cubic-bezier(.22,1,.36,1),
        visibility .65s ease;
}

.uniform-lookbook__slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.uniform-lookbook__slide img {
    width: 100%;
    height: 100%;
    min-height: 610px;
    display: block;
    object-fit: cover;
}

.uniform-lookbook__slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            transparent 48%,
            rgba(2, 18, 41, .58) 100%
        );
}

.uniform-lookbook__glass {
    position: absolute;
    z-index: 5;
    right: 28px;
    bottom: 28px;
    left: 28px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;

    padding: 24px 26px;

    border: 1px solid rgba(255,255,255,.18);
    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.16),
            rgba(255,255,255,.06)
        );

    backdrop-filter: blur(22px) saturate(125%);
    -webkit-backdrop-filter: blur(22px) saturate(125%);

    box-shadow:
        0 18px 45px rgba(0,15,40,.25),
        inset 0 1px 0 rgba(255,255,255,.15);
}

.uniform-lookbook__copy {
    max-width: 680px;
}

.uniform-lookbook__copy > span {
    display: block;
    margin-bottom: 7px;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(26px, 3vw, 42px);
    line-height: 1.1;
}

.uniform-lookbook__copy p {
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 14px;
    line-height: 1.55;
}

.uniform-lookbook__controls {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 0 0 auto;
}

.uniform-lookbook__counter {
    display: flex;
    align-items: baseline;
    gap: 6px;
    color: rgba(255,255,255,.7);
    font-size: 13px;
    letter-spacing: .05em;
}

.uniform-lookbook__counter strong {
    color: #ffffff;
    font-size: 17px;
}

.uniform-lookbook__arrows {
    display: flex;
    gap: 10px;
}

.uniform-lookbook__arrows button {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;

    padding: 0;

    color: #ffffff;

    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;

    background: rgba(255,255,255,.09);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    cursor: pointer;

    transition:
        background .25s ease,
        transform .25s ease,
        border-color .25s ease;
}

.uniform-lookbook__arrows button:hover {
    background: #2580e8;
    border-color: #2580e8;
    transform: translateY(-2px);
}


/* =========================================================
   COLLECTIONS
========================================================= */

.uniform-collections {
    position: relative;
    padding: 100px 0 120px;
    background: #ffffff;
}

.uniform-collections__container {
    width: min(1420px, calc(100% - 80px));
    margin: 0 auto;
}

.uniform-collections__header {
    max-width: 820px;
    margin-bottom: 44px;
}

.uniform-collections__eyebrow {
    margin-bottom: 13px;
    color: #2580e8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.uniform-collections__header h2 {
    margin: 0;
    color: #0b244c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 5vw, 72px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.045em;
}

.uniform-collections__header p {
    max-width: 640px;
    margin: 18px 0 0;
    color: #6c7c91;
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   TABS
========================================================= */

.uniform-tabs {
    position: relative;

    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));

    margin-bottom: 40px;

    overflow: hidden;

    border: 1px solid rgba(15,45,90,.08);
    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            rgba(246,249,255,.98),
            rgba(239,245,253,.88)
        );

    box-shadow:
        0 16px 50px rgba(12,44,88,.07);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.uniform-tabs__button {
    position: relative;

    min-height: 84px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    padding: 18px 20px;

    color: #586a83;

    border: 0;
    border-right: 1px solid rgba(15,45,90,.07);

    background: transparent;

    font: inherit;
    font-size: 15px;
    font-weight: 750;

    cursor: pointer;

    transition:
        color .25s ease,
        background .25s ease;
}

.uniform-tabs__button:last-child {
    border-right: 0;
}

.uniform-tabs__button::after {
    content: "";
    position: absolute;
    right: 24px;
    bottom: 0;
    left: 24px;

    height: 3px;
    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            #efb126,
            #ffd04b
        );

    transform: scaleX(0);
    transform-origin: center;

    transition:
        transform .35s cubic-bezier(.22,1,.36,1);
}

.uniform-tabs__number {
    color: rgba(11,36,76,.32);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;

    transition: color .25s ease;
}

.uniform-tabs__button:hover {
    color: #0b244c;
    background: rgba(37,128,232,.035);
}

.uniform-tabs__button.is-active {
    color: #0b244c;
    background:
        linear-gradient(
            180deg,
            rgba(37,128,232,.08),
            rgba(37,128,232,.025)
        );
}

.uniform-tabs__button.is-active::after {
    transform: scaleX(1);
}

.uniform-tabs__button.is-active
.uniform-tabs__number {
    color: #2580e8;
}


/* =========================================================
   PANEL
========================================================= */

.uniform-collection-panel {
    animation:
        uniformPanelIn .5s cubic-bezier(.22,1,.36,1);
}

.uniform-collection-panel[hidden] {
    display: none;
}

@keyframes uniformPanelIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.uniform-collection-panel__intro {
    display: grid;
    grid-template-columns:
        minmax(0, .9fr)
        minmax(320px, .6fr);

    align-items: end;

    gap: 50px;

    margin-bottom: 28px;
}

.uniform-collection-panel__eyebrow {
    display: block;
    margin-bottom: 9px;
    color: #2580e8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.uniform-collection-panel__intro h3 {
    margin: 0;
    color: #0b244c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.04em;
}

.uniform-collection-panel__intro p {
    margin: 0;
    color: #687991;
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   GALLERY
========================================================= */

.uniform-gallery {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    grid-auto-rows: 260px;

    gap: 14px;
}

.uniform-gallery__item {
    position: relative;
    overflow: hidden;

    border-radius: 20px;

    background: #edf3fa;

    box-shadow:
        0 14px 35px rgba(12,44,88,.06);

    text-decoration: none;
}

.uniform-gallery__item--large {
    grid-column: span 2;
    grid-row: span 2;
}

.uniform-gallery__item--wide {
    grid-column: span 2;
}

.uniform-gallery__item img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .7s cubic-bezier(.22,1,.36,1),
        filter .4s ease;
}

.uniform-gallery__overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: flex-end;
    justify-content: flex-end;

    padding: 18px;

    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(2,20,45,.52)
        );

    opacity: 0;

    transition: opacity .3s ease;
}

.uniform-gallery__overlay span {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;

    color: #fff;

    background: rgba(255,255,255,.12);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    transform: translateY(8px);

    transition: transform .3s ease;
}

.uniform-gallery__item:hover img {
    transform: scale(1.035);
    filter: saturate(1.05);
}

.uniform-gallery__item:hover
.uniform-gallery__overlay {
    opacity: 1;
}

.uniform-gallery__item:hover
.uniform-gallery__overlay span {
    transform: translateY(0);
}


/* =========================================================
   LIGHTBOX
========================================================= */

.uniform-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: grid;
    place-items: center;

    padding: 40px;

    background: rgba(1,12,30,.86);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}

.uniform-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.uniform-lightbox__inner {
    max-width: min(1200px, 92vw);
    max-height: 88vh;
}

.uniform-lightbox__inner img {
    max-width: 100%;
    max-height: 88vh;

    display: block;

    border-radius: 20px;

    box-shadow:
        0 30px 100px rgba(0,0,0,.45);
}

.uniform-lightbox__close {
    position: absolute;
    top: 24px;
    right: 24px;

    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    padding: 0;

    color: #fff;

    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;

    background: rgba(255,255,255,.09);

    font-size: 26px;
    line-height: 1;

    cursor: pointer;

    backdrop-filter: blur(14px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .uniform-gallery {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .uniform-collection-panel__intro {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}


@media (max-width: 850px) {

    .uniform-hero__container,
    .uniform-lookbook__container,
    .uniform-collections__container {
        width: calc(100% - 40px);
    }

    .uniform-lookbook__slides,
    .uniform-lookbook__slide img {
        min-height: 500px;
    }

    .uniform-lookbook__glass {
        flex-direction: column;
        align-items: flex-start;
    }

    .uniform-lookbook__controls {
        width: 100%;
        justify-content: space-between;
    }

    .uniform-tabs {
        grid-template-columns: 1fr;
    }

    .uniform-tabs__button {
        justify-content: flex-start;
        min-height: 66px;
        border-right: 0;
        border-bottom: 1px solid rgba(15,45,90,.07);
    }

    .uniform-tabs__button:last-child {
        border-bottom: 0;
    }

    .uniform-tabs__button::after {
        top: 14px;
        right: auto;
        bottom: 14px;
        left: 0;
        width: 3px;
        height: auto;
        transform: scaleY(0);
    }

    .uniform-tabs__button.is-active::after {
        transform: scaleY(1);
    }

    .uniform-gallery {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        grid-auto-rows: 240px;
    }
}


@media (max-width: 600px) {

    .uniform-hero {
        min-height: 500px;
    }

    .uniform-hero__overlay {
        background:
            linear-gradient(
                90deg,
                rgba(3,20,46,.97),
                rgba(3,20,46,.76) 68%,
                rgba(3,20,46,.42)
            );
    }

    .uniform-hero__content {
        padding: 90px 0 70px;
    }

    .uniform-hero__title {
        font-size: 58px;
    }

    .uniform-hero__text {
        font-size: 16px;
    }

    .uniform-lookbook {
        padding: 72px 0 80px;
    }

    .uniform-lookbook__slides,
    .uniform-lookbook__slide img {
        min-height: 430px;
    }

    .uniform-lookbook__glass {
        right: 14px;
        bottom: 14px;
        left: 14px;

        padding: 18px;

        border-radius: 18px;
    }

    .uniform-lookbook__copy > span {
        font-size: 26px;
    }

    .uniform-collections {
        padding: 75px 0 90px;
    }

    .uniform-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 330px;
    }

    .uniform-gallery__item--large,
    .uniform-gallery__item--wide {
        grid-column: auto;
        grid-row: auto;
    }

    .uniform-lightbox {
        padding: 16px;
    }
}