:root {
    --color-bg-deep-charcoal: #0d0d0d;
    --color-bg-surface: #141414;
    --color-bg-surface-elevated: #1a1a1a;
    --color-text-ash-grey: #E0E0E0;
    --color-text-muted: #8E8E93;
    --color-text-white: #FFFFFF;
    --color-accent-mustard: #F4D03F;
    --color-accent-mustard-hover: #FFE066;
    --color-accent-mustard-dark: #5C4D11;
    --color-border-subtle: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(244, 208, 63, 0.45);
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --container-max-width: 1440px;
    --grid-gap: clamp(1.25rem, 2.5vw, 2rem);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--color-bg-deep-charcoal);
}

body {
    background-color: var(--color-bg-deep-charcoal);
    background-image:
        radial-gradient(circle at 15% 20%, rgba(92, 77, 17, 0.22) 0%, rgba(13, 13, 13, 0) 50%),
        radial-gradient(circle at 85% 60%, rgba(74, 4, 4, 0.22) 0%, rgba(13, 13, 13, 0) 50%),
        radial-gradient(circle at 50% 90%, rgba(10, 46, 31, 0.22) 0%, rgba(13, 13, 13, 0) 50%);
    background-attachment: fixed;
    color: var(--color-text-ash-grey);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

main {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.grid-container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3.5rem);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-border-subtle);
    z-index: 100;
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-white);
    text-decoration: none;
    letter-spacing: 2.5px;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.85;
}

.main-nav ul {
    display: flex;
    gap: 2.25rem;
    list-style: none;
}

.main-nav a {
    color: var(--color-text-ash-grey);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-accent-mustard);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--color-accent-mustard);
}

.main-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Language Toggle */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.lang-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2ch;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
    padding: 2px 4px;
}

.lang-option:hover,
.lang-option.active {
    color: var(--color-accent-mustard);
    font-weight: 600;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.primary-button {
    background: transparent;
    border: 1px solid var(--color-border-subtle);
    color: var(--color-text-white);
    padding: 0.75rem 1.4rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.primary-button:hover {
    background: var(--color-text-white);
    border-color: var(--color-text-white);
    color: var(--color-bg-deep-charcoal);
    transform: translateY(-1px);
}

.btn-mustard {
    background: var(--color-accent-mustard);
    border-color: var(--color-accent-mustard);
    color: #121212;
    font-weight: 700;
}

.btn-mustard:hover {
    background: var(--color-accent-mustard-hover);
    border-color: var(--color-accent-mustard-hover);
    color: #121212;
    box-shadow: 0 4px 20px rgba(244, 208, 63, 0.25);
}

/* ==========================================================================
   Hero Section: Structuring the Chaos
   ========================================================================== */
.hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: 130px;
    padding-bottom: 40px;
    position: relative;
}

.hero-content {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-kicker {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 28px;
    min-height: 28px;
    max-height: 28px;
    line-height: 1;
    min-width: min(100%, 340px);
    font-family: var(--font-heading);
    font-size: clamp(0.75rem, 1.4vw, 1rem);
    font-weight: 600;
    color: var(--color-accent-mustard);
    text-transform: uppercase;
    letter-spacing: clamp(1.5px, 0.3vw, 3px);
    margin-bottom: 1.25rem;
    white-space: nowrap;
    overflow: hidden;
}

.hero-kicker::before {
    content: '';
    display: inline-block;
    flex-shrink: 0;
    width: 28px;
    height: 1.5px;
    background: var(--color-accent-mustard);
}

.hero-title-main {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 7.5vw, 6.2rem);
    font-weight: 700;
    color: var(--color-text-white);
    line-height: 1.04;
    letter-spacing: -1.5px;
    margin-bottom: 1.25rem;
    max-width: 100%;
    overflow-wrap: break-word;
}

.hero-title-main .accent {
    color: var(--color-accent-mustard);
}

.hero-title-sub {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.2vw, 1.65rem);
    color: var(--color-text-ash-grey);
    font-weight: 300;
    line-height: 1.45;
    min-height: calc(2 * 1.45em);
    margin-bottom: 0;
    max-width: 820px;
    overflow-wrap: break-word;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.content-section {
    padding: clamp(2.25rem, 4.5vw, 3.5rem) 0;
}

.section-header {
    margin-bottom: 2rem;
}

.section-kicker {
    font-family: var(--font-heading);
    font-size: clamp(0.74rem, 1.1vw, 0.8rem);
    font-weight: 600;
    color: var(--color-accent-mustard);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 0.6rem;
    display: block;
}

.large-headline {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--color-text-white);
    letter-spacing: -1px;
    line-height: 1.15;
    max-width: 100%;
    overflow-wrap: break-word;
}

