/* =========================================================
   PORTFOLIO STYLES
   Sections: TOKENS · GLOBAL · TEXT · LINKS · CONTAINERS ·
   IMAGES · NAVIGATION · BUTTONS · HOMEPAGE · CURSOR ·
   ABOUT · CARDS · MODAL · TABS · POCKETS
   Font + brand colors live in :root below — change once,
   applies everywhere.
   ========================================================= */

/* TOKENS */
:root {
    --font: "Space Grotesk", sans-serif;
    --brand: #FFE77C;
    /* primary yellow */
    --brand-strong: #FFD400;
    /* hover / active yellow */
    --dark-card: #1a1a1a;
    /* dark card background */
    --text: #FAFAFA;
    /* global heading / white text */
}

/* GLOBAL */
body {
    background-color: black;
    padding: 0;
    cursor: none !important;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    margin: 0;
}

html,
body {
    cursor: none !important;
    overflow-x: clip !important;
}

html {
    font-size: 16px;
    font-family: var(--font);
}

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

a,
button,
input,
textarea {
    cursor: none !important;
}

img{
    max-width:100%;
}

ul {
    color: #ccc;
    font-size: 0.95rem;
    padding-left: 1.2rem;
    margin: 0;
    margin-bottom: 16px;
}

.shaka {
    display: inline-block;
    transform-origin: center;
}

/* margin-bottom */
.mb-64 {
    margin-bottom: 64px;
}

.mb-48 {
    margin-bottom: 48px;
}

.mb-32 {
    margin-bottom: 32px;
}

.mb-16 {
    margin-bottom: 16px;
}

/* margin-top */
.mt-64 {
    margin-top: 64px;
}


.content-table {
    width: 100%;
    border-collapse: collapse;
}

.content-table th {
    text-align: left;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 231, 124, 0.3);
    color: var(--text);
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 700;
}

.content-table td {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
    font-size: 16px;
}


.numbered-list {
    display: flex;
    flex-direction: column;
}

.numbered-list__item {
    display: flex;
    gap: 32px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: flex-start;
}

.numbered-list__number {
    color: var(--brand);
    font-size: clamp(20px, 3.2vw, 32px);
    font-weight: 900;
    min-width: 48px;
}


/* SLIDER */
.slider-container {
    overflow: hidden;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    flex: 0 0 100%;
    text-align: center;
}

.slide img {
    max-width: 700px;
    width: 100%;
    margin: auto;
    border-radius: 8px;
}


.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 12px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #666;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-dots .dot.active {
    background: var(--brand);
}

/*TEXT STYLE */
.hero-text {
    color: #FFFAFA;
    font-size: 24px;
    font-weight: 400;
    text-align: left;
}

.hero-text-2 {
    color: var(--brand);
    font-size: 24px;
    font-weight: 400;
    text-align: left;
    display: none;
    opacity: 0;
}


h1 {
    color: var(--text);
    text-align: center;
    font-size: clamp(40px, 8vw, 96px);
    font-weight: 900;
    margin: 0;
    margin-bottom: 32px;
}

h2 {
    color: var(--text);
    text-align: center;
    font-size: clamp(28px, 6vw, 64px);
    font-weight: 900;
    margin: 0;
    margin-bottom: 32px;
}

h3 {
    color: var(--text);
    font-size: clamp(20px, 3.2vw, 32px);
    font-weight: 700;
    margin: 0;
    margin-bottom: 20px;
}

h4 {
    color: var(--text);
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 700;
    margin: 0;
    margin-bottom: 16px;
}

h5 {
    color: var(--text);
    font-size: clamp(13px, 1.4vw, 16px);
    font-weight: 400;
    margin: 0;
    margin-bottom: 12px;
}

h6 {
    color: var(--text);
    font-size: clamp(11px, 1vw, 12px);
    font-weight: 400;
    margin: 0;
    margin-bottom: 8px;
}

p {
    color: var(--text);
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    margin-bottom: 16px;
}

