@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@500&family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

/*Variables*/
:root {
    --black: #171717;
    --burgundy: #171212;
    --charcoal: #393737;
    --gold: #F3D769;
    --gold-shadow: #BFB071;
    --off-white: #E6E7E8;
    --white: #F1F1F2;
    --heading: 'League Spartan', sans-serif;
    --copy: 'Lora', serif;
}

/*Reset*/
* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	text-decoration: none;
	outline: inherit;
    -webkit-transition: all .3s ease;
            transition: all .3s ease;
}
:hover,
:focus {
    -webkit-transition: all .3s ease;
            transition: all .3s ease;
}

::-webkit-scrollbar {
    width:10px;
} 
::-webkit-scrollbar-track {
    background:#999999;
} 
::-webkit-scrollbar-thumb {
	background:rgb(0,0,0,0.5);
}

body {
    width: 100%;
    height: 100vh;
    position: relative;
    background: var(--burgundy);
    color: var(--white);
}
body:before {
    content: '';
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: url(../images/backgrounds/floral-bg-outline.svg) repeat fixed;
    background-size: 960px 960px;
}


/*Fonts*/
p,
li,
nav a {
    font-family: var(--copy);
    font-size: 20px;
    font-weight: 400;
    line-height: 150%;
    margin: 20px 0;
}
p.date {
    font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.button {
    font-family: var(--heading);
    font-weight: 500;
    line-height: 120%;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 20px 0;
}

h1 {
    font-size: 64px;
}
h2 {
    font-size: 48px;
}
h3 {
    font-size: 40px;
}
h4 {
    font-size: 32px;
}
h5 {
    font-size: 28px;
}
h6 {
    font-size: 20px;
}

figcaption {
    font-family: var(--copy);
    font-size: 14px;
    line-height: 120%;
    margin: 10px auto;
}


/*Links*/
a:link,
a:hover,
a:visited,
a:active {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.credits a:link {
    text-decoration: underline;
}
.credits a:hover {
    color: var(--gold);
}

.button {
    background: transparent;
    display: inline-block;
    -webkit-appearance: none;
    outline: none;
    border: none;
    text-align: left;
    color: var(--gold) !important;
}
.button:hover,
.button:focus {
    color: var(--gold-shadow) !important;
}

.link-arrow-right {
    margin: 20px auto;
    padding-right: 36px;
    font-size: 20px;
    color: var(--gold);
    background: url(../images/icons/arrow-right.svg) no-repeat center right;
    background-size: 26px 26px;
}
.link-arrow-right:hover,
.link-arrow-right:focus {
    color: var(--gold-shadow);
    padding-right: 46px;
}

.link-arrow-left {
    margin: 20px auto;
    padding-left: 36px;
    font-size: 20px;
    color: var(--gold);
    background: url(../images/icons/arrow-left.svg) no-repeat center left;
    background-size: 26px 26px;
}
.link-arrow-left:hover,
.link-arrow-left:focus {
    color: var(--gold-shadow);
    padding-left: 46px;
}

.link-arrow-down {
    margin: 20px auto;
    padding-right: 36px;
    font-size: 20px;
    color: var(--gold);
    background: url(../images/icons/arrow-down.svg) no-repeat center right;
    background-size: 26px 26px;
}
.link-arrow-down:hover,
.link-arrow-down:focus {
    color: var(--gold-shadow);
    background: url(../images/icons/arrow-down.svg) no-repeat bottom right;
    padding-bottom: 5px;
}

.border {
    border: 1px solid var(--gold);
    padding: 10px 20px;
    margin: 20px 0;
    border-radius: 30px;
    font-size: 20px;
    line-height: 0;
    color: var(--gold);
}
.border:hover,
.border:focus {
    background: var(--gold);
    color: var(--black);
}

.tag {
    display: inline-block;
    -webkit-appearance: none;
    outline: none;
    border: none;
    text-align: left;
    padding: 5px 15px;
    border-radius: 20px;
    background: var(--white);
    color: var(--charcoal) !important;
    font-family: var(--copy);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}
.tag:hover,
.tag:focus {
    background: var(--gold);
    color: var(--black);
}

p.tag {
    padding: 5px 10px !important;
    font-family: var(--copy);
    font-size: 16px;
    font-weight: 400;
}

.bars {
    width: 40px;
    height: 40px;
    background: url(../images/icons/bars-icon.svg) no-repeat center;
    background-size: contain;
}


/*Objects*/
img {
    max-width: 100%;
    border-radius: 5px;
}
.banner-img {
    max-width: 1440px;
    margin: 0 auto;
}

hr {
    outline: none;
    -webkit-appearance: none;
    border: none;
    width: 150px;
    height: 1px;
    background: var(--gold);
    margin: 10px auto 50px;

}
.hr-arrow {
    width: 100%;
    height: 70px;
    margin: 20px auto;
    padding: 1px 16.66%;
    position: relative;
}
.hr-arrow .line {
    width: calc(100% - 33.33%);
    height: 1px;
    background: var(--charcoal);
    position: absolute;
    margin: 0 auto;
    top: 50%;
    left: 0;
    right: 0;
}
.hr-arrow .arrow-start {
    width: 1px;
    height: 50%;
    background: var(--charcoal);
    position: absolute;
    bottom: 0;
    left: 16.66%;
}
.hr-arrow .arrow-start:after {
    content: '';
    width: 10px; 
    height: 10px;
    border-bottom: 1.5px solid var(--charcoal);
    border-right: 1.5px solid var(--charcoal);
    transform: rotate(45deg);
    position: absolute;
    bottom: 0px;
    left: -5px;
}
.hr-arrow .arrow-end {
    width: 1px;
    height: 50%;
    background: var(--charcoal);
    position: absolute;
    top: 0;
    right: 16.66%;
}
.hr-arrow .arrow-end:after {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 5px;
    background: var(--charcoal);
    position: absolute;
    top: -2px;
    right: -3px;
}

.video {
    position: relative; 
    padding-bottom: 56.25%; 
    height: 0; 
    overflow: hidden; 
    max-width: 100%;
}
.video iframe {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    border-radius: 5px;
}


/*Containers*/
.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
}

section,
.section {
    width: 95%;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
}

header {
    width: 100%;
    padding: 20px 0;
    border-bottom: 1px solid var(--black);
    box-shadow: 0 20px 40px var(--burgundy);
    background: rgba(23, 18, 18, 0.90);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}
header .logo img {
    height: 85px;
}
header nav.row {
    gap: 40px;
}
header nav a:hover,
header nav a:focus {
    color: var(--gold);
}
header .button {
    display: none;
}

main {
    background: linear-gradient(90deg, #171212 0%, rgba(23, 18, 18, 0.00) 49.5%, #171212 100%);
    position: relative;
    z-index: 10;
    padding-bottom: 80px;
}

.hero {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}
.hero .gallery-tile {
    width: calc(16.66% - 2px);
    margin: 0;
    border-radius: 5px;
    overflow: hidden;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 30px;
    background: rgba(0, 0, 0, 0.50);
    color: var(--white);
    text-align: left;
    position: relative;
}
.hero .gallery-tile:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.5);
    -webkit-transition: all .3s ease;
            transition: all .3s ease;
}
.hero .gallery-tile:hover:before,
.hero .gallery-tile:focus:before {
    background: rgba(0,0,0,0.6);
    -webkit-backdrop-filter: blur(5px);
            backdrop-filter: blur(5px);
    -webkit-transition: all .3s ease;
            transition: all .3s ease;
}
.hero .gallery-tile h5 {
    position: relative;
    z-index: 10;
}
.hero .gallery-tile img {
    opacity: 0;
    width: 0;
    height: 0;
    position: relative;
    z-index: 10;
}
.hero .gallery-tile:hover img,
.hero .gallery-tile:focus img {
    opacity: 100%;
    width: 26px;
    height: 26px;
}
.hero #articles-bg {
    background: url(../images/backgrounds/articles-768x768.webp) no-repeat center;
    background-size: cover;
}
.hero #videos-bg {
    background: url(../images/backgrounds/videos-768x768.webp) no-repeat center;
    background-size: cover;
}
.hero #interviews-bg {
    background: url(../images/backgrounds/interviews-768x768.webp) no-repeat center;
    background-size: cover;
}
.hero #iryna-archive-bg {
    background: url(../images/backgrounds/iryna-archives-768x768.webp) no-repeat center;
    background-size: cover;
}
.hero #about-saga-bg {
    background: url(../images/backgrounds/about-768x768.webp) no-repeat center;
    background-size: cover;
}
.hero #saga-scholars-bg {
    background: url(../images/backgrounds/saga-scholar-program-768x768.webp) no-repeat center;
    background-size: cover;
}

