*,
:after,
:before {
    box-sizing: border-box
}

:root {
    --color-text: #fff;
    --color-bg: #000;
    --color-link: #ff9e4ae7;
    --color-link-hover: #f28d0a;
    --color-bg-slide: #171719;
    font-size: 20px;
}

html, body {
    overscroll-behavior: none;
}

body {
    color: var(--color-text);
    background: url('../images/background-black-lozenge.png') repeat;
    /* text-transform: uppercase; */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    font-family: "Sofia Sans Extra Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    /* overflow: hidden; */
    /* touch-action: none; */
}

a {
    color: var(--color-link);
    text-decoration: underline !important;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    padding: .25rem;
    background: rgba(0,0,0,.8);
    color:#fff;
    z-index: 100;
}
header a {
    color:#fff;
    text-decoration: none !important;
}
header nav {
    text-align: right;
}
header nav ul {
    border: 0;
    margin: 0;
    padding:0;
}
header nav ul li {
    list-style: none;
    display: inline-block;
    margin: 0 0 0 .5rem;
    padding: .25rem;
}
header nav ul li a {
    text-transform: uppercase;
    color:#fff;
    text-decoration: none !important;
    font-size: 1.3rem;
}
header .scroll-instructions {
    position: fixed;
    z-index: 101;
    top: 0px;
    right: 0;
    left: 0;
    text-align: center;
    background: rgba(0,0,0,0.6);
    color:#fff;
    font-size: 1rem;
    display: block;
}

footer {
    padding-bottom: 5rem;
}

.align-center {
    text-align: center;
}
.align-left {
    text-align: left;
}
.align-right {
    text-align: right;
}
.large {
    font-size: 1.5rem;
    line-height: 1.5rem;
}
.larger {
    font-size: 2rem;
    line-height: 2rem;
}
.largerer {
    font-size: 4rem;
    line-height: 4rem;
}

.artist-resume h3 {
    border-bottom: 1px solid var(--color-link-hover);
    margin-bottom: .5rem;
}
.artist-resume h4 {
    color: var(--color-link-hover);
    margin-bottom: .15rem;
}
.artist-resume .dark-gray-background {
    background: #111;
}


@media screen and (max-width: 768px) {

    .large {
        font-size: 1.25rem;
        line-height: 1.5rem;
    }
    .larger {
        font-size: 1.75rem;
        line-height: 2rem;
    }
}

.thin {
    font-weight: 200;
}
.padding-top {
    padding-top: 1rem;
}
.more-padding-top {
    padding-top: 3rem;
}
.more-padding-bottom {
    padding-bottom: 3rem;
}
.padding-bottom {
    padding-bottom: 1rem;
}
.border-bottom {
    border-bottom: 20px solid #000;
}
.img-fluid {
    width: 100%;
    height: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}


/* ######### gallery page ########### */

.img-square-thumbnail {
    aspect-ratio: 1/1;
    max-width: 100%;
    object-fit: cover;
    overflow: hidden;
    border: 10px solid #fff;
}
.margin-bottom {
    margin-bottom: 1.5rem;
}
.clear-filter-box {
    margin-bottom: 1.5rem;
}


section.california-building {
    background: url('../images/background-california-dreaming.jpg') no-repeat;
    background-size: cover;
    background-position: center top;
    color:#222;
}
section.california-building h2 {
    font-size: 5rem;
    text-transform: uppercase;
    text-align: center;
    margin: 0 auto;
}


section.full-screen {
    position: fixed;
    z-index: 2;
    background: rgba(0,0,0,.95);
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}
section.full-screen .container .row #fs-image-target {
    padding: 3rem;
}
section.full-screen .container .row #fs-image-target img {
    max-width: 100%;
    max-height: 80vh;
}
@media screen and (max-width: 767px) {

    section.full-screen .container .row #fs-image-target {
        padding: 1rem 0 0;
    }
    section.full-screen .container .row #fs-image-target img {
        max-width: 100%;
        max-height: 50vh;
    }

}
section.full-screen .container .row .text {
    padding: 5rem 0;
    font-size: 2rem;
}

/* ######### sections ########### */

section {
    animation-timeline: view();
    animation-range: cover 0% cover 100%;
    animation-fill-mode: both;
    animation-duration: 1ms; /* required but ignored by scroll-driven */
    animation-play-state: running;
}

section.inked {
    background: url('../images/section-background-inked.jpg') no-repeat;
    background-size: cover;
    aspect-ratio: 16/9; 
    width: 100%;
    padding: 4rem 0 2rem;
    margin: 0;
}
section.inked h2 {
    font-size: 20rem;
    text-transform: uppercase;
    text-align: center;
    margin: 0 auto 2rem;
}
section.inked .content {
    background: rgba(0,0,0,.8);
    color:#fff;
}

