/* NEBULA MART — about us */
.abt-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 2.25rem 0 3.5rem;
    background: linear-gradient(115deg, rgb(var(--color-ink)) 0%, rgb(var(--color-primary-dark)) 55%, rgb(var(--color-primary)) 100%)
}

.abt-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgb(255 255 255/.06) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255/.06) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: linear-gradient(100deg, #000 10%, transparent 75%);
    mask-image: linear-gradient(100deg, #000 10%, transparent 75%)
}

.abt-hero__in {
    position: relative;
    display: grid;
    gap: 2.4rem;
    align-items: center
}

@media(min-width:960px) {
    .abt-hero__in {
        grid-template-columns: 1.05fr .95fr
    }

    .abt-hero {
        padding: 3rem 0 4.5rem
    }
}

.abt-hero h1 {
    margin-top: 1rem;
    font-size: clamp(2.4rem, 5.4vw, 4.1rem)
}

.abt-hero__sub {
    margin-top: 1.1rem;
    max-width: 33rem;
    font-size: 1.08rem;
    line-height: 1.6;
    color: rgb(255 255 255/.82)
}

.abt-hero__act {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 1.8rem
}

.abt-photo {
    position: relative
}

.abt-photo::before {
    content: "";
    position: absolute;
    inset: 1.2rem -1rem -1rem 1.2rem;
    border-radius: 2rem;
    background: rgb(var(--color-accent))
}

.abt-photo img {
    position: relative;
    width: 100%;
    aspect-ratio: 5/4;
    object-fit: cover;
    border-radius: 2rem;
    background: rgb(var(--color-primary-100));
    box-shadow: 0 30px 60px -30px rgb(0 0 0/.7)
}

.abt-photo figcaption {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .65rem 1rem;
    border-radius: .9rem;
    background: #fff;
    color: var(--ink);
    font-weight: 800;
    font-size: .9rem;
    box-shadow: 0 14px 30px -14px rgb(0 0 0/.5)
}

.abt-photo figcaption .ic {
    color: var(--navy)
}

.stats {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: -2rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.5rem;
    box-shadow: 0 24px 48px -28px rgb(15 26 58/.5);
    overflow: hidden
}

@media(min-width:768px) {
    .stats {
        grid-template-columns: repeat(3, 1fr)
    }
}

.stat {
    padding: 1.6rem 1rem;
    text-align: center;
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line)
}

.stat:nth-child(-n+2) {
    border-top: 0
}

.stat:nth-child(odd) {
    border-left: 0
}

@media(min-width:768px) {
    .stat {
        border-top: 0
    }

    .stat:nth-child(odd) {
        border-left: 1px solid var(--line)
    }

    .stat:first-child {
        border-left: 0
    }
}

.stat b {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    color: var(--navy)
}

.stat span {
    display: block;
    margin-top: .5rem;
    font-size: .9rem;
    font-weight: 600;
    color: rgb(var(--color-ink)/.65)
}

.story {
    display: grid;
    gap: 2.5rem;
    align-items: center
}

@media(min-width:960px) {
    .story {
        grid-template-columns: .95fr 1.05fr;
        gap: 4rem
    }
}

.story__img {
    position: relative
}

.story__img img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 1.8rem;
    background: rgb(var(--color-primary-100))
}

.story__img .tag {
    position: absolute;
    right: -.6rem;
    bottom: 1.5rem;
    padding: 1rem 1.2rem;
    border-radius: 1.1rem;
    background: var(--amber);
    color: var(--ink);
    font-weight: 800;
    line-height: 1.25;
    box-shadow: 0 18px 34px -16px rgb(0 0 0/.5)
}

.story__img .tag b {
    display: block;
    font-family: var(--font-display);
    font-size: 1.9rem
}

.story h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem)
}

.story p {
    margin-top: 1rem;
    line-height: 1.7;
    color: rgb(var(--color-ink)/.75)
}

.story ul {
    display: grid;
    gap: .7rem;
    margin-top: 1.4rem
}

.story li {
    display: flex;
    gap: .7rem;
    align-items: center;
    font-weight: 700
}

.story li .ic {
    flex: none;
    width: 1.6rem;
    height: 1.6rem;
    padding: .3rem;
    border-radius: 50%;
    background: rgb(var(--color-success));
    color: #fff
}