.sub-hero {
    padding: 100px 0 20px;
}

.about {
    padding: 150px 0;
}
.about .row {
    gap: 80px;
    align-items: center;
}
.about .col-img,
.about .col-text {
    width: calc(50% - 40px);
}
.about .col-img img {
    width: 100%;
}

.latest {
    padding: 0 0 150px 0;
    text-align: center;
}
.latest .row {
    justify-content: flex-start;
    gap: 21px;
}
.latest > .mw-1440 > p {
    text-align: left;
    margin: 0;
}
.col-latest {
    width: calc(33.33% - 15px);
    border: 1px solid var(--charcoal);
    background: rgba(0, 0, 0, 0.01);
    -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
    border-radius: 5px;
    text-align: left;
}
.col-latest img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.col-latest:hover,
.col-latest:focus {
    border: 1px solid rgba(0, 0, 0, 0.50);
    background: rgba(0, 0, 0, 0.20);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
}
.col-latest .row,
.col-latest h6,
.col-latest p {
    padding: 0 20px;    
}
.col-latest .row {
    justify-content: space-between;
    align-items: center;
}
.col-latest p,
.col-latest h6 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.col-latest:hover h6,
.col-latest:focus h6 {
    color: var(--gold);
}

.ssp {
    background: rgba(0, 0, 0, 0.01);
    -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
    border-radius: 5px;
    border: 1px solid var(--gold);
}
.ssp img,
.ssp .text {
    width: 50%;
}
.ssp img {
    object-fit: cover;
}
.ssp .text {
    padding: 40px;
}