@media screen and (max-width: 950px) {
    section.inked h2 {
        font-size: 10rem;
    }
}
@media screen and (max-width: 768px) {
    section.inked h2 {
        font-size: 7rem;
    }
}


h2.giant{
    /* font-family: Babylonica; */
    font-size: 6rem;
    text-transform: uppercase;
    text-align: center;
    margin: 0 auto 0rem;
}

.ag-lightbox-close {
    top: 55px;
    right: 18px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

section.feature-gallery {
    padding: 1rem 0 2rem 0;
}
section.feature-gallery h2 {
    /* font-family: Babylonica; */
    font-size: 6rem;
    text-transform: uppercase;
    text-align: center;
    margin: 0 auto 0rem;
}
section.feature-gallery p {
    margin-top: 0rem;
}
section.feature-gallery .text p {
    margin-top: 1rem;
}
section.feature-gallery div.title strong {
    font-size: 2rem;
}
section.feature-gallery div.description {
    width: 80%;
    font-weight: 200;
    font-size: 1.15rem;
    line-height: 1.4rem;
}
.slideshow-image {
    max-width: 55vw;
    max-height: 70vh;
}
section.splide div.splide__track ul.splide__list li.splide__slide .photo {
    text-align: right;
}
section.splide div.splide__track ul.splide__list li.splide__slide .text {
    text-align: left;
}
@media screen and (max-width: 768px) {
    section.splide h2 {
        font-size: 4rem;
        line-height: 4rem;
    }
}

@media screen and (max-width: 767px) {

    section.splide div.splide__track ul.splide__list li.splide__slide .photo {
        text-align: center;
    }
    section.splide div.splide__track ul.splide__list li.splide__slide .text {
        text-align: left;
        display: block;
        width: 80%;
        margin: 0 auto;
    }
    section.splide div.description {
        width: 100%;
        font-weight: 200;
        font-size: 1.15rem;
        line-height: 1.4rem;
    }
    .slideshow-image {
        max-width: 55vw;
        max-height: 50vh;
    }
}


section.subscribe {
    padding-top: 2rem;
    padding-bottom: 2rem;
    background: #111;
}
section.subscribe h2 {
    font-family: Babylonica;
    font-size: 8rem;
    text-align: center;
    margin: 0 auto 0rem;
}

section.subscribe label {
    font-size: 2.5rem;
}
section.subscribe input {
    font-size: 1.5rem;
    border-radius: 8px;
    padding: .5rem 1rem;
    width: 30vw;
    border: 0px;
    margin: 0 .5rem 1rem 0;
}
section.subscribe button {
    background: var(--color-link);
    font-size: 1.5rem;
    color: #222;
    padding: .5rem;
    border-radius: 10px;
    border: 0px;
}
@media screen and (max-width: 768px) {
    section.subscribe h2 {
        font-size: 4rem;
        line-height: 4rem;
    }
}


section.full-screen {
    display: flex;
    flex-direction: row;
}
section.full-screen #close-full-screen {
    position: fixed;
    top: 10px;
    right: 10px;
}
section.full-screen #close-full-screen a {
    color:#fff;
    text-decoration: none !important;
}
section.full-screen .title {
    font-size: 2.25rem;
    border-bottom: 1px solid #999;
    margin-bottom: .5rem;
}
section.full-screen .metadata {
    font-size: 1rem;
}
section.full-screen .description {
    font-size: 1.25rem;
}
section.full-screen div#fs-image {
    padding: 2vw; 
    display: inline-flexbox;
}
section.full-screen div#fs-image img {
    max-height: 85vh;
    height: auto;
    width: auto;
    max-width: 66vw;
}
section.full-screen div#fs-text {
    width: 40vw;
    display: inline-flexbox;
}
section.full-screen div#fs-text .card {
    padding: 1rem;
    background: #333;
    margin-top: 2rem;
}

@media screen and (max-width: 900px) {

    section.full-screen {
        display: block;
        flex-direction: column;
        padding: 2rem 2rem 4rem 2rem;
    }
    section.full-screen div#fs-image {
        display: block;
    }

    section.full-screen div#fs-image img {
        max-height: 50vh;
        height: auto;
        width: auto;
        max-width: 90vw;
    }

    section.full-screen div#fs-text {
        width: 80vw;
        display: block;
    }
}