.text-brand {
    color: var(--brand) !important;
}

.black-text {
    color: black;
}

.center-text {
    text-align: center;
}

.left-text {
    text-align: left !important;
}


blockquote {
    color: var(--brand);
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 700;
    font-style: italic;
    margin: 0;
    margin-bottom: 32px;
}

.hero-blockquote {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    margin-bottom: 48px;
}

.hero-blockquote__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .7;
    transform: scale(1.05);
}

.hero-blockquote blockquote {
    position: relative;
    z-index: 1;
    text-align: center;
    margin: 0;
    padding: 48px;
}

.section-label {
    color: var(--text);
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 700;
    margin: 0;
    margin-bottom: 48px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 231, 124, 0.3);
}

.label-callout {
    color: var(--brand);
    font-weight: 700;
    border-left: 4px solid var(--brand);
    padding-left: 12px;
    margin-bottom: 16px;
}


.work-hero {
    padding: 96px;
    position: relative;
    overflow: hidden;
}

.work-hero-text h1 {
    color: var(--brand);
    font-size: 160px;
    font-weight: 900;
    line-height: 96%;
    margin: 0px;
    text-align: left;
}

.work-hero-text h3 {
    color: var(--brand);
    font-size: 64px;
    font-weight: 900;
    margin: 0px;
    text-align: left !important;
}

@media all and (min-width:320px) and (max-width:425px) {
    .work-hero {
        padding: 32px;
    }

    .work-hero-text h1 {
        font-size: 48px;
    }

    .work-hero-text h3 {
        font-size: 24px;
    }
}

@media all and (min-width:426px) and (max-width:768px) {
    .work-hero {
        padding: 48px;
    }

    .work-hero-text h1 {
        font-size: 64px;
    }

    .work-hero-text h3 {
        font-size: 32px;
    }
}

@media all and (min-width:769px) and (max-width:1024px) {
    .work-hero {
        padding: 64px;
    }

    .work-hero-text h1 {
        font-size: 96px;
    }

    .work-hero-text h3 {
        font-size: 48px;
    }
}

/* LINKS */
a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

/* BACK TO TOP */
#back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--brand);
    color: #000;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#back-to-top.visible {
    opacity: 1;
}

#back-to-top:hover {
    background: var(--brand-strong);
    transform: translateY(-3px);
}

@media all and (min-width:320px) and (max-width:768px) {
    a {
        font-size: 12px;
    }
}

.nav-link {
    color: var(--brand);
}

.nav-link:hover {
    color: var(--brand-strong);
}


/* CONTAINERS*/
.flex-container {
    display: flex;
}

.column {
    flex-direction: column;
}

.row {
    flex-direction: row;
}

@media all and (min-width:320px) and (max-width:768px) {
    .row {
        flex-direction: column;
    }
}

.gap32 {
    gap: 32px;
}

.gap16 {
    gap: 16px;
}

.container-50 {
    width: 50%;
}

@media all and (min-width:320px) and (max-width:768px) {
    .container-50 {
        width: 100%;
    }
}

.container-40 {
    width: 40%;
}

.container-60 {
    width: 60%;
}

@media (max-width: 768px) {

    .container-40,
    .container-60 {
        width: 100%;
    }
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}


.body-container {
    padding: 128px;
}

.body-container-3 {
    padding: 160px;
}


@media all and (min-width:320px) and (max-width:425px) {
    .body-container {
        padding: 24px;
    }

    .body-container-3 {
        padding: 24px;
    }

}

@media all and (min-width:426px) and (max-width:768px) {
    .body-container {
        padding: 32px;
    }

    .body-container-3 {
        padding: 32px;
    }

}

@media all and (min-width:769px) and (max-width:1024px) {
    .body-container {
        padding: 64px;
    }

    .body-container-3 {
        padding: 64px;
    }

}