.subscribe {
    background: url(../images/logos/saga-woman-icon.svg) no-repeat center right rgba(0, 0, 0, 0.20);
    background-size: auto 125%;
    -webkit-backdrop-filter: blur(1px);
            backdrop-filter: blur(1px);
    padding: 5% 20% 5% 5%;
    margin: 80px auto;
    border-radius: 5px;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.40);
}

.iryna {
    width: 100%;
    max-width: none;
    background: url(../images/backgrounds/iryna-archive-1920x532.webp) no-repeat center;
    background-size: cover;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.iryna:before {
    content: '';
    width: 60%;
    height: 200%;
    border-radius: 50%;
    background: radial-gradient(50% 50% at 50% 50%, #171717 0%, rgba(23, 23, 23, 0.62) 50.5%, rgba(23, 23, 23, 0.00) 100%);
    mix-blend-mode: multiply;
    position: absolute;
    top: 50%;
    right: 0;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
}
.iryna .mw-1440 {
    margin: 0 auto;
    padding-left: 40%;
    position: relative;
    z-index: 50;
}

.stories {
    padding: 80px 0;
    border-bottom: 1px solid var(--charcoal);
}
#letter {
    padding: 80px 0;
}
#letter-2 .row,
#share-story .row,
#join-us .row,
#apply .row {
    align-items: flex-start;
}
#share-story,
#join-us,
#meet-founder,
#origin,
#apply {
    padding: 80px 0;
    margin-top: 80px;
    border-top: 1px solid var(--charcoal);
}
#meet-founder span {
    font-size: 30px;
}

.col-founder {
    width: calc(33.33% - 40px);
}
.col-kerry {
    width: calc(66.66% - 20px);
}

.col-13 {
    width: calc(33.33% - 40px);
}
.col-23 {
    width: calc(66.66% - 20px);
}
.col-13 ul li {
    margin-left: 25px;
}

#works {
    padding: 100px 0;
    text-align: center;
}
#works .col-works {
    width: 48%;
    border: 1px solid var(--charcoal);
    border-radius: 5px;
    padding: 3% 5%;
    text-align: left;
    background: rgba(0, 0, 0, 0.01);
    -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
}