.section-meta {
    font-size: clamp(0.88rem, 1.2vw, 0.95rem);
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

/* ==========================================================================
   Fluid Responsive Stills Grid
   ========================================================================== */
.stills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
    justify-content: center;
    gap: var(--grid-gap);
    margin-top: 1rem;
}

.still-card {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: var(--color-bg-surface);
    border: 1px solid var(--color-border-subtle);
    border-radius: 4px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.still-card:hover,
.still-card:focus-visible,
.still-card.is-active {
    border-color: var(--color-border-hover);
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.8),
                0 0 25px -5px rgba(244, 208, 63, 0.15);
}

.still-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.still-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: brightness(0.92) contrast(1.05);
    transition: filter 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.4s ease;
}

/* Dim still on hover */
.still-card:hover .still-img,
.still-card:focus .still-img,
.still-card:focus-within .still-img,
.still-card.active .still-img,
.still-card.is-active .still-img {
    filter: brightness(0.18) contrast(1.15);
    transform: scale(1.04);
}

/* Subtle corner index before hover */
.still-corner-index {
    position: absolute;
    bottom: 1rem;
    right: 1.25rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(13, 13, 13, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.25rem 0.6rem;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.still-card:hover .still-corner-index,
.still-card:focus .still-corner-index,
.still-card:focus-within .still-corner-index,
.still-card.active .still-corner-index,
.still-card.is-active .still-corner-index {
    opacity: 0;
}

/* Hover Overlay State */
.still-overlay {
    position: absolute;
    inset: 0;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: linear-gradient(180deg, rgba(13, 13, 13, 0.55) 0%, rgba(13, 13, 13, 0.88) 100%);
    pointer-events: none;
}

.still-card:hover .still-overlay,
.still-card:focus .still-overlay,
.still-card:focus-within .still-overlay,
.still-card.active .still-overlay,
.still-card.is-active .still-overlay {
    opacity: 1;
    transform: translateY(0);
}

.still-overlay-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.still-index {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: var(--color-accent-mustard);
}

.still-tag {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--color-text-ash-grey);
    padding: 0.25rem 0.65rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    text-transform: uppercase;
}

.still-overlay-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.still-title {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    font-weight: 700;
    color: var(--color-text-white);
    letter-spacing: -0.5px;
    line-height: 1.15;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.still-role {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--color-accent-mustard);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.role-bullet {
    font-size: 0.65rem;
    color: var(--color-accent-mustard);
}

.still-specs {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #b5b5ba;
    letter-spacing: 0.3px;
    line-height: 1.4;
    font-weight: 400;
}

.still-action-cue {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.75rem;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-accent-mustard);
    opacity: 0.95;
    transition: transform 0.25s ease, color 0.25s ease;
}

.still-action-cue .play-icon {
    font-size: 0.65rem;
    color: var(--color-accent-mustard);
}

.still-card:hover .still-action-cue,
.still-card:focus-visible .still-action-cue {
    transform: translateX(4px);
    color: var(--color-accent-mustard-hover);
}

/* ==========================================================================
   Boutique Typographic Splash Loader (100vh/100vw)
   ========================================================================== */
body.loading-splash {
    overflow: hidden;
}

.splash-loader {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background-color: #050505;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    /* Whole container (background + text) fades out together over 1s */
    transition: opacity 1s ease, visibility 0s linear 1s;
}

.splash-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 6vw;
}