/* CLICKABLE IMAGES */
.clickable-img {
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top;
    border-radius: 8px;
    display: block;
    margin-bottom: 16px;
}

.clickable-img:hover {
    transform: scale(1.05);
}

.clickable-img--contain {
    object-fit: contain;
    background-color: var(--dark-card);
    object-position: center;
}


.image-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
}

.image-modal.show {
    display: flex;
}

.image-modal img {
    max-width: min(90vw, 1200px);
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 0 48px rgba(255, 231, 124, 0.3);
    object-fit: contain;
}

.image-modal:hover {
    cursor: zoom-out;
}

/* NAVIGATION */
.nav-bar {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 128px;
    border-bottom: 2px solid var(--brand);
    transition: none;
    z-index: 10;
}

.home .nav-bar {
    opacity: 0;
}

.menu-toggle {
    display: none;
    background: none;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
}

.nav-link-container {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Mobile styles */
@media all and (min-width:320px) and (max-width: 768px) {
    .menu-toggle {
        display: block;
        color: var(--brand);
    }

    .nav-link-container {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 1rem;
        background: #000;
        padding: 1rem;
        border-radius: 8px;
        z-index: 10;
    }

    .nav-link-container.active {
        display: flex;
        gap: 32px;
    }
}

@media all and (min-width:320px) and (max-width:768px) {
    .nav-bar {
        padding: 32px 32px;
    }
}

@media all and (min-width:769px) and (max-width:1024px) {
    .nav-bar {
        padding: 32px 32px;
    }
}

.logo {
    color: var(--brand);
    font-size: 64px;
    font-weight: 100;
    margin: 0px;
}

.logo {
    font-family: "Space Grotesk", sans-serif !important;
    font-style: normal !important;
    text-transform: none !important;
}

.logo:hover {
    color: var(--brand-strong);
    transition: text-shadow 0.3s ease;
}

@media all and (min-width:320px) and (max-width:768px) {
    .logo {
        font-size: 32px;
    }
}

@media all and (min-width:769px) and (max-width:1440px) {
    .logo {
        font-size: 48px;
    }
}

/* BUTTONS */
.button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    background-color: var(--brand);
    text-decoration: none;
    border-radius: 4px;
    color: #000;
    width: fit-content;
}

.button:hover {
    background-color: var(--brand-strong);
    color: #000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px) !important;
    transition: all 0.2s ease;
}

.button:focus {
    outline: none;
    box-shadow: none;
}

.button-secondary {
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    border: solid 2px var(--brand);
    text-decoration: none;
    border-radius: 4px;
    background-color: transparent;
    color: var(--brand);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button-secondary:hover {
    background-color: var(--brand);
    color: #000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.toggle-buttons {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
    gap: 1rem;
}

.toggle-button {
    padding: 10px 20px;
    background-color: var(--dark-card);
    border: 2px solid var(--brand);
    color: var(--brand);
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.toggle-button:hover {
    background-color: var(--brand);
    color: #111;
}

.toggle-button.active {
    background-color: var(--brand);
    color: #111;
}

/* HOMEPAGE */
.hero-container {
    position: relative;
    z-index: 1;
    height: 700px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 128px;
    gap: 48px;
}

.bg-shift {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 231, 124, 0.1), transparent 70%);
    opacity: 0;
    z-index: 0;
    transition: opacity 1s ease;
    pointer-events: none;
}

.see-work {
    background-color: var(--brand);
    color: #000;
    margin-top: 24px;
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.see-work:hover {
    background-color: var(--brand-strong);
    transform: translateY(-3px);
}

.services-group {
    margin-bottom: 64px;
}

.group-title {
    color: var(--brand);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 231, 124, 0.3);
    padding-bottom: 8px;
}

@media all and (min-width:320px) and (max-width:1024px) {
    .hero-container {
        flex-direction: column;
        gap: 0px;
        height: 800px;
        padding: 32px;
    }
}