footer {
    width: 100%;
    padding: 50px 0;
    border-top: 1px solid var(--black);
    background: rgba(0, 0, 0, 0.20);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
}
footer p {
    margin: 0;
}
footer h5,
footer h6 {
    color: var(--gold);
    margin-bottom: 0;
}
footer ul.row {
    list-style: none;
    justify-content: flex-start;
    gap: 10px;
}
footer ul li {
    margin: 5px 0;
}
footer ul li img:hover,
footer ul li img:focus {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
}
footer .rd-icon {
    height: 30px;
    border-radius: 0;
}


/*Modifiers*/
.left {
    text-align: left;
}
.right {
	text-align: right;
}
.center {
	text-align: center;
}
.justify {
	text-align: justify;
}

.heading-border {
    border-left: 1px solid var(--gold);
    padding-left: 20px;
}

.mw-1440 {
    max-width: 1440px;
}
.mw-960 {
    max-width: 960px;
}

.mt-0 {
    margin-top: 0;
}
.mt-50 {
    margin-top: 50px;
}

.sticky {
    position: sticky;
    top: 0;
    margin: 0;
}

.quote {
    border: 1px solid var(--charcoal);
    border-radius: 5px;
    padding: 3%;
    background: rgba(0, 0, 0, 0.01);
    -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
}

.img-shadow {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.70);
}

.gold {
    color: var(--gold);
}


/*Modal*/
.modal {
    display: none;
    position: fixed;
    z-index: 900;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.20);
    -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
    -webkit-overflow-scrolling: touch;
}
.modal.display {
    display: block;
}
.modal-content {
    margin: 0;
    padding: 50px 30px;
    width: 95%;
    max-width: 300px;
    height: 100vh;
    background: url(../images/backgrounds/floral-bg-outline.svg) repeat fixed var(--burgundy);
    background-size: 532px 532px;
    border-left: 1px solid var(--charcoal);
    animation-name: animateright;
    animation-duration: 0.4s;
    position: absolute;
    top: 0;
    right: 0;
}
.modal-content ul {
    list-style: none;
}
.close {    
    position: absolute;
    top: 10px;
    right: 30px;
    font-family: var(--heading);
    color: var(--gold);
    font-size: 48px;
}
.close:hover,
.close:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
}


/*Filtering*/
.filter-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.filter-container::-webkit-scrollbar {
    display: none;
}
.filter-btn {
    padding: 7px 10px;
    border-radius: 20px;
    cursor: pointer;
    background: var(--white);
    font-family: var(--copy);
    color: var(--black);
    text-transform: none;
    white-space: nowrap;
    -webkit-appearance: none;
    outline: none;
    border: none;
}
.filter-btn:hover,
.filter-btn:focus {
    background: var(--gold);
}
.itms-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}
.itm {
    display: none;
    width: calc(33.33% - 15px);
    height: 100%;
}
.itm.active {
    display: block;
}
.itm .col-latest {
    width: 100%;
}


/*Animations*/
@keyframes animatetop {
    from {
        bottom: -200px;
        opacity: 0;
    }
    to {
        bottom: 0;
        opacity: 1;
    }
}

@keyframes animateright {
    from {
        right: -300px;
        opacity: 0;
    }
    to {
        right: 0;
        opacity: 1;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        scale: .8;
        opacity: 0;
        animation: fade-in linear forwards;
        animation-timeline: view();
        animation-range: entry;
    }
    @keyframes fade-in {
        to {
            scale: 1; 
            opacity: 1; 
        }
    }
}


/*Media Queries*/
@media (max-width: 1440px) {
    .hero .gallery-tile {
        width: calc(33.33% - 2px);
        height: 40vh;
        min-height: 300px;
    }
}

@media (max-width: 1350px) {
    header nav.row {
        gap: 30px;
    }
    header nav span {
        display: none;
    }
}

@media (max-width: 1150px) {
    header nav.row {
        display: none;
    }
    header .button {
        display: block;
    }
}

