/* ==========================================
   PROJECT PAGE SPECIFIC STYLES
   ========================================== */

/* ==================== */
/* PROJECT HERO         */
/* ==================== */
.project-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10rem 2rem 4rem;
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.1) 0%, rgba(255, 136, 0, 0.05) 100%);
    position: relative;
}

.project-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

.project-hero-content {
    text-align: left;
    max-width: 1000px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease forwards;
}

.project-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 6rem);
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.project-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.project-category {
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.project-divider {
    color: var(--color-accent);
    font-weight: 700;
}

.project-link {
    font-size: 1.2rem;
    color: var(--color-accent);
    font-weight: 600;
    transition: var(--transition-fast);
    display: inline-block;
}

.project-link:hover {
    color: var(--color-accent-hover);
    transform: translateY(-2px);
}

/* ==================== */
/* PROJECT INTRO        */
/* ==================== */
.project-intro {
    padding: 4rem 2rem;
    background: var(--color-bg);
}

.project-intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-text {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.4;
    color: var(--color-text-muted);
}

/* ==================== */
/* PROJECT IMAGES       */
/* ==================== */
.project-image-section {
    padding: 3rem 0;
    background: var(--color-bg);
}

.project-image-large {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 3.5rem;
    overflow: hidden;
    position: relative;
    /* CLS: reserve space before image loads (most portfolio shots are ~16/9) */
    aspect-ratio: 16 / 9;
}

.project-image-large img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: var(--transition-smooth);
    /* Override aspect-ratio so img uses its own intrinsic ratio once loaded */
    aspect-ratio: auto;
}

.project-image-large img:hover {
    transform: scale(1.02);
}

/* ==================== */
/* PROJECT CONTENT      */
/* ==================== */
.project-content {
    padding: 6rem var(--gutter) 6rem var(--content-left);
    background: var(--color-bg);
}

.content-block {
    max-width: 1700px;
    margin: 0 auto;
}

.content-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.content-text {
    max-width: 900px;
}

.large-paragraph {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.large-paragraph strong {
    background: linear-gradient(135deg, var(--color-accent) 0%, #ff8800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.body-paragraph {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.4;
    margin-bottom: 0.8rem;
    color: var(--color-text-muted);
}

.body-paragraph strong {
    color: var(--color-text);
    font-weight: 600;
}

.body-paragraph em {
    font-style: italic;
}

/* ==================== */
/* PROJECT GALLERY      */
/* ==================== */
.project-gallery {
    padding: 3rem var(--gutter) 3rem var(--content-left);
    background: var(--color-bg);
}

/* 2 Column Grid */
.gallery-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1700px;
    margin: 0 auto;
}

/* 3 Column Grid */
.gallery-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1700px;
    margin: 0 auto;
}

/* 1 Column Grid (Full Width) */
.gallery-grid-1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1700px;
    margin: 0 auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 4px;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

/* Gallery item fade-in is handled by JS intersection observer */

/* ==================== */
/* SPLIT INTRO SECTION  */
/* ==================== */
.project-intro-split {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 1700px;
    margin: 0 auto;
    padding: 6rem var(--gutter) 6rem var(--content-left);
}

.intro-split-title {
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.intro-split-meta {
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    color: var(--color-text-muted);
    line-height: 1.6;
}

.intro-split-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.intro-split-link:hover {
    color: var(--color-text);
}

.intro-split-headline {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--color-text);
    margin-bottom: 0.6rem;
}

.intro-split-subcopy {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1.3vw, 1.05rem);
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 2rem;
}

.intro-split-right p {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1.3vw, 1.05rem);
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ==================== */
/* STATEMENT SECTION    */
/* ==================== */
.project-statement {
    padding: 6rem var(--gutter) 6rem var(--content-left);
}

.statement-inner {
    max-width: 1700px;
    margin: 0 auto;
}

.statement-large {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
}

.statement-divider {
    border: none;
    border-top: 3px solid currentColor;
    width: 60px;
    margin: 2.5rem 0;
    opacity: 0.4;
}

@media (max-width: 768px) {
    .project-statement {
        padding: 4rem 1.5rem;
    }
    .statement-large {
        font-size: clamp(1.4rem, 6vw, 2rem);
    }
}

/* ==================== */
/* PARALLAX IMAGE       */
/* ==================== */
.project-parallax-section {
    width: 100%;
    height: 80vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .project-parallax-section {
        height: 50vh;
        background-attachment: scroll;
    }
}

/* ==================== */
/* SPLIT FEATURE (text+image 50/50) */
/* ==================== */
.project-split-feature {
    padding: 0;
    background: var(--color-bg);
}