.mv {
    display: grid;
    gap: 1.2rem
}

@media(min-width:900px) {
    .mv {
        grid-template-columns: 1fr 1fr
    }
}

.mv__card {
    position: relative;
    overflow: hidden;
    padding: 2.2rem;
    border-radius: 1.8rem
}

.mv__card>.ic {
    width: 3.6rem;
    height: 3.6rem;
    padding: .9rem;
    border-radius: 1.1rem
}

.mv__card h3 {
    margin-top: 1.3rem;
    font-size: 2rem
}

.mv__card p {
    margin-top: .8rem;
    line-height: 1.7;
    max-width: 30rem
}

.mv__card--m {
    background: var(--ink);
    color: #fff
}

.mv__card--m>.ic {
    background: var(--amber);
    color: var(--ink)
}

.mv__card--m p {
    color: rgb(255 255 255/.8)
}

.mv__card--m::after {
    content: "";
    position: absolute;
    right: -3rem;
    bottom: -3rem;
    width: 11rem;
    height: 11rem;
    border-radius: 50%;
    border: 1.6rem solid rgb(var(--color-accent)/.25)
}

.mv__card--v {
    background: rgb(var(--color-accent-soft));
    border: 1px solid rgb(var(--color-accent)/.45)
}

.mv__card--v>.ic {
    background: var(--navy);
    color: #fff
}

.mv__card--v p {
    color: rgb(var(--color-ink)/.78)
}

.mv__card--v::after {
    content: "";
    position: absolute;
    right: -3rem;
    bottom: -3rem;
    width: 11rem;
    height: 11rem;
    border-radius: 50%;
    border: 1.6rem solid rgb(var(--color-primary)/.1)
}

.vals {
    display: grid;
    gap: 1.1rem
}

@media(min-width:640px) {
    .vals {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(min-width:1024px) {
    .vals {
        grid-template-columns: repeat(3, 1fr)
    }
}

.val {
    padding: 1.6rem;
    transition: transform .2s, border-color .2s, box-shadow .2s
}

.val:hover {
    transform: translateY(-4px);
    border-color: var(--navy);
    box-shadow: 0 24px 40px -28px rgb(11 58 140/.6)
}

.val>.ic {
    width: 3rem;
    height: 3rem;
    padding: .8rem;
    border-radius: 1rem;
    background: var(--soft);
    color: var(--navy);
    transition: background .2s, color .2s
}

.val:hover>.ic {
    background: var(--navy);
    color: #fff
}

.val h3 {
    margin-top: 1.1rem;
    font-size: 1.35rem
}

.val p {
    margin-top: .5rem;
    line-height: 1.6;
    color: rgb(var(--color-ink)/.7)
}

.how {
    display: grid;
    gap: 1.1rem;
    counter-reset: h
}

@media(min-width:900px) {
    .how {
        grid-template-columns: repeat(4, 1fr)
    }
}

.how li {
    padding: 1.5rem;
    border-radius: 1.4rem;
    background: rgb(255 255 255/.07);
    border: 1px solid rgb(255 255 255/.14);
    counter-increment: h
}

.how li::before {
    content: counter(h);
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: var(--amber);
    color: var(--ink);
    font-weight: 800
}

.how h3 {
    margin-top: 1rem;
    font-size: 1.25rem
}

.how p {
    margin-top: .45rem;
    font-size: .92rem;
    line-height: 1.55;
    color: rgb(255 255 255/.75)
}

.gal {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr
}

@media(min-width:900px) {
    .gal {
        grid-template-columns: 1.4fr 1fr 1fr
    }
}

.gal img {
    width: 100%;
    height: 100%;
    min-height: 13rem;
    object-fit: cover;
    border-radius: 1.5rem;
    background: rgb(var(--color-primary-100))
}

.gal figure:first-child {
    grid-column: 1/-1
}

@media(min-width:900px) {
    .gal figure:first-child {
        grid-column: auto
    }
}

.gal figure {
    position: relative
}
/* three stats: last one spans the full row on small screens */
@media(max-width:767px) {
    .stat:last-child:nth-child(odd) {
        grid-column: 1 / -1
    }
}