section.artist-statement {
    background: linear-gradient(to bottom,  #b7b7b7 0%,#ececec 100%);
    color: #111;
    padding-bottom: 5rem;
}

section.artist-statement h2 {
    font-size: 6rem;
    text-transform: uppercase;
    text-align: center;
    margin: 0 auto 0rem;
}
section.artist-statement .text {
    font-size: 1.5rem;
    line-height: 2.25   rem;
}
section.artist-statement .artist-text {
    background: #222;
    color:#fff;
    margin-top: -1rem;
    padding: 2rem 1rem 1rem;

}
section.artist-text .artist-text a {
    color:#d3d3d3;
}
@media screen and (max-width: 768px) {
    section.artist-statement h2 {
        font-size: 4rem;
        line-height: 4rem;
    }
    section.artist-statement .text {
        font-size: 1.2rem;
        line-height: 1.75   rem;
    }
}





@keyframes zoom-through {
    from {
    background-size: 100%;
    background-position: center 40%;
    }
    to {
    background-size: 200%;
    background-position: center 60%;
    }
}
section.fx-zoom-through {
    animation-name: zoom-through;
}


@keyframes 


/* scrolling specific styling */

.js .loading:before,
.js .loading:after {
    content: "";
    z-index: 1000;
    position: fixed
}

.js .loading:before {
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    top: 0;
    left: 0
}

.js .loading:after {
    width: 60px;
    height: 60px;
    opacity: .4;
    background: var(--color-link);
    border-radius: 50%;
    margin: -30px 0 0 -30px;
    animation: loaderAnim .7s linear infinite alternate forwards;
    top: 50%;
    left: 50%
}

@keyframes loaderAnim {
    to {
        opacity: 1;
        transform: scale(.5)
    }
}

a {
    color: var(--color-link);
    cursor: pointer;
    outline: none;
    text-decoration: none
}

a:hover {
    color: var(--color-link-hover);
    outline: none
}

a:focus {
    background: #d3d3d3;
    outline: none
}

a:focus:not(:focus-visible) {
    background: 0 0
}

a:focus-visible {
    background: 0 0;
    outline: 2px solid red
}

.unbutton {
    font: inherit;
    cursor: pointer;
    color: var(--color-link);
    background: 0 0;
    border: 0;
    margin: 0;
    padding: 0
}

.unbutton:focus {
    outline: none
}

.frame {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 100;
    pointer-events: none;
    grid-gap: 1rem;
    grid-template: "back sponsor" "title title" "info info" "nav nav" 1fr/auto auto;
    padding: 2.5rem;
    display: grid;
    position: fixed;
}

.frame a {
    pointer-events: auto
}

.frame__title {
    grid-area: title;
    place-self: end;
    align-items: start;
    display: flex;
    background: rgba(0,0,0,.8);
    padding: .5rem .5rem;
}

.frame__title-main {
    margin: 0 0 0 0;
    font-size: 1.5rem;
    font-weight: 400
}
.frame__title-main .heavy {
    font-weight: bold;
}
.frame__title-main .light {
    font-weight: 200;
}

.frame__title-back {
    align-items: flex-end;
    margin-bottom: .15rem;
    display: flex;
    position: relative
}

.frame__title-back span {
    font-size: 1.25rem;
    line-height: 1;
    transform: rotate(-45deg)
}

.frame__title-back svg {
    fill: currentColor
}

.frame__info {
    grid-area: info;
    align-self: end;
    background: rgba(0,0,0,.8);
    padding: .25rem;
    font-size: 15px;
}

.frame__nav {
    /* grid-gap: .5rem;
    grid-area: nav;
    grid-auto-flow: row;
    align-content: end;
    place-items: start;
    display: grid;
    background: rgba(0,0,0,.8);
    padding: .25rem;
    width: 25vw;
    font-size: .8rem;
    height: auto; */
    position: fixed;
    bottom: 50px;
    right: 10px;
    width: 30vw;
    background: rgba(255,255,255,.95);
    color:#333;
    border: 2px solid #333;
    padding: .5rem;
    -webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.75);
    font-size: 1rem;
}

.frame__nav-button {
    text-transform: uppercase;
    pointer-events: auto;
    transition: color .3s;
    position: relative;
    display: none;
    text-align: left;
}

.frame__nav-button:not(.frame__nav-button--current):hover {
    color: var(--color-link-hover)
}

.frame__nav-button--current {
    color: #333;
    display: block;
}

.frame__nav-button:before {
    /* content: "";
    width: 2.5rem;
    height: 3px;
    border: 1px solid #fff;
    transform-origin: 100%;
    background-color: currentColor;
    transition: transform .8s ease-in-out;
    position: absolute;
    top: 50%;
    right: calc(100% + 4px);
    transform: scaleX(0) */
}

.frame__nav-button--current:before {
    transform: scaleX(1);
    color: #333;
}

.frame__back {
    opacity: 0;
    pointer-events: none;
    text-transform: uppercase;
    grid-area: back;
    justify-self: start
}

.frame__back--show {
    opacity: 1;
    pointer-events: auto
}