/* Typography mirrors the header logo (.logo-link: 700 weight, 2.5px @ 1.15rem ≈ 0.136em)
   so the FLIP scale lands pixel-for-pixel on it. */
.splash-name {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 5vw, 4.25rem);
    font-weight: 700;
    color: var(--color-text-white);
    text-transform: uppercase;
    letter-spacing: 0.136em;
    line-height: 1.15;
    white-space: nowrap;
    transform-origin: center center;
    transform: translate(0, 0) scale(1);
    will-change: transform;
}

/* ---- FLIP: loader name flies to the header logo while the black fades ---- */
.splash-loader.is-flipping {
    pointer-events: none;
    background-color: transparent;
    transition: background-color 1s ease;
}

.splash-loader.is-flipping .splash-name {
    color: var(--color-text-white);
    transform: translate(var(--flip-x, 0px), var(--flip-y, 0px)) scale(var(--flip-s, 1));
    transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1);
}

.splash-loader.is-flipping .splash-subtitle {
    opacity: 0;
    transition: opacity 0.35s ease;
}

.splash-loader.is-done {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* ==========================================================================
   Kill Switch Safety Overrides (Usabilidad y conexiones 3G/lentas)
   ========================================================================== */
html.animation-override .splash-loader,
body.animation-override .splash-loader {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

html.animation-override,
html.animation-override body,
body.animation-override,
body.animation-override.loading-splash {
    overflow: auto !important;
}

html.animation-override .hero-title-main,
body.animation-override .hero-title-main,
html.animation-override .hero-title-sub,
body.animation-override .hero-title-sub,
html.animation-override .hero-kicker,
body.animation-override .hero-kicker,
html.animation-override .hero-content,
body.animation-override .hero-content,
html.animation-override .hero-section,
body.animation-override .hero-section {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

html.animation-override .site-header .logo-link,
body.animation-override .site-header .logo-link {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Fallback cuando JavaScript está desactivado */
@media (scripting: none) {
    body.loading-splash {
        overflow: auto !important;
    }
    .splash-loader {
        display: none !important;
    }
    body.loading-splash .logo-link {
        visibility: visible !important;
    }
    .hero-title-main,
    .hero-title-sub,
    .hero-kicker,
    .hero-content {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }
}

/* Red de seguridad CSS: Timer de 3000ms a nivel de renderizado
   Si tras 3 segundos JS o fuentes tardan o se cuelgan, el navegador
   fuerza el desvanecimiento y retirada del splash loader y libera el titular */
@keyframes cssKillSwitchLoader {
    to {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        display: none !important;
    }
}

@keyframes cssKillSwitchBody {
    to {
        overflow: auto !important;
    }
}

@keyframes cssKillSwitchLogo {
    to {
        visibility: visible !important;
        opacity: 1 !important;
    }
}

body.loading-splash {
    animation: cssKillSwitchBody 0s linear 3s forwards;
}

body.loading-splash .splash-loader {
    animation: cssKillSwitchLoader 0.25s ease 3s forwards;
}

body.loading-splash .logo-link {
    visibility: hidden;
    animation: cssKillSwitchLogo 0s linear 3s forwards;
}

.splash-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 500;
    color: var(--color-accent-mustard);
    text-transform: uppercase;
    letter-spacing: 0.45em;
    padding-left: 0.45em;
    margin-top: 1rem;
}

/* ==========================================================================
   Industry Partners & Selected Clients (Boutique Text Section)
   ========================================================================== */
.partners-text-section {
    /* Inherit the site-wide body background (gradient/noise) – no hard cut */
    background-color: transparent;
    padding: clamp(3.5rem, 5.5vw, 5.5rem) 0;
}

.partners-blocks-wrapper {
    display: flex;
    flex-direction: column;
    gap: clamp(2.5rem, 4.5vw, 3.5rem);
}

.partners-intro {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
    font-weight: 400;
    font-style: normal;
    color: var(--color-text-ash-grey);
    line-height: 1.6;
    letter-spacing: 0.01em;
    margin-bottom: 2.25rem;
}

.partners-block {
    display: block;
}

.partners-block-title {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-accent-mustard);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.85rem;
    display: block;
    opacity: 0.9;
    max-width: 100%;
    overflow-wrap: break-word;
}

.partners-names-list {
    display: inline;
    font-family: var(--font-body);
    font-size: clamp(0.74rem, 0.9vw, 0.82rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    line-height: 2.3;
    letter-spacing: 0.03em;
    word-spacing: 0.05em;
}

@media (max-width: 850px) {
    .partners-text-section {
        padding: 3.5rem 0;
    }

    .partners-blocks-wrapper {
        gap: 2.5rem;
    }

    .partners-names-list {
        font-size: 0.78rem;
        line-height: 2.2;
    }
}

@media (max-width: 599px) {
    .partners-text-section {
        padding: 3rem 0;
    }

    .partners-blocks-wrapper {
        gap: 2.25rem;
    }

    .partners-block-title {
        font-size: 0.7rem;
        letter-spacing: 1.8px;
        margin-bottom: 0.75rem;
    }

    .partners-names-list {
        font-size: 0.76rem;
        line-height: 2.1;
    }
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section-inner {
    text-align: center;
    padding: 3rem 0;
}

.external-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.massive-link {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.5vw, 1.85rem);
    color: var(--color-text-white);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s ease, transform 0.3s ease;
}

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

.contact-info-premium {
    border-top: 1px solid var(--color-border-subtle);
    padding-top: 3.5rem;
}

.contact-lede {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: var(--color-text-ash-grey);
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.6;
}

.contact-direct-channels {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.channel-email {
    font-family: var(--font-heading);
    font-size: clamp(0.95rem, 4.2vw, 2rem);
    font-weight: 700;
    color: var(--color-accent-mustard);
    text-decoration: none;
    letter-spacing: -0.5px;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    white-space: nowrap;
    max-width: 100%;
    transition: opacity 0.3s ease, border-color 0.3s ease;
}

.channel-email:hover {
    opacity: 0.7;
    border-bottom-color: rgba(244, 208, 63, 0.45);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    padding: 2.75rem 0;
    text-align: center;
    border-top: 1px solid var(--color-border-subtle);
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.site-footer .footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    color: var(--color-text-muted);
}

.site-footer .copyright {
    margin: 0;
}

.site-footer .legal-link {
    color: var(--color-text-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255, 255, 255, 0.2);
    font-size: 0.78rem;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.site-footer .legal-link:hover,
.site-footer .legal-link:focus-visible {
    color: var(--color-text-white);
    text-decoration-color: var(--color-accent-mustard);
    outline: none;
}

.site-footer .footer-separator {
    color: rgba(255, 255, 255, 0.25);
    user-select: none;
}

/* ==========================================================================
   Project Details & Video Modal
   ========================================================================== */
body.modal-open {
    overflow: hidden;
}

.project-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.project-modal:not(.is-open) {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(16, 16, 16, 0.94) 0%, rgba(5, 5, 5, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    cursor: pointer;
}

.modal-dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 980px;
    max-height: 92vh;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: 0 30px 90px -15px rgba(0, 0, 0, 0.95),
                0 0 50px -10px rgba(244, 208, 63, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.95) translateY(14px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.35s ease;
}

.project-modal.is-open .modal-dialog {
    transform: scale(1) translateY(0);
}

/* Close Button */
.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    z-index: 15;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(13, 13, 13, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    padding: 0.45rem 0.95rem;
    color: var(--color-text-ash-grey);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.25s ease;
}

.modal-close-btn:hover,
.modal-close-btn:focus-visible {
    color: var(--color-text-white);
    border-color: var(--color-accent-mustard);
    background: rgba(244, 208, 63, 0.15);
    box-shadow: 0 0 20px rgba(244, 208, 63, 0.2);
    transform: translateY(-1px);
    outline: none;
}

.modal-close-btn .close-icon {
    font-size: 1.3rem;
    line-height: 1;
    color: var(--color-accent-mustard);
    display: inline-block;
    transition: transform 0.3s ease;
}

.modal-close-btn:hover .close-icon {
    transform: rotate(90deg);
}

/* Modal Body */
.modal-body {
    overflow-y: auto;
    max-height: calc(92vh - 54px);
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}
.modal-body::-webkit-scrollbar-track {
    background: #0d0d0d;
}
.modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}
.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-mustard);
}

/* Video Player Container */
.modal-player-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--color-border-subtle);
}

.modal-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    display: block;
    outline: none;
}

.modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Modal Information Area */
.modal-info {
    padding: 2rem 2.5rem;
    background: var(--color-bg-surface);
}

.modal-header-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.6rem;
}

.modal-tag-index {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: var(--color-accent-mustard);
}

.modal-tag-pill {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--color-text-ash-grey);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.65rem;
    border-radius: 2px;
    text-transform: uppercase;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.8vw, 2.3rem);
    font-weight: 700;
    color: var(--color-text-white);
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    max-width: 100%;
    overflow-wrap: break-word;
}

.modal-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-accent-mustard);
    margin-bottom: 1.75rem;
}

.modal-role-badge .role-bullet {
    color: var(--color-accent-mustard);
    font-size: 0.7rem;
}

.modal-tech-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border-subtle);
}

.tech-spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.tech-spec-item.full-width-spec {
    grid-column: 1 / -1;
}

.spec-label {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--color-accent-mustard);
}

.spec-value {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-white);
    line-height: 1.45;
}

/* Modal Footer Navigation */
.modal-footer-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.75rem;
    background: #0d0d0d;
    border-top: 1px solid var(--color-border-subtle);
}

.modal-nav-action {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 4px;
    transition: color 0.25s ease, background-color 0.25s ease;
}

.modal-nav-action:hover,
.modal-nav-action:focus-visible {
    color: var(--color-accent-mustard);
    background: rgba(255, 255, 255, 0.04);
    outline: none;
}