.split-feature-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.split-feature-inner.split-feature-reversed {
    direction: rtl;
}

.split-feature-inner.split-feature-reversed > * {
    direction: ltr;
}

.split-feature-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 4rem;
}

.split-feature-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.split-feature-text p {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1.3vw, 1.05rem);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.split-feature-image {
    overflow: hidden;
}

.split-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .split-feature-inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .split-feature-inner.split-feature-reversed {
        direction: ltr;
    }
    .split-feature-image {
        order: -1;
    }
    .split-feature-text {
        padding: 3rem 1.5rem;
    }
}

/* ==================== */
/* VIDEO SECTIONS       */
/* ==================== */
.project-video-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 4px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-title {
    text-align: center;
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.8rem;
    letter-spacing: 0.02em;
}

/* ==================== */
/* PROJECT FOOTER       */
/* ==================== */
.project-footer {
    padding: 8rem var(--gutter) 8rem var(--content-left);
    background: var(--color-bg);
}

.project-footer-content {
    max-width: 1700px;
    margin: 0 auto;
}

.project-footer-content h3 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.footer-email {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--color-accent);
    transition: var(--transition-fast);
    display: inline-block;
    position: relative;
}

.footer-email::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--color-accent);
    transition: width 0.4s ease;
}

.footer-email:hover::after {
    width: 100%;
}

.footer-email:hover {
    color: var(--color-accent-hover);
    transform: translateY(-3px);
}

