/*
Theme Name: sallys
Theme URI: https://robinbenad.com
Description: Sally*s Music & Media
Author: Robin Benad
Author URI: https://robinbenad.com
Version: 1.0
*/
/*
  1. Use a more-intuitive box-sizing model.
*/
*, *::before, *::after {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/*
  2. Remove default margin
*/
* {
    margin: 0;
}

/*
  5. Improve media defaults
*/
img, video, canvas, svg {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
}

/*
  6. Remove built-in form typography styles
*/
input, button, textarea, select {
    font: inherit;
}

a {
    background-color: transparent;
    text-decoration: none;
    color: inherit;
}

address {
    font-style: normal;
}

ul, ol {
    padding-left: 0.25em;
}


/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/

@font-face {
    font-display: block;
    font-family: 'pp-mori';
    src: url('fonts/PPMori-Book.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-display: block;
    font-family: 'pp-mori';
    src: url('fonts/PPMori-BookItalic.woff2') format('woff2');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-display: block;
    font-family: 'pp-mori';
    src: url('fonts/PPMori-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-display: block;
    font-family: 'pp-mori';
    src: url('fonts/PPMori-RegularItalic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-display: block;
    font-family: 'pp-mori';
    src: url('fonts/PPMori-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-display: block;
    font-family: 'pp-mori';
    src: url('fonts/PPMori-SemiBoldItalic.woff2') format('woff2');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-display: block;
    font-family: 'pp-mori';
    src: url('fonts/PPMori-ExtraBold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-display: block;
    font-family: 'pp-mori';
    src: url('fonts/PPMori-ExtraBoldItalic.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
}

/*--------------------------------------------------------------
# Variables
--------------------------------------------------------------*/

:root {
    --bg: #090A29;
    --text: #fff;
    --pad-vx: 54px;
    --pad-h: 4.5rem;
    --size-root: 20px;
    --text-line-height: 1.35;
    --size-100: 1rem;
    --size-200: 1.4rem;
    --size-300: 1.6rem;
}

/*--------------------------------------------------------------
# Structure
--------------------------------------------------------------*/

html, body {
    background: var(--bg);
    color: var(--text);
    font-family: 'pp-mori', sans-serif;
}

html {
    font-size: var(--size-root);
}

body {
    font-size: 1rem;
    line-height: 1.2;
}

body,
.site-wrapper {
    min-height: 100vh;
}

body.admin-bar,
body.admin-bar .site-wrapper {
    min-height: calc(100vh - 46px);
}

@media screen and (min-width: 783px) {
    body.admin-bar,
    body.admin-bar .site-wrapper {
        min-height: calc(100vh - 32px);
    }
}

.site-wrapper {
    display: flex;
    flex-direction: column;
}

.site-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
}

.content-wrapper {
    flex-grow: 1;
}

.align-bottom {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.text {
    font-size: var(--size-200);
}

.size-100 {
    font-size: var(--size-100);
}

.size-300 {
    font-size: var(--size-300);
}

.text p {
    margin-bottom: 1.1em;
    margin-top: 0.65em;
    line-height: var(--text-line-height);
    text-wrap: balance;
}

.text p:first-child,
.text ul:first-child,
.text ol:first-child,
.text h1:first-child,
.text h2:first-child,
.text h3:first-child,
.text h4:first-child,
.text h5:first-child,
.text blockquote:first-child {
    margin-top: 0;
}

.text ul:last-child,
.text ol:last-child,
.text p:last-child,
.text blockquote:last-child {
    margin-bottom: 0;
}

.text a:hover {
    text-decoration: underline;
}

.text-600 {
    font-weight: 600;
}

.text-700 {
    font-weight: 700;
}

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #1a1d81;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 0;
    object-position: center 20%;
}

.hero-canvas {
    position: absolute;
    top: 0;
    right: 0;
    width: 66%;
    height: 100%;
    mix-blend-mode: lighten;
    /*  mix-blend-mode: exclusion;*/
    /*    mix-blend-mode: color-dodge;*/
    transform: translateX(33%);
    z-index: 2;
}

.hero-canvas {
    right: auto;
    left: 0;
    width: 100%;
    transform: translateX(-33%);
    /*   opacity: 0.75;*/
    filter: saturate(0.75) brightness(0.5) contrast(5);
    filter: saturate(0.5) brightness(0.66) contrast(3);

    filter: saturate(0.75) brightness(0.66) contrast(1.5);
    filter: saturate(0.75) brightness(0.7) contrast(1.3);
    background: #1a1d81;
}

.hero-canvas canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

canvas.matter {
    opacity: 0;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 32px;
    padding-bottom: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.hero-image-top {
    mix-blend-mode: hard-light;
}

.pad-vx {
    padding-left: var(--pad-vx);
    padding-right: var(--pad-vx);
}

.pad-h {
    padding-top: var(--pad-h);
    padding-bottom: var(--pad-h);
}

.pad-top-half {
    padding-top: calc(0.5 * var(--pad-h));
}

.max-vx, .max-text, .max-xl {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    width: 54rem;
}

.max-xl {
    width: 60rem;
}

.logo {
    width: clamp(8rem, 22vw, 56vh);
}

.hero-content-inner {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    row-gap: 1rem;
}

.hero-content-inner > * {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.logo-container {
    justify-content: flex-end;
}

.tagline-container {
    justify-content: center;
}

.tagline-container h1 {
    max-width: 32ch;
    font-size: clamp(1rem, 2.75vw, 7vh);
}

[data-color="orange"] {
    color: #f0c9ac;
}

[data-color="rose"] {
    color: #efccde;
}

[data-color="green"] {
    color: #c9e8d6;
}

[data-color="purple"] {
    color: #e7e7ff;
}

.spacer {
    height: 4rem;
    width: 67%;
}

.spacer img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: right bottom;
}


.image-wrapper img {
    border-radius: 9px;
}

.image-deco img {
    border-radius: 0;
}

.image-deco {
    position: absolute;
    bottom: 52px;
    /* left: -50%; */
    z-index: 1;
    /* margin-left: -50%; */
    transform: translateX(-20%) translateY(50%);
    /* mix-blend-mode: exclusion; */
    mix-blend-mode: lighten;
    mix-blend-mode: plus-lighter;
}

[data-deco="1"] {
    transform: translateX(-20%) translateY(50%) scaleY(1.125) rotate(7deg);
}

[data-deco="2"] {
    right: 0;
    transform: translateX(20%) translateY(50%);
    mix-blend-mode: lighten;
    filter: contrast(1.5);
}

[data-deco="3"] {
    transform: translateX(-39%) translateY(48%) scale(0.6) scaleY(0.8) rotate(123deg);
    mix-blend-mode: lighten;
}

[data-deco="4"] {
    right: 0;
    transform: translateX(30%) translateY(41%) scale(0.9) scaleY(0.8) rotate(295deg);
    mix-blend-mode: lighten;
    filter: contrast(1.33);
}

/*.image-wrapper:has(.exceeds-ar) {
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
}

.exceeds-ar {
    max-height: 100%;
    width: auto;
}*/

.image-inner {
    position: relative;
}

.image-inner:after {
    border-radius: 0 0 8px 8px;
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(2deg, var(--bg), transparent 15%), linear-gradient(-2deg, var(--bg), transparent 15%), radial-gradient(circle at 0 100%, var(--bg), transparent 20%), radial-gradient(circle at 100% 100%, var(--bg), transparent 20%), linear-gradient(3deg, hsl(0deg 100% 59.61% / 48%), transparent 20%), linear-gradient(17deg, #31ff62ad, transparent 20%);
}

.image-inner.image-inner-xl:after {
    background: linear-gradient(175deg, hsl(238.13deg 64% 9.8% / 78%), transparent 15%), linear-gradient(185deg, hsl(238.13deg 64% 9.8% / 78%), transparent 15%), linear-gradient(2deg, var(--bg), transparent 25%), linear-gradient(-2deg, var(--bg), transparent 25%), radial-gradient(circle at 0 100%, var(--bg), transparent 20%), radial-gradient(circle at 100% 100%, var(--bg), transparent 20%), linear-gradient(3deg, hsl(0deg 100% 59.61% / 48%), transparent 20%), linear-gradient(17deg, #31ff62ad, transparent 20%);
}

.image-inner.image-inner-team:after {
    background: linear-gradient(360deg, var(--bg), #090a2975 35%, transparent 100%), radial-gradient(circle at 0 100%, #090a296e, transparent 20%), radial-gradient(circle at 100% 100%, #090a296e, transparent 20%), linear-gradient(3deg, hsl(0deg 100% 59.61% / 48%), transparent 20%), linear-gradient(17deg, #31ff62ad, transparent 20%);
}

.margin-0 {
    margin: 0 !important;
}

.image-subtitle {
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    z-index: 2;
    padding-bottom: 2rem;
    text-align: right;
}

.lh-1-2,
.lh-1-2 * {
    line-height: 1.2 !important;
}

.lh-1-6 {
    line-height: 1.6 !important;
}

/*--------------------------------------------------------------
# Row
--------------------------------------------------------------*/

.row-text {
    padding-bottom: 2.75rem;
}

[data-grid="split"],
[data-grid="split-reverse"],
[data-grid="split-reverse-alt"] {
    display: grid;
    grid-template-columns: 4fr 3fr;
    gap: 4rem;
}

[data-grid="split-reverse"] {
    grid-template-columns: 3fr 4fr;
}

[data-grid="split-reverse"] > *:first-child,
[data-grid="split-reverse-alt"] > *:first-child {
    order: 1;
}

[data-grid="services"] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 4rem;
    row-gap: 3.5rem;
}


[data-grid="services"] > div {
    position: relative;
}

[data-grid="services"] > div:before {
    content: "";
    position: absolute;
    top: -.5rem;
    left: -1.5rem;
    width: 0.25rem;
    height: 0.75rem;
    color: #fff;
    background: currentColor;
    border-radius: 99px;
    box-shadow: 0 0 12px -2px currentColor;
}

[data-grid="services"] > div:nth-child(1):before {
    color: #f2c8a5;
}

[data-grid="services"] > div:nth-child(2):before,
.contact[data-grid="services"] > div:nth-child(3):before {
    color: #56abdd;
}

[data-grid="services"] > div:nth-child(3):before {
    color: #ed6c5c;
}

[data-grid="services"] > div:nth-child(4):before,
.contact[data-grid="services"] > div:nth-child(2):before {
    color: #67d0c5;
}

[data-grid="services"] > div:nth-child(5):before {
    color: #FBADD4;
}

[data-grid="services"] > div:nth-child(6):before {
    color: #b681fd;
}

.contact[data-grid="services"] > div:nth-child(1):before {
    color: #fff;
}

.intersy {
    transition: all 0.5s ease-in-out;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.intersy.in-view.appear-from-bottom {
    transform: translateY(0px);
}

.intersy.appear-from-bottom {
    transform: translateY(12px);
}


:root {
    --gap: 2px;
    --duration: 60s;
    --scroll-start: 0;
    --scroll-end: calc(-100% - var(--gap));
}

.partners-container {
    justify-content: flex-end;
    filter: invert(9%) sepia(6%) saturate(7303%) hue-rotate(204deg) brightness(180%);
    padding-bottom: calc(7vmin - 30px);
}

.marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: var(--gap);
    mask-image: linear-gradient(
            var(--mask-direction, to right),
            hsl(0 0% 0% / 0) 5%,
            hsl(0 0% 0% / 1) 20%,
            hsl(0 0% 0% / 1) 85%,
            hsl(0 0% 0% / 0)
    );
}

.marquee__group {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: var(--gap);
    min-width: 100%;
    animation: scroll-x var(--duration) linear infinite;
    height: 2rem;
}


.marquee--vertical {
    --mask-direction: to bottom;
}

.marquee--vertical,
.marquee--vertical .marquee__group {
    flex-direction: column;
}

.marquee--vertical .marquee__group {
    animation-name: scroll-y;
}

.marquee--reverse .marquee__group {
    animation-direction: reverse;
    animation-delay: -3s;
}

@keyframes scroll-x {
    from {
        transform: translateX(var(--scroll-start));
    }
    to {
        transform: translateX(var(--scroll-end));
    }
}

.partner-item {
    overflow: hidden;
    height: 100%;
    padding: 0 32px;
}

.partner-item img {
    object-fit: contain;
    height: 100%;
    width: auto;
}


/* Parent wrapper */
.marquee-container {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    max-width: 100vw;
    row-gap: 2rem;
}

@keyframes fade {
    to {
        opacity: 0;
        visibility: hidden;
    }
}