.modal-nav-action .nav-arrow {
    font-size: 1.2rem;
    line-height: 1;
}

.modal-nav-counter {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    letter-spacing: 2px;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 960px) {
    .stills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .still-card {
        aspect-ratio: 16 / 10;
    }

    .hero-section {
        padding-top: 110px;
        min-height: auto;
        padding-bottom: 30px;
    }

    .content-section {
        padding: 3rem 0;
    }

}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .site-header {
        padding: 1.2rem 0;
    }

    .hero-section {
        padding-top: 100px;
    }


    .still-overlay {
        padding: 1.5rem;
    }

    .still-title {
        font-size: 1.35rem;
    }

    .still-specs {
        font-size: 0.82rem;
    }

    .external-links {
        gap: 1.5rem;
    }

    /* Modal responsive adaptations */
    .project-modal {
        padding: 0.75rem;
    }

    .modal-dialog {
        max-height: 94vh;
    }

    .modal-info {
        padding: 1.35rem 1.25rem;
    }

    .modal-title {
        font-size: 1.45rem;
    }

    .modal-tech-specs {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .modal-close-btn {
        top: 0.75rem;
        right: 0.75rem;
        padding: 0.35rem 0.75rem;
    }

    .modal-close-btn .close-label {
        display: none;
    }
}
/* ==========================================================================
   Placeholder cards (no still available yet) & modal empty state
   ========================================================================== */
.still-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    background: linear-gradient(145deg, #1a1a1a 0%, #121212 100%);
    transition: opacity 0.4s ease;
}

.placeholder-title {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 1.8vw, 1.6rem);
    font-weight: 600;
    letter-spacing: -0.3px;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
}

.placeholder-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.3rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.5);
}

.still-card:hover .still-placeholder,
.still-card:focus-visible .still-placeholder {
    opacity: 0.25;
}

.section-header + .stills-grid { margin-bottom: 0; }
#campaigns { padding-top: 1.5rem; }

.modal-empty-state {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    background: radial-gradient(circle at center, #181818 0%, #0a0a0a 100%);
}

.modal-empty-state[hidden],
.modal-iframe[hidden] { display: none; }

.modal-empty-state .empty-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1rem;
    padding-left: 3px;
}