@media all and (min-width:1025px) and (max-width:1440px) {
    .hero-container {
        padding: 64px;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    width: 100%;
    display: flex;
    transform: translateY(0);
    opacity: 0;
    flex-direction: column;
    align-items: start;
}

/* PORTAL IMAGE */
.profile-image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.profile-image-container svg {
    position: absolute;
    bottom: 0px;
    width: 100%;
}

.portal-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: visible;
}

.portal {
    position: relative;
    z-index: 2;
    transform-origin: center;
    transform: scale(0.1, 0.1);
    opacity: 0;
    filter: blur(10px);
}

.portal-glow {
    position: absolute;
    bottom: 79px;
    width: 600px;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(255, 231, 124, 0.5), transparent 80%), linear-gradient(to top, rgba(255, 231, 124, 0.4), transparent 30%);
    opacity: 0;
    transform: scaleY(0.8);
    filter: blur(20px);
    pointer-events: none;
    z-index: 1;
    border-radius: 0px 0px 65px 65px;
}

.portal-profile {
    position: absolute;
    bottom: 0px;
    z-index: 2;
    width: 400px;
    opacity: 0;
    /* hidden until GSAP sequence runs */
}

@media all and (min-width:320px) and (max-width:425px) {
    .portal-profile {
        width: 300px;
    }

    .profile-image-container svg {
        bottom: -93px;
        width: 300px;
    }

    .hero-content {
        height: 300px;
    }
}

@media all and (min-width:426px) and (max-width:768px) {
    .profile-image-container svg {
        bottom: -57px;
        width: 400px;
    }

    .hero-content {
        height: 300px;
    }

    .portal-glow {
        bottom: 70px;
        width: 400px;
    }
}

@media all and (min-width:769px) and (max-width:1024px) {
    .hero-content {
        height: 200px;
    }

    .portal-glow {
        bottom: 88px;
        width: 550px;
    }
}

@media all and (min-width:1025px) and (max-width:1440px) {
    .profile-image-container svg {
        width: 400px;
    }

    .portal-profile {
        bottom: 50px;
    }

    .portal-glow {
        bottom: 131px;
        width: 450px;
        height: 70%;
    }
}

.scroll-content {
    overflow-x: scroll;
    padding-bottom: 16px;
}

/* SHRED CURSOR */
#shred-cursor {
    position: fixed;
    top: 8px;
    left: 8px;
    pointer-events: none;
    width: 48px;
    height: 48px;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0;
}

#shred-cursor img {
    width: 24px;
    height: 24px;
    transform-origin: center;
}

#trail-container {
    position: fixed;
    top: -6px;
    left: 2px;
    pointer-events: none;
    z-index: 9998;
}

.trail-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
}

/* ABOUT PAGE */
.about-hero-container {
    height: 800px;
    position: relative;
    overflow: hidden;
    background-color: var(--brand);
}

.about-hero-image img {
    will-change: transform;
}

@media all and (min-width:320px) and (max-width:425px) {
    .about-hero-container {
        height: 600px;
    }

    .about-hero-container-gadient-overlay {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100px;
        z-index: 2;
    }

    .about-hero-image img {
        position: absolute;
        left: 96px;
        bottom: -32px;
        width: 250px;
        transform: translateX(-50%);
    }
}

@media all and (min-width:426px) and (max-width:768px) {
    .about-hero-container-gadient-overlay {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 200px;
        z-index: 2;
    }

    .about-hero-image img {
        position: absolute;
        left: 128px;
        bottom: 0;
        width: 320px;
        transform: translateX(-50%);
    }
}


.about-hero-copy {
    position: absolute;
    width: 50%;
    top: 160px;
    right: 160px;
    display: flex;
    flex-direction: column;
}

.about-hero-copy h1 {
    text-align: left;
    color: transparent;
    -webkit-text-stroke: 2px black;
    text-transform: uppercase;
    font-weight: 100;
    font-size: 64px;
}

.about-hero-copy h1 span:nth-of-type(1) {
    color: #007BFF;
    -webkit-text-stroke: 0;
    font-weight: 900;
}