/* ==================== */
/* PROJECT NAVIGATION   */
/* ==================== */
.project-nav {
    padding: 3rem var(--gutter);
    background: var(--color-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}

.project-nav-prev {
    justify-self: start;
}

.project-nav-all {
    justify-self: center;
}

.project-nav-next {
    justify-self: end;
}

.project-nav-link {
    font-family: var(--font-display);
    font-size: clamp(0.75rem, 1.1vw, 1rem);
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    transition: color 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.project-nav-link:hover {
    color: var(--color-text);
}

.project-nav-link .nav-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    opacity: 0.6;
    text-transform: uppercase;
}

.project-nav-link .nav-title {
    font-family: var(--font-display);
    font-size: clamp(0.9rem, 1.4vw, 1.2rem);
    letter-spacing: -0.01em;
    color: var(--color-text);
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.project-nav-link:hover .nav-title {
    color: var(--color-accent);
}

.project-nav-prev .project-nav-link {
    align-items: flex-start;
}

.project-nav-next .project-nav-link {
    align-items: flex-end;
}

.project-nav-all .project-nav-link {
    align-items: center;
}

.all-projects-btn {
    font-family: var(--font-display);
    font-size: clamp(0.75rem, 1vw, 0.9rem);
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
    text-transform: uppercase;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: border-color 0.2s ease, color 0.2s ease;
    display: inline-block;
}

.all-projects-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

@media (max-width: 768px) {
    .project-nav {
        padding: 2rem 1.5rem;
        gap: 0.5rem;
    }

    .project-nav-link .nav-title {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .project-nav {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 1.5rem 0.5rem;
    }

    .project-nav-all {
        grid-column: 1 / -1;
        order: -1;
    }

    .project-nav-prev { justify-self: start; }
    .project-nav-next { justify-self: end; }
}

/* ==================== */
/* RESPONSIVE           */
/* ==================== */
@media (max-width: 992px) {
    .gallery-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .project-hero {
        min-height: 55vh;
        padding: 7rem 1.5rem 3rem;
    }

    .project-hero-video {
        min-height: 60vh;
    }

    .project-title {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }

    .project-content {
        padding: 4rem 1.5rem;
    }

    .project-intro-split {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 4rem 1.5rem;
    }

    .project-statement {
        padding: 4rem 1.5rem;
    }

    .project-gallery {
        padding: 2rem 1.5rem;
    }

    .gallery-grid-2,
    .gallery-grid-3 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-image-large {
        padding: 0 1.5rem;
    }

    .project-image-section {
        padding: 1.5rem 0;
    }

    .project-footer {
        padding: 4rem 1.5rem;
    }

    .project-footer-content h3 {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }

    .footer-email {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
    }

    .project-nav {
        padding: 2rem 1.5rem;
        gap: 0.5rem;
    }

    .project-nav-link .nav-title {
        font-size: 0.85rem;
    }

    .split-feature-inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .split-feature-inner.split-feature-reversed {
        direction: ltr;
    }

    .split-feature-image {
        order: -1;
    }

    .split-feature-text {
        padding: 3rem 1.5rem;
    }

    .project-parallax-section {
        height: 40vh;
        background-attachment: scroll;
    }

    .project-video-section {
        padding: 0 1.5rem 3rem;
    }
}

@media (max-width: 480px) {
    .project-hero {
        min-height: 50vh;
        padding: 6rem 1.25rem 2.5rem;
    }

    .project-content,
    .project-intro-split,
    .project-statement,
    .project-gallery,
    .project-footer {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .project-nav {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 1.5rem 0.5rem;
        padding: 1.5rem 1.25rem;
    }

    .project-nav-all {
        grid-column: 1 / -1;
        order: -1;
    }

    .project-nav-prev { justify-self: start; }
    .project-nav-next { justify-self: end; }

    .project-nav-link .nav-title {
        font-size: 0.8rem;
    }

    .gallery-grid-2,
    .gallery-grid-3 {
        gap: 0.75rem;
    }

    .project-footer {
        padding: 3rem 1.25rem;
    }
}

/* ==================== */
/* VIDEO SUPPORT        */
/* ==================== */
.project-video {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.project-video video {
    width: 100%;
    border-radius: 8px;
}

/* ==================== */
/* QUOTE SECTION        */
/* ==================== */
.project-quote {
    padding: 6rem 2rem;
    background: var(--color-bg);
    text-align: center;
}

.quote-content {
    max-width: 800px;
    margin: 0 auto;
}

.quote-text {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    line-height: 1.3;
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.quote-author {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}

/* ==================== */
/* PROCESS SECTION      */
/* ==================== */
.process-section {
    padding: 6rem 2rem;
    background: var(--color-bg);
}

.process-container {
    max-width: 1200px;
    margin: 0 auto;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

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

.step-number {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
    opacity: 0.3;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step-description {
    color: var(--color-text-muted);
    line-height: 1.4;
}

/* ==================== */
/* CLUTCH GROUP PROJECT  */
/* ==================== */

/* Light-theme page overrides */
body.clutch-page {
    --color-bg: #ffffff;
    --color-bg-alt: #ffffff;
    --color-text: #1a1a1a;
    --color-text-muted: #555555;
    background-color: #ffffff;
}

body.clutch-page .nav {
    background: transparent;
}

body.clutch-page .nav-links a {
    color: #1a1a1a;
}

body.clutch-page .nav-links a:hover {
    color: var(--color-accent);
}

body.clutch-page .project-hero::before {
    background: rgba(255, 255, 255, 0.15);
}

body.clutch-page .logo img {
    filter: invert(1);
}

body.clutch-page .project-image-section {
    background: #ffffff;
}

.clutch-hero {
    background: url('projects/clutch/1.webp') center / cover no-repeat;
    min-height: 90vh;
}

body.clutch-page .project-hero-content .project-title {
    color: #1a1a1a;
}

body.clutch-page .project-hero-content .project-category {
    color: #555555;
}

/* Clutch: full-bleed background override (white page) */
body.clutch-page .image-full-bleed {
    background: #ffffff;
}

/* Two images side by side */
.image-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
    background: #ffffff;
}

.image-duo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .image-duo {
        grid-template-columns: 1fr;
    }
}

/* ==================== */
/* IMAGE FULL-BLEED     */
/* (shared: stryda, clutch-group, fridly) */
/* ==================== */
.image-full-bleed {
    width: 100%;
    padding: 0;
    margin: 0;
}

.image-full-bleed img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

.image-full-bleed img:hover {
    transform: none;
}

/* ==================== */
/* STRYDA LAYOUT        */
/* ==================== */
.project-hero-video {
    min-height: 86vh;
    overflow: hidden;
    background: #000;
}

.project-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 35%, rgba(0, 0, 0, 0.72) 100%);
    z-index: 1;
    pointer-events: none;
}

.project-hero-video .project-hero-content {
    z-index: 1;
}

/* ── Hero text overlay (headline + subcopy on top of image/video) ── */
.project-hero-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 0 var(--gutter) 3.5rem var(--content-left);
}

.project-hero-text .intro-split-headline {
    color: #ffffff;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    margin-bottom: 0.4rem;
}

.project-hero-text .intro-split-subcopy {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0;
    max-width: 620px;
}

@media (max-width: 768px) {
    .project-hero-text {
        padding: 0 1.5rem 2rem;
    }
}

.project-meta-column {
    display: grid;
    gap: 0.75rem;
    align-content: start;
}

.project-summary-text {
    max-width: 760px;
}

.project-summary-text .body-paragraph {
    text-align: left;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gallery-grid-uneven {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-gallery-uneven .gallery-item {
    aspect-ratio: 16 / 9;
}

@media (max-width: 768px) {
    .project-hero-video {
        min-height: 70vh;
    }

    .project-summary-text .body-paragraph {
        text-align: center;
    }

    .gallery-grid-uneven {
        grid-template-columns: 1fr;
    }
}

/* ==================== */
/* EANNA PROJECT        */
/* ==================== */

/* Italic serif-style headings */
.eanna-italic-heading {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}

.eanna-italic-heading strong {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
}

/* Laptop mockup on grey background */
.eanna-mockup-section {
    background: #c8c8c8;
    padding: 4rem 2rem;
}

.eanna-mockup-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.eanna-mockup-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* 3-column image grid */
.eanna-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 auto;
}

.eanna-grid-3 .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Logo image centred in content block */
.eanna-logo-image {
    max-width: 600px;
    margin: 0 auto;
    line-height: 0;
}

.eanna-logo-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hero-sized full-width image (like a hero banner) */
.eanna-hero-image {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    max-height: 1680px;
}

.eanna-hero-image img {
    width: 100%;
    height: 100%;
    max-height: 1680px;
    object-fit: cover;
    display: block;
}

/* Full-width edge-to-edge images */
.eanna-fullwidth-image {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.eanna-fullwidth-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .eanna-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* ==================== */
/* STRYDA GRIDS         */
/* ==================== */

/* 2×2 grid — Gaming Promos */
.stryda-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 80px 60px;
}

.stryda-grid-2x2 img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

.stryda-grid-2x2 img:hover {
    transform: none;
}

/* Merch grid — 2 rows of 2 */
.stryda-merch-grid {
    max-width: 1700px;
    margin: 0 auto;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stryda-merch-row {
    display: flex;
    gap: 15px;
}

.stryda-merch-row img {
    width: 50%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.stryda-merch-row img:hover {
    transform: none;
}

/* 3-column row — Merch */
.stryda-triple-row {
    display: flex;
    gap: 15px;
    max-width: 1700px;
    margin: 0 auto;
    padding: 80px 60px;
}

.stryda-triple-row img {
    flex: 1;
    width: 33.333%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.stryda-triple-row img:hover {
    transform: none;
}

@media (max-width: 768px) {
    .stryda-grid-2x2 {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        gap: 10px;
    }

    .stryda-merch-grid {
        padding: 40px 20px;
        gap: 10px;
    }

    .stryda-merch-row {
        flex-direction: column;
        gap: 10px;
    }

    .stryda-merch-row img {
        width: 100%;
    }

    .stryda-triple-row {
        flex-direction: column;
        padding: 40px 20px;
        gap: 10px;
    }

    .stryda-triple-row img {
        width: 100%;
    }
}

/* ==================== */
/* G-LOOT PROJECT       */
/* ==================== */

/* Page background override */
body.gloot-page {
    --color-bg: #090b14;
    background-color: #090b14 !important;
}

/* Headings — use site's regular display font */
.gloot-italic-heading {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.7);
    text-align: left;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: none;
}

/* Text sections */
.gloot-centered-text .content-block {
    max-width: 900px;
}

/* ==================== */
/* TOBII PROJECT        */
/* ==================== */
body.tobii-page {
    --color-bg: #ffffff;
    --color-bg-alt: #f4f4f4;
    --color-text: #1a1a1a;
    --color-text-muted: #555555;
    background-color: #ffffff;
}

body.tobii-page .logo img {
    filter: invert(1);
}

.tobii-fullwidth {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.tobii-fullwidth img {
    width: 100%;
    height: auto;
    display: block;
}

/* Full-width edge-to-edge images */
.gloot-fullwidth-image {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.gloot-fullwidth-image img,
.gloot-fullwidth-image video {
    width: 100%;
    height: auto;
    display: block;
}

/* Reduced-size images (60%) */
.gloot-reduced-image {
    width: 100%;
    display: flex;
    justify-content: center;
    line-height: 0;
    overflow: hidden;
}

.gloot-reduced-image img {
    width: 60%;
    height: auto;
    display: block;
}

/* Parallax container for G-Loot */
.gloot-parallax {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    position: relative;
    height: 80vh;
}

.gloot-parallax img {
    width: 100%;
    height: 130%;
    will-change: transform;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

@media (max-width: 768px) {
    .gloot-reduced-image img {
        width: 90%;
    }

    .gloot-parallax {
        height: 50vh;
    }
}

/* ==================== */
/* BALLERS PROJECT      */
/* ==================== */

.ballers-parallax {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    position: relative;
    height: 80vh;
}

.ballers-parallax img {
    width: 100%;
    height: 130%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    will-change: transform;
}

@media (max-width: 768px) {
    .ballers-parallax {
        height: 50vh;
    }
}