.modal-empty-state .empty-text {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.award-value { color: var(--color-accent-mustard); }
.tech-spec-item[hidden] { display: none; }

/* ==========================================================================
   2-Grid layout: centered orphans (flex-wrap + justify-content: center)
   ========================================================================== */
.stills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--grid-gap);
}

.stills-grid .still-card {
    flex: 0 1 calc((100% - var(--grid-gap)) / 2);
    max-width: calc((100% - var(--grid-gap)) / 2);
}

@media (max-width: 960px) {
    .stills-grid .still-card {
        flex-basis: 100%;
        max-width: 100%;
    }
}

/* Grayscale by default, original color on hover */
.still-img {
    filter: grayscale(100%);
}

.still-card:hover .still-img,
.still-card:focus .still-img,
.still-card:focus-visible .still-img,
.still-card.active .still-img,
.still-card.is-active .still-img {
    filter: none;
    transform: scale(1.03);
}

/* Keep the still visible on hover; legibility via bottom gradient only */
.still-overlay {
    background: linear-gradient(180deg, rgba(13, 13, 13, 0.35) 0%, rgba(13, 13, 13, 0) 30%, rgba(13, 13, 13, 0) 45%, rgba(13, 13, 13, 0.92) 100%);
}

.still-card.no-image .still-overlay {
    background: linear-gradient(180deg, rgba(13, 13, 13, 0.55) 0%, rgba(13, 13, 13, 0.88) 100%);
}

/* ==========================================================================
   Modal: HTML5 video + image carousel
   ========================================================================== */
.modal-video[hidden],
.modal-carousel[hidden] { display: none; }

.modal-carousel {
    position: absolute;
    inset: 0;
    background: #000;
}

.carousel-viewport {
    position: absolute;
    inset: 0;
    overflow: hidden;
    touch-action: pan-y;
    cursor: grab;
}

.carousel-viewport:active { cursor: grabbing; }

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease-out, visibility 0.2s ease-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
    .carousel-slide {
        transition: none;
    }
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(13, 13, 13, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--color-text-white);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    transition: all 0.25s ease;
}

.carousel-prev { left: 1rem; }
.carousel-next { right: 1rem; }

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
    border-color: var(--color-accent-mustard);
    color: var(--color-accent-mustard);
    outline: none;
}

.carousel-dots {
    position: absolute;
    bottom: 0.9rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.45rem;
    z-index: 3;
    max-width: 80%;
    flex-wrap: wrap;
    justify-content: center;
}

.carousel-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.carousel-dot.active {
    background: var(--color-accent-mustard);
    transform: scale(1.3);
}

.carousel-counter {
    position: absolute;
    top: 1.15rem;
    left: 1.25rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    z-index: 3;
}

.modal-carousel.single .carousel-arrow,
.modal-carousel.single .carousel-dots,
.modal-carousel.single .carousel-counter { display: none; }

/* ==========================================================================
   FINAL LAYER: Global responsive system, grid crop fix, split-screen modal
   (Desktop >= 1100: 3 cols | Tablet 600-1099: 2 cols | Mobile < 600: 1 col)
   ========================================================================== */
img, video, iframe { max-width: 100%; }

section[id] { scroll-margin-top: 90px; }

/* ---------- Fluid Grid: auto-fit with 360px min card width ---------- */
.stills-grid,
#grid-management,
#grid-campaigns {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)) !important;
    justify-content: center;
    gap: var(--grid-gap);
}

.stills-grid .still-card,
#grid-management .still-card,
#grid-campaigns .still-card {
    width: 100%;
    max-width: 100%;
    flex: none;
    aspect-ratio: 16 / 10;
}

.stills-grid .still-title { font-size: clamp(1.05rem, 1.5vw, 1.4rem); }
.stills-grid .still-specs { font-size: 0.82rem; }
.stills-grid .still-overlay { padding: 1.5rem; }

/* Image crop & grayscale toggle */
.still-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%);
}

/* Specific framing for Adidas x Real Madrid */
.still-img-adidas-rm,
#still-img-adidas-rm,
.project-adidas-rm .still-img {
    object-position: center 25%;
}