@media (max-width: 1024px) {
    body:before {
        background-size: 532px 532px;
    }

    p,
    li,
    nav a {
        font-size: 18px;
    }
    p.date {
        font-size: 14px;
    }
    h1 {
        font-size: 48px;
    }
    h2 {
        font-size: 40px;
    }
    h3 {
        font-size: 32px;
    }
    h4 {
        font-size: 28px;
    }
    h5 {
        font-size: 21px;
    }
    .link-arrow-right,
    .border {
        font-size: 18px;
    }
    .tag {
        font-size: 14px;
    }

    .sub-hero {
        padding: 50px 0 20px;
    }

    .about,
    .stories,
    #letter,
    #share-story,
    #join-us {
        padding: 75px 0;
    }
    .about .row {
        gap: 0;
        align-items: stretch;
    }
    .about .col-img,
    .about .col-text {
        width: 100%;
    }
    .about .col-img img {
        max-width: 532px;
    }

    .col-founder,
    .col-kerry {
        width: 100%;
    }

    .latest {
        padding: 0 0 75px 0;
    }
    .itm {
        width: 100%;
    }
    .col-latest,
    .itms-container .col-latest {
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: stretch;
        margin-bottom: 20px;
    }
    .col-latest img {
        width: 33.33%;
    }
    .col-latest .content {
        width: 66.66%;
    }

    .ssp img {
        width: 33.33%;
    }
    .ssp .text {
        width: 66.66%;
    }
    .ssp .text {
        padding: 40px;
    }

    .subscribe {
        margin: 75px auto;
    }

    .col-13,
    .col-23 {
        width: calc(50% - 20px);
    }

    .fw-1024 {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero .gallery-tile {
        width: calc(50% - 2px);
        height: 20vh;
        min-height: 300px;
    }

    .ssp img,
    .ssp .text {
        width: 100%;
    }
    .ssp .text {
        padding: 20px;
    }

    .subscribe {
        background: url(../images/logos/saga-woman-icon.svg) no-repeat bottom right rgba(0, 0, 0, 0.20);
        background-size: auto 80%;
        padding: 5% 20% 20% 5%;
        margin: 80px auto;
        border-radius: 5px;
        box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.40);
    }

    .iryna {
        background: url(../images/backgrounds/iryna-archive-1920x532.webp) no-repeat 20% 0;
        background-size: cover;
        padding: 350px 20px 20px;
    }
    .iryna:before {
        content: '';
        width: 100%;
        height: 100%;
        border-radius: 0;
        background: rgba(0, 0, 0, 0.80);
        mix-blend-mode: multiply;
        position: absolute;
        top: 0;
        right: 0;
        -webkit-transform: none;
                transform: none;
    }
    .iryna .mw-1440 {
        margin: 0 auto;
        padding-left: 20px;
    }

    .col-13,
    .col-23 {
        width: 100%;
    }
    #letter .quote {
        margin-top: 20px;
        margin-left: 5%;
        width: 90%;
        background: rgba(0, 0, 0, 0.30);
        -webkit-backdrop-filter: blur(10px);
                backdrop-filter: blur(10px);
    }
    #letter-2 .sticky,
    #share-story .sticky,
    #join-us .sticky,
    #apply .sticky {
        position: relative;
    }

    #share-story,
    #join-us,
    #meet-founder,
    #origin,
    #apply {
        padding: 50px 0;
        margin-top: 50px;
    }

    #works .col-works {
        width: 100%;
        margin-bottom: 20px;
    }

    .hr-arrow {
        display: none;
    }

    footer section.row,
    footer .section.row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    footer ul.row {
        justify-content: center;
        gap: 10px;
    }
    footer ul li {
        margin: 5px 0;
    }
    footer section:last-child,
    footer .section:last-child {
        text-align: center;
        padding-top: 50px;
    }
}

@media (max-width: 600px) {
    .col-latest {
        flex-direction: column;
    }
    .col-latest img,
    .col-latest .content {
        width: 100%;
    }
}

@media (max-width: 532px) {
    .hero .gallery-tile {
        width: calc(100% - 2px);
        margin: 1px auto;
        height: 20vh;
        min-height: 150px;
        padding: 10px 20px;
    }
}