/*
Theme Name: Relishmedia.tv
*/

/* -----------------------------
   BASE
----------------------------- */
* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
	color: #fff;
}

.as-seen-on-text, .our-work-excerpt {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    font-size: 1.125rem;
    letter-spacing: -0.03em;
    font-weight: 600;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Passion One", sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    font-style: normal;
    margin: 0;
}

/* Passion One font helper classes */
.passion-one-regular { font-family: "Passion One", sans-serif; font-weight: 400; font-style: normal; }
.passion-one-bold { font-family: "Passion One", sans-serif; font-weight: 700; font-style: normal; }
.passion-one-black { font-family: "Passion One", sans-serif; font-weight: 900; font-style: normal; }

.logo-orbit-item::before { background-image: var(--glitch-blue-bg); }
.logo-orbit-item::after { background-image: var(--glitch-pink-bg); }


/* -----------------------------
   GLITCH TITLE
----------------------------- */
.glitch-title {
    font-family: "Passion One", sans-serif;
    font-weight: 900;
    position: relative;
    display: inline-block;
    font-size: 5rem;
    text-transform: uppercase;
    line-height: 1;
    color: transparent;
}

.glitch-title::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: #ff2ad0;
    transform: skew(-6deg) translate(6px, 0);
    mix-blend-mode: lighten;
    z-index: 1;
}

.glitch-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: #00eaff;
    transform: translate(-6px, 0);
    mix-blend-mode: lighten;
    z-index: 2;
}

/* -----------------------------
   GRADIENT BACKGROUND
----------------------------- */
.gradient-section {
    background: linear-gradient(180deg, #270722 0%, #5603ad 100%);
    background-size: cover;
    background-attachment: fixed;
    transition: background 0.5s ease-out;
    position: relative;
    overflow: hidden;
}



/* -----------------------------
   SCROLLING TEXT
----------------------------- */
.scrolling-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 10;
    pointer-events: none;
    text-align: center;
}
.marquee { position: relative; overflow: hidden; white-space: nowrap; width: 100%; font-size: 10rem; font-weight: 800; line-height: 1; color: rgba(255, 255, 255, 0.8); text-shadow: 0 0 18px rgba(0,0,0,0.4); will-change: transform; }
.marquee span { display: inline-block; padding-right: 2rem; white-space: nowrap; will-change: transform; font-family: "Passion One", sans-serif; font-weight: 900; font-style: normal; color: #f3fb00; line-height: 1; text-transform: uppercase; }
.marquee-left span { animation: scroll-left 25s linear infinite; }
.marquee-right span { animation: scroll-right 28s linear infinite; }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes scroll-right { from { transform: translateX(-100%); } to { transform: translateX(0); } }

@media (max-width: 768px) { .scrolling-text-overlay { transform: translate(-50%, -40%); } }
@media (max-width: 480px) { .scrolling-text-overlay { transform: translate(-50%, -35%); } .marquee { font-size: 3rem; } }

/* -----------------------------
   WAVE MASK
----------------------------- */
.wave-mask { position: absolute; top: -1px; left: 0; width: 100%; height: 140px; background: #5603ad; z-index: 4; -webkit-mask-image: url('wave-top.svg'); mask-image: url('wave-top.svg'); mask-size: 100% 100%; mask-repeat: no-repeat; }




/* -----------------------------
   ARCHIVE GRID HEIGHT CONSISTENCY
----------------------------- */
.our-work-archive-grid .our-work-thumb { min-height: 360px; background-size: cover; background-position: center; transition: transform 0.4s ease; }
#asSeenOnTextArchive { display: block; overflow-wrap: break-word; }

.project-media { margin: 120px 0; }

/* Standard content width */
.media-standard { max-width: 1100px; margin: 0 auto 80px; }

/* Full width */
.media-full { width: 100%; margin: 0 auto 80px; }

/* Split layout */
.media-split { 
max-width: 1400px; 
margin: 0 auto 80px; 
display: grid; 
grid-template-columns: 1fr 1fr; 
gap: 40px; 
}

/* split items */
.media-split .split-item { 
position: relative; 
height: 500px; 
overflow: hidden; 
}

/* images + video */
.media-split img, 
.media-split video { 
width: 100%; 
height: 100%; 
object-fit: cover; 
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 992px) {

.media-split {
gap: 25px;
}

.media-split .split-item {
height: 380px;
}

}

@media (max-width: 768px) {

/* stack items on mobile */
.media-split {
grid-template-columns: 1fr;
gap: 20px;
}

/* remove fixed height */
.media-split .split-item {
height: auto;
}

.media-split img,
.media-split video {
height: auto;
}

}
.media-full img, .media-full video, .media-standard img, .media-standard video { width: 100%; height: auto; display: block; }


.projects-archive-top {
    padding-top: 200px; /* adjust to your navbar + breathing room */
}

@media (max-width: 992px) {
    .projects-archive-top {
        padding-top: 180px; /* less for tablets */
    }
}

@media (max-width: 768px) {
    .projects-archive-top {
        padding-top: 120px; /* mobile */
    }
}