.about-hero-copy h1 span:nth-of-type(2) {
    color: #00B74A;
    -webkit-text-stroke: 0;
    font-weight: 900;
}

.about-hero-copy h1 span:nth-of-type(3) {
    color: #FF4F8B;
    -webkit-text-stroke: 0;
    font-weight: 900;
}

@media all and (min-width:320px) and (max-width:425px) {
    .about-hero-copy h1 {
        font-size: 40px;
    }
}

@media all and (min-width:769px) and (max-width:1024px) {
    .about-hero-image img {
        position: absolute;
        bottom: 0px;
        left: -123px;
        width: 550px;
    }

    .about-hero-copy {
        top: 64px;
        right: 32px;
    }
}

@media all and (min-width:1025px) and (max-width:1440px) {
    .about-hero-image img {
        position: absolute;
        bottom: 0px;
        left: 0px;
        width: 550px;
    }

    .about-hero-copy {
        top: 64px;
        right: 32px;
    }
}


@media all and (min-width:320px) and (max-width:425px) {
    .about-hero-copy {
        top: 16px;
        left: 50%;
        right: unset !important;
        transform: translateX(-50%);
        width: 300px;
    }

    .about-hero-copy svg {
        width: 250px;
        height: 100%;
    }
}

@media all and (min-width:426px) and (max-width:768px) {
    .about-hero-copy {
        top: 32px;
        left: 50%;
        right: unset !important;
        transform: translateX(-50%);
        width: 90%;
    }

    .about-hero-copy svg {
        width: 250px;
        height: 100%;
    }
}

.about-hero-copy h2 {
    font-size: 64px;
    font-weight: 700;
    margin: 0;
    color: transparent;
    -webkit-text-stroke: 1px black;
}

#about-extra {
    transition: all 0.3s ease;
}



/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.grid>a {
    display: block;
    height: 100%;
}

.grid > a .card {
    height: 100%;
}


.grid--2col {
    grid-template-columns: repeat(2, 1fr);
}

.grid--4col {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {

    .grid,
    .grid--2col,
    .grid--4col {
        grid-template-columns: 1fr;
    }
}


/* CARD */
.card {
    background-color: var(--dark-card);
    border-radius: 8px;
    padding: 1.5rem;
    color: #fff;
    transition: all 0.3s ease;
}


.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin-bottom: 16px;
}

.card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ccc;
}

/* card modifiers */
.card--flex {
    display: flex;
    flex-direction: column;
}

.card--flex>*:last-child {
    margin-top: auto;
}

.card--center {
    text-align: center;
}

.card--action {
    background-color: var(--brand);
    color: #111;
    cursor: pointer;
}

.card--action h4,
.card--action h5 {
    color: #111;
}

.card--action:hover {
    background-color: #111;
    box-shadow: -16px 16px 16px var(--brand);
    transform: translateY(-4px);
}

.card--action:hover h4,
.card--action:hover h5 {
    color: var(--brand);
}

.card--video {
    width: 320px;
    flex-shrink: 0;
}

.video-mobile {
    width: 100%;
    max-width: 300px;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}


.modal-content {
    margin: 10% auto;
    width: 80%;
    position: relative;
    border-radius: 8px;
}

@media all and (min-width:320px) and (max-width:425px) {
    .modal-content {
        margin: 16px auto;
        width: 90%;
    }
}

#modalContent {
    border: solid 1px var(--brand);
    border-radius: 16px;
    width: 100%;
    margin: auto;
}

.close {
    position: absolute;
    top: 16px;
    right: 16px;
    color: #FAFDFA;
    font-size: 64px;
    font-weight: bold;
    cursor: pointer;
    opacity: .5;
    text-shadow: none !important;
}

.close:hover {
    opacity: 1;
    text-shadow: 0px 4px 4px 0px rgba(255, 255, 255, 0.25) !important;
}