/* Specific framing for Grid 01 cards */
.still-img-federopticos,
#still-img-federopticos {
    object-position: center 40%;
}

.still-img-adidas-sp5der,
#still-img-adidas-sp5der {
    object-position: top center;
}

.still-img-zzen,
#still-img-zzen {
    object-position: center 15%;
}

.still-card:hover .still-img,
.still-card:focus-visible .still-img,
.still-card.active .still-img,
.still-card.is-active .still-img {
    filter: none;
}

/* ---------- Split-screen modal (desktop) ---------- */
.modal-dialog {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1400px;
    height: 80vh;
    max-height: 80vh;
    margin: auto;
}

.modal-body {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow: hidden;
}

/* Left column: media 60% */
.modal-player-container {
    position: relative;
    flex: 0 0 60%;
    width: 60%;
    min-width: 0;
    aspect-ratio: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 2rem;
    border-bottom: 0;
    border-right: 1px solid var(--color-border-subtle);
    overflow: hidden;
}

/* Right column: text 40%, vertically centered */
.modal-info {
    flex: 0 0 40%;
    width: 40%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2.5rem;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* Universal media formatting */
.modal-iframe,
.modal-video {
    width: 100%;
    height: auto;
    max-height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #000;
    border: 0;
}

.modal-carousel {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    background: transparent;
}

.carousel-slide img,
.carousel-slide video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.carousel-slide video {
    background: #000;
    border-radius: 4px;
}

/* Vertical 9:16 video support (e.g. GLO) */
.modal-video.video-vertical,
.carousel-slide video.video-vertical {
    aspect-ratio: 9 / 16;
    width: auto;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
}

.modal-player-container.is-vertical .modal-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Diptych slide: perfectly seamless side-by-side presentation of two-part horizontal images */
.carousel-slide.slide-diptych {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.diptych-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 2176 / 1440;
    gap: 0;
    margin: auto;
    padding: 0;
    border: none;
    overflow: hidden;
    line-height: 0;
    font-size: 0;
    box-sizing: border-box;
    background: transparent;
}

.carousel-slide .diptych-wrapper img {
    flex: 0 0 calc(50% + 0.5px);
    width: calc(50% + 0.5px);
    height: 100%;
    max-width: calc(50% + 0.5px);
    max-height: 100%;
    object-fit: cover;
    margin: 0;
    padding: 0;
    border: none;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    vertical-align: middle;
}

.carousel-slide .diptych-wrapper img:first-child {
    object-position: right center;
    margin-right: -1px;
    position: relative;
    z-index: 1;
}

.carousel-slide .diptych-wrapper img:last-child {
    object-position: left center;
}


.modal-empty-state {
    position: relative;
    inset: auto;
    width: 100%;
    max-height: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--color-border-subtle);
}

/* ---------- Laptop / small desktop ---------- */
@media (max-width: 1200px) {
    .modal-tech-specs { grid-template-columns: 1fr; }
    .modal-info { padding: 2.5rem 2rem; }
}

/* ---------- Intermediate / Tablet adjustments ---------- */
@media (max-width: 1099px) {
    .stills-grid .still-title { font-size: clamp(1.1rem, 2.4vw, 1.5rem); }
    .content-section { padding: 3rem 0; }
}