.slides {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    grid-template-rows: 100%;
    grid-template-columns: 100%;
    place-items: center;
    display: grid;
    overflow: hidden
}

.slide {
    width: 100%;
    height: 104%;
    pointer-events: none;
    opacity: 0;
    will-change: transform;
    grid-area: 1/1/-1/-1;
    position: relative;
    overflow: hidden
}

.slide--current {
    pointer-events: auto;
    opacity: 1
}

.slide__inner {
    width: 100%;
    height: 100%;
    will-change: transform;
    grid-template-rows: 100%;
    grid-template-columns: 100%;
    display: grid;
    position: relative;
    overflow: hidden
}

.slide__img {
    cursor: pointer;
    z-index: 1;
    grid-area: 1/1/-1/-1;
    position: relative;
    overflow: hidden
}

.slide__img-inner {
    width: 100%;
    height: 100%;
    will-change: transform;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
}

.slide__content {
    background: var(--color-bg-slide);
    grid-column-gap: 2rem;
    grid-template: "img title" "img text" "img." /1fr 1fr;
    grid-area: 1/1/-1/-1;
    place-content: center;
    padding: 1rem;
    display: grid
}

.slide__content-img {
    height: 300px;
    /* width: 25vw;
    height: 30vh; */
    will-change: transform;
    background-position: 50%;
    background-size:contain;
    background-repeat: no-repeat;
    grid-area: img;
}

.slide__content h2 {
    text-transform: none;
    grid-area: title;
    margin: 0 0 1rem;
    font-size: max(3rem, min(2vw, 3rem));
    font-weight: 200;
    line-height: 1
}

.slide__content p {
    max-width: 260px;
    color: #ffffff80;
    grid-area: text;
    margin: 0;
    line-height: 1.5
}

.cursor {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    font-size: .8rem;
}

@media screen and (min-width:53em) {
    .frame {
        grid-template: "back.sponsor" "nav info title" /auto auto auto;
        align-content: space-between
    }

    .frame__info {
        justify-self: center
    }

    .slide__content {
        grid-column-gap: 2rem;
        grid-template: "img title" "img text" "img." /220px 300px
    }
}

.splitting .word,
.splitting .char {
    display: inline-block
}

.splitting .char {
    position: relative
}

.splitting .char:before,
.splitting .char:after {
    content: attr(data-char);
    visibility: hidden;
    -webkit-user-select: none;
    user-select: none;
    transition: inherit;
    position: absolute;
    top: 0;
    left: 0
}

.splitting {
    --word-center: calc((var(--word-total) - 1)/2);
    --char-center: calc((var(--char-total) - 1)/2);
    --line-center: calc((var(--line-total) - 1)/2)
}

.splitting .word {
    --word-percent: calc(var(--word-index)/var(--word-total));
    --line-percent: calc(var(--line-index)/var(--line-total))
}

.splitting .char {
    --char-percent: calc(var(--char-index)/var(--char-total));
    --char-offset: calc(var(--char-index) - var(--char-center));
    --distance: calc((var(--char-offset)*var(--char-offset))/var(--char-center));
    --distance-sine: calc(var(--char-offset)/var(--char-center));
    --distance-percent: calc((var(--distance)/var(--char-center)))
}

.splitting.cells img {
    width: 100%;
    display: block
}

/* ---------------- customizations */






/* supports */

@supports (display: grid) {

    .splitting.cells {
        visibility: hidden;
        background-size: cover;
        position: relative;
        overflow: hidden
    }

    .splitting .cell-grid {
        background: inherit;
        width: 100%;
        height: 100%;
        grid-template: repeat(var(--row-total), 1fr)/repeat(var(--col-total), 1fr);
        display: grid;
        position: absolute;
        top: 0;
        left: 0
    }

    .splitting .cell {
        background: inherit;
        position: relative;
        overflow: hidden
    }

    .splitting .cell-inner {
        background: inherit;
        visibility: visible;
        width: calc(100%*var(--col-total));
        height: calc(100%*var(--row-total));
        left: calc(-100%*var(--col-index));
        top: calc(-100%*var(--row-index));
        position: absolute
    }

    .splitting .cell {
        --center-x: calc((var(--col-total) - 1)/2);
        --center-y: calc((var(--row-total) - 1)/2);
        --offset-x: calc(var(--col-index) - var(--center-x));
        --offset-y: calc(var(--row-index) - var(--center-y));
        --distance-x: calc((var(--offset-x)*var(--offset-x))/var(--center-x));
        --distance-y: calc((var(--offset-y)*var(--offset-y))/var(--center-y))
    }
    .art-gallery {
        background: none;
    }
    .ag-filters-toggle, .ag-result-count, .ag-genre-heading { 
        color: #bfbebe;
    }
}