/* ---------- Modal stacks: media above text ---------- */
@media (max-width: 900px) {
    .project-modal { padding: 0.75rem; }

    .modal-dialog {
        height: auto;
        max-height: 94vh;
    }

    .modal-body {
        flex-direction: column;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .modal-player-container,
    .modal-info {
        flex: 0 0 auto;
        width: 100%;
    }

    .modal-player-container {
        padding: 3.25rem 1rem 1rem;
        border-right: 0;
        border-bottom: 1px solid var(--color-border-subtle);
        overflow: visible;
    }

    .modal-carousel {
        height: auto;
        aspect-ratio: 4 / 3;
        max-height: 55vh;
    }

    .modal-info {
        justify-content: flex-start;
        padding: 1.5rem 1.25rem;
        overflow: visible;
    }

    .modal-tech-specs { grid-template-columns: 1fr; gap: 1rem; }
    .modal-title { font-size: clamp(1.35rem, 5vw, 1.8rem); }
    .carousel-arrow { width: 38px; height: 38px; }
    .carousel-prev { left: 0.5rem; }
    .carousel-next { right: 0.5rem; }
}

/* ---------- Mobile: 1 column, compact header, scaled type ---------- */
@media (max-width: 768px) {
    .grid-container { padding: 0 5vw; }

    .site-header { padding: 0.75rem 0; }
    .header-inner { flex-wrap: wrap; row-gap: 0.5rem; }
    .main-nav {
        display: block;
        order: 3;
        flex: 0 0 100%;
    }
    .main-nav ul { justify-content: center; gap: 1.5rem; }
    .main-nav a { font-size: 0.75rem; letter-spacing: 1.2px; }
    .logo-link { font-size: 0.95rem; letter-spacing: 1.8px; }
    .lang-toggle { font-size: 0.75rem; }

    .hero-section { padding-top: 130px; padding-bottom: 20px; min-height: auto; }
    .hero-title-main { font-size: clamp(2rem, 9.5vw, 3.5rem); letter-spacing: -1px; max-width: 100%; }
    .hero-title-sub { font-size: clamp(1rem, 4.2vw, 1.2rem); min-height: calc(3 * 1.45em); }
    .hero-kicker {
        height: 26px;
        min-height: 26px;
        max-height: 26px;
        line-height: 1;
        font-size: clamp(0.68rem, 3vw, 0.85rem);
        letter-spacing: clamp(1px, 0.45vw, 2px);
        min-width: 0;
        max-width: 100%;
    }
    .hero-title-sub br { display: none; }

    .large-headline { font-size: clamp(1.45rem, 6.8vw, 2.4rem); max-width: 100%; }
    .section-meta { font-size: 0.88rem; }
    .content-section { padding: 2.25rem 0; }
    section[id] { scroll-margin-top: 110px; }

    .channel-email { font-size: clamp(0.95rem, 4.2vw, 1.8rem); white-space: nowrap; }
    .contact-lede { font-size: 1.05rem; }
    .external-links { gap: 1rem 1.5rem; }
    .massive-link { font-size: clamp(1rem, 4.2vw, 1.25rem); }
}

@media (max-width: 599px) {
    .stills-grid .still-card,
    #grid-management .still-card,
    #grid-campaigns .still-card {
        flex-basis: 100%;
        max-width: 100%;
        width: 100%;
    }
    .stills-grid .still-title { font-size: clamp(1.05rem, 4.5vw, 1.2rem); }
    .stills-grid .still-overlay { padding: 1.25rem; }

    .modal-footer-nav { padding: 0.6rem 0.75rem; }
    .modal-nav-action { padding: 0.4rem 0.5rem; font-size: 0.72rem; }
}

@media (max-width: 380px) {
    .main-nav ul { gap: 1rem; }
    .logo-link { font-size: 0.85rem; letter-spacing: 1.2px; }
    .channel-email { font-size: clamp(0.82rem, 4.2vw, 1.1rem); }
}

/* Short landscape phones: keep modal usable */
@media (max-height: 520px) and (orientation: landscape) {
    .modal-dialog { height: 94vh; max-height: 94vh; }
}

/* ---------- Touch devices: no hover, so show info + color permanently ---------- */
@media (hover: none) {
    .still-img { filter: none; }
    .still-overlay { opacity: 1; transform: none; }
    .still-card.no-image .placeholder-title { display: none; }
    .still-card.no-image .still-placeholder { opacity: 0.15; }
    .still-card:hover .still-img { transform: none; }
}

/* Marcas / créditos: aviso informativo discreto */
.partners-disclaimer,
.modal-credit-note {
    font-family: var(--font-body);
    font-size: 0.7rem;
    line-height: 1.6;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.35);
    max-width: 760px;
}
.partners-disclaimer { margin-top: 2rem; }
.modal-credit-note { margin: 0 0 1.25rem; padding-top: 0.25rem; }
