:root {
    /* Hypeads brand (Electric Violet + White) */
    --brand-violet: #7b06cc;
    --brand-white: #ffffff;
    --brand-violet-soft: color-mix(in srgb, var(--brand-violet) 72%, var(--brand-white));
    --brand-violet-mid: color-mix(in srgb, var(--brand-violet) 88%, var(--brand-white));

    --bg-dark: var(--brand-white);
    --bg-gradient-start: #f8f9fa;
    --bg-gradient-end: #e9ecef;
    --text-light: #1a1a1a;
    --text-grey: #6b7280;
    --text-dark: #111111;
    --accent-blue: var(--brand-violet);
    --accent-secondary: #680F11;
    --glass-border: rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(0, 0, 0, 0.03);
    --font-main: 'Lexend', system-ui, sans-serif;
    --font-heading: 'Outfit', system-ui, sans-serif;
    /* Page flow: HypeAds-style alternating section washes */
    --page-wash-muted: #f4f6f8;
    --page-wash-white: var(--brand-white);
    --page-wash-clean: #fafbfc;
    --page-wash-accent-start: #eef1f5;
    --page-wash-accent-end: #e8ecf1;
    --page-wash-cta-start: #f8f9fb;
    --page-wash-cta-end: #ffffff;
    --page-edge-soft: rgba(15, 23, 42, 0.06);
    --scrollbar-size: 6px;
    --scrollbar-thumb: rgba(15, 23, 42, 0.22);
    --scrollbar-thumb-hover: rgba(15, 23, 42, 0.38);
    --scrollbar-track: transparent;
    /* Page canvas: flat white (matches #whatwedo / Elevate section) */
    --page-bg-infinite: var(--brand-white);
    /* HypeAds-style rounded bottom of the scrolling sheet (footer reveal) */
    --page-sheet-radius: clamp(1.35rem, 3vw, 3rem);
    /* Side padding for content band (footer + main sections except hero) */
    --page-gutter-x: clamp(1.25rem, 5vw, 3.75rem);
    /* Vertical space between stacked homepage sections (main flex) */
    --section-stack-gap: clamp(2.75rem, 7vw, 5.5rem);
    /* Extra space below each section’s title block before its body content */
    --section-title-content-gap: clamp(0.65rem, 1.35vw, 1.1rem);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

html {
    background-color: #ffffff;
    /* scroll-behavior: smooth; disabled for Lenis */
}

body {
    font-family: var(--font-main);
    color: var(--text-light);
    overflow-x: hidden;
    min-height: 100%;
    background-color: var(--page-bg-infinite);
}

/* Skip link + in-page targets (WCAG 2.4.1) */
#main-content {
    scroll-margin-top: 5.5rem;
}

.skip-link {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10001;
    padding: 0.65rem 1rem;
    background: var(--brand-violet);
    color: var(--brand-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 0 0 0.35rem 0;
    transform: translateY(-120%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
    outline: 2px solid var(--brand-white);
    outline-offset: 2px;
}

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

/* Inner pages: hero column copy (replaces inline paragraph styles) */
.hero-split-prose {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.75;
}

.hero-split-prose p {
    margin-bottom: 1rem;
}

/* Extra space before CTA row when present */
.hero-split-prose p:nth-last-child(2) {
    margin-bottom: 1.5rem;
}

.hero-split-prose .hero-split-prose__cta {
    margin-bottom: 0;
}

.hero-split-prose .hero-split-prose__cta {
    margin-bottom: 0;
}

/* Legal / policy text blocks */
.policy-prose {
    padding: 2rem var(--page-gutter-x) 5rem;
    max-width: 42rem;
    margin: 0 auto;
}

.policy-prose p {
    line-height: 1.75;
    color: #4b5563;
    margin-bottom: 1rem;
}

.policy-prose p:last-child {
    margin-bottom: 0;
}

.policy-prose__back {
    margin-top: 2rem;
}

.policy-prose a {
    color: var(--brand-violet);
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.policy-prose a:hover {
    color: color-mix(in srgb, var(--brand-violet) 85%, #000);
}

.policy-prose a:focus-visible {
    outline: 2px solid var(--brand-violet);
    outline-offset: 2px;
    border-radius: 0.15em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

/* Thin, low-contrast scrollbars (viewport + overflow regions) */
*::-webkit-scrollbar {
    width: var(--scrollbar-size);
    height: var(--scrollbar-size);
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}

*::-webkit-scrollbar-corner {
    background: transparent;
}

/* Layered layout:
 * Layer 0: Footer (z-index 0) - fixed at bottom
 * Layer 1: Content (z-index 1) - scrollable
 */

/* Content layer - main scrollable content */
#content-layer {
    position: relative;
    z-index: 1;
    background: #ffffff;
    min-height: 100vh;
}

/* Page wrapper - contains all scrollable content; rounded bottom = sheet over footer (HypeAds-style) */
#page-wrapper {
    position: relative;
    z-index: 1;
    background: #ffffff;
    min-height: 100vh;
    border-bottom-left-radius: var(--page-sheet-radius);
    border-bottom-right-radius: var(--page-sheet-radius);
    overflow: hidden;
}

/*
 * Sticky (#screen-experiences cinema) needs a non-clipping scroll ancestor.
 * overflow:hidden on #page-wrapper breaks position:sticky in Firefox (spec-correct).
 * Horizontal overflow still suppressed via body { overflow-x: hidden }.
 */
#page-wrapper:has(#screen-experiences) {
    overflow: visible;
}

/* Legacy support - old class names */
.content-card,
.page-wrapper {
    position: relative;
    z-index: 1;
    background: #ffffff;
    min-height: 100vh;
    --bg-shift-x: 0;
    --bg-shift-y: 0;
    --bg-angle: 0deg;
    --bg-scroll: 0;
}

.content-card > main {
    position: relative;
    z-index: 1;
}

/* HypeAds-style horizontal inset: all page sections in main except full-width hero */
.content-card > main > section:not(#hero) {
    padding-left: var(--page-gutter-x);
    padding-right: var(--page-gutter-x);
}

/* Homepage-only section flow:
 * Reorders blocks between hero and footer for a conversion-first narrative
 * without changing section content. */
body:has(#hero.page-section--hero) .content-card > main {
    display: flex;
    flex-direction: column;
    gap: var(--section-stack-gap);
}

body:has(#hero.page-section--hero) #hero { order: 1; }
body:has(#hero.page-section--hero) #omni-differentials { order: 2; }
body:has(#hero.page-section--hero) #whatwedo { order: 3; }
body:has(#hero.page-section--hero) #value-prop { order: 4; }
body:has(#hero.page-section--hero) #formats-showcase { order: 5; }
body:has(#hero.page-section--hero) .hypeads-video-section-pin-wrap { order: 6; }
body:has(#hero.page-section--hero) #reach { order: 7; }
body:has(#hero.page-section--hero) #contact { order: 8; }

/* --- Page sections: interspersed backgrounds + scroll reveal (HypeAds-style flow) --- */
.page-section {
    position: relative;
    isolation: isolate;
}

.page-section--hero {
    background: transparent;
}

.page-section--wash-muted {
    background: transparent;
}

.page-section--wash-muted::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: none;
}

.page-section--wash-orbit {
    background: transparent;
}

.page-section--wash-orbit::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: none;
}

.page-section--wash-orbit::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: none;
}

.page-section--wash-clean:not(.formats-cinema--on) {
    background: transparent;
}

.page-section--wash-clean:not(.formats-cinema--on)::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: none;
}

.page-section--wash-accent {
    background: transparent;
}

.page-section--wash-cta {
    background: transparent;
}

.page-section--wash-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: none;
}

/* Section washes: transparent so #page-wrapper / .content-card white shows through */
.page-section:not(.page-section--hero) {
    box-shadow: none;
}

/* Scroll-driven entrance: section stays visible; titles copy below fade in (paired with JS: .page-section--in-view) */
.page-section--reveal .scroll-reveal {
    opacity: 0;
    transform: translate3d(0, 1.25rem, 0);
    transition:
        opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-section--reveal.page-section--in-view .scroll-reveal {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Stagger: eyebrow → title → subcopy */
.page-section--reveal.page-section--in-view .scroll-reveal:nth-child(1) {
    transition-delay: 0.04s;
}

.page-section--reveal.page-section--in-view .scroll-reveal:nth-child(2) {
    transition-delay: 0.12s;
}

.page-section--reveal.page-section--in-view .scroll-reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.page-section--reveal.page-section--in-view .scroll-reveal:nth-child(4) {
    transition-delay: 0.28s;
}

/* Elementor-style (soft premium, medium): intro stack + mission counters */
.page-section--reveal .hypeads-content-grid__intro .scroll-reveal {
    opacity: 0;
    transform: translate3d(0, 1.15rem, 0) scale(0.992);
    transition:
        opacity 0.68s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.76s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-section--reveal.page-section--in-view .hypeads-content-grid__intro .scroll-reveal {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.page-section--reveal.page-section--in-view .hypeads-content-grid__motif.scroll-reveal {
    transition-delay: 0.04s;
}

.page-section--reveal.page-section--in-view .hypeads-content-grid__intro-copy .omni-platform__title.scroll-reveal {
    transition-delay: 0.13s;
}

.page-section--reveal.page-section--in-view .hypeads-content-grid__intro-copy .omni-platform__sub.scroll-reveal {
    transition-delay: 0.22s;
}

.page-section--reveal .scroll-reveal.reveal-soft {
    opacity: 0;
    transform: translate3d(0, 1.35rem, 0);
    transition: none;
    will-change: transform, opacity;
}

.page-section--reveal.page-section--in-view .scroll-reveal.reveal-soft {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    animation: hypeadsRevealSoft 0.82s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.page-section--reveal .hypeads-mission-grid .hypeads-mission-grid__cell.scroll-reveal {
    opacity: 0;
    transform: translate3d(0, 1.25rem, 0) scale(0.972);
    transition:
        opacity 0.66s cubic-bezier(0.2, 0.85, 0.25, 1),
        transform 0.78s cubic-bezier(0.2, 0.85, 0.25, 1);
    will-change: transform, opacity;
}

.page-section--reveal.page-section--in-view .hypeads-mission-grid .hypeads-mission-grid__cell.scroll-reveal {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.page-section--reveal.page-section--in-view .hypeads-mission-grid .hypeads-mission-grid__cell.scroll-reveal:nth-child(1) {
    transition-delay: 0.08s;
}

.page-section--reveal.page-section--in-view .hypeads-mission-grid .hypeads-mission-grid__cell.scroll-reveal:nth-child(2) {
    transition-delay: 0.17s;
}

.page-section--reveal.page-section--in-view .hypeads-mission-grid .hypeads-mission-grid__cell.scroll-reveal:nth-child(3) {
    transition-delay: 0.26s;
}

.page-section--reveal .hypeads-mission-grid .hypeads-mission-grid__cell.scroll-reveal.reveal-jump {
    opacity: 0;
    transform: translate3d(0, 1.1rem, 0) scale(0.95);
    transition: none;
    will-change: transform, opacity;
}

.page-section--reveal.page-section--in-view .hypeads-mission-grid .hypeads-mission-grid__cell.scroll-reveal.reveal-jump {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    animation: hypeadsRevealJump 0.88s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-section--reveal.page-section--in-view .hypeads-content-grid__motif.scroll-reveal.reveal-soft {
    animation-delay: 0.05s;
}

.page-section--reveal.page-section--in-view .hypeads-content-grid__intro-copy .omni-platform__title.scroll-reveal.reveal-soft {
    animation-delay: 0.16s;
}

.page-section--reveal.page-section--in-view .hypeads-content-grid__intro-copy .omni-platform__sub.scroll-reveal.reveal-soft {
    animation-delay: 0.28s;
}

.page-section--reveal.page-section--in-view .hypeads-mission-grid .hypeads-mission-grid__cell.scroll-reveal.reveal-jump:nth-child(1) {
    animation-delay: 0.12s;
}

.page-section--reveal.page-section--in-view .hypeads-mission-grid .hypeads-mission-grid__cell.scroll-reveal.reveal-jump:nth-child(2) {
    animation-delay: 0.22s;
}

.page-section--reveal.page-section--in-view .hypeads-mission-grid .hypeads-mission-grid__cell.scroll-reveal.reveal-jump:nth-child(3) {
    animation-delay: 0.32s;
}

@keyframes hypeadsRevealSoft {
    0% {
        opacity: 0;
        transform: translate3d(0, 1.35rem, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes hypeadsRevealJump {
    0% {
        opacity: 0;
        transform: translate3d(0, 1.1rem, 0) scale(0.95);
    }
    62% {
        opacity: 1;
        transform: translate3d(0, -0.2rem, 0) scale(1.015);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-section--reveal .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Lift section content above decorative ::before/::after */
.page-section--wash-muted > *:not(script),
.page-section--wash-orbit > *:not(script),
.page-section--wash-clean > *:not(script),
.page-section--wash-accent > *:not(script),
.page-section--wash-cta > *:not(script) {
    position: relative;
    z-index: 1;
}

.fixed-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 2;
}

/* Sections: at least one viewport tall; page scrolls on the window (smooth via html) */
section {
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .social-totem {
        transition-duration: 0.01ms;
    }

    body.user-has-scrolled .circular-badge--fixed-index {
        transition:
            opacity 0.45s cubic-bezier(0.42, 0, 0.58, 1),
            visibility 0s,
            transform 0.3s cubic-bezier(0.42, 0, 0.58, 1);
    }

    body:not(.user-has-scrolled) .circular-badge--fixed-index {
        transition:
            opacity 0.35s cubic-bezier(0.42, 0, 0.58, 1),
            visibility 0s linear 0.35s,
            transform 0.3s cubic-bezier(0.42, 0, 0.58, 1);
    }
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem var(--page-gutter-x);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    pointer-events: none; /* Let clicks pass through empty areas */
}

/* Logo - Fixed on the left */
.logo {
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.02em;
    pointer-events: auto;
    position: fixed;
    top: 2rem;
    left: var(--page-gutter-x);
    z-index: 101;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

/* Desktop nav - centered floating pill */
.desktop-nav {
    display: flex;
    align-items: center;
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(24px) saturate(180%);
    padding: 0.4rem 0.6rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.06),
        0 1px 2px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    pointer-events: auto;
    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
    overflow: visible;
}

/* Animated gradient border effect */
.desktop-nav::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 100px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(123, 6, 204, 0.3) 0%,
        rgba(255, 255, 255, 0.5) 25%,
        rgba(123, 6, 204, 0.2) 50%,
        rgba(255, 255, 255, 0.5) 75%,
        rgba(123, 6, 204, 0.3) 100%
    );
    background-size: 200% 200%;
    animation: borderGradient 8s ease infinite;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.6;
}

@keyframes borderGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Hide nav on scroll */
.navbar.header--scroll-hidden .desktop-nav {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .desktop-nav {
        transition-duration: 0.2s;
    }
}

/* Wordmark: supports <div class="logo"><a>…</a></div> or <a class="logo">…</a> (site-chrome) */
.logo a,
a.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    line-height: 0;
    transition: opacity 0.3s ease;
}

.logo a:hover,
a.logo:hover {
    opacity: 0.88;
}

.logo .logo-img,
.logo img {
    display: block;
    width: auto;
    height: auto;
    max-height: 2.5rem;
    max-width: none; /* Tailwind preflight uses max-width:100% on img; keep wordmark size stable */
    object-fit: contain;
    object-position: left center;
    /* Keep native brand colors from logo.png; avoid crushing to flat black */
    filter: none;
}

/* Logo stays fixed on left even when nav moves */
.navbar.nav-moved .logo {
    left: var(--page-gutter-x);
}

/* Nav links */
.desktop-nav a {
    font-family: var(--font-heading);
    color: rgba(0, 0, 0, 0.65);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0.5rem 0.9rem;
    position: relative;
    white-space: nowrap;
    border-radius: 100px;
    z-index: 2;
}

.desktop-nav a:hover {
    color: rgba(0, 0, 0, 0.95);
    transform: translateY(-1px);
}

.desktop-nav a.active {
    color: var(--accent-blue);
    font-weight: 600;
    background: rgba(123, 6, 204, 0.1);
}

/* Hover background effect */
.desktop-nav a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 100px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.desktop-nav a:hover::before {
    opacity: 1;
    transform: scale(1);
}

.desktop-nav a.active::before {
    background: rgba(123, 6, 204, 0.1);
    opacity: 1;
    transform: scale(1);
}

.mobile-link.active {
    color: var(--accent-blue);
}

.contact-btn {
    background: white;
    color: #111 !important;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    transition: all 0.3s;
    font-weight: 800;
    box-shadow: none;
}

.contact-btn:hover {
    background: var(--accent-blue);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(123, 6, 204, 0.4);
}

.contact-btn.active::after {
    display: none;
}

/* Social Totem */
.social-totem {
    position: fixed;
    bottom: 0;
    left: 4rem;
    right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    z-index: 100;
    pointer-events: auto;
    transition:
        opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Index: hide social while #hero is in view; show after user scrolls past hero */
body.page-has-hero.hero-in-view .social-totem {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Contact / end of page: hide fixed social + index badge + header logo (script toggles .contact-chrome-hidden) */
body.contact-chrome-hidden .social-totem,
body.contact-chrome-hidden .circular-badge--fixed-index,
body.contact-chrome-hidden .navbar > .logo {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.social-link {
    color: rgba(0, 0, 0, 0.82);
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid transparent;
}

.social-link:hover {
    color: #1a1a1a;
    border-color: rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

.totem-line {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.2), transparent);
}

/* Hero Section — one continuous band with the fixed header (collage runs under logo + nav) */
.hero.page-section--hero {
    --hero-pad-top: clamp(4.5rem, 6vw, 5.5rem);
    position: relative;
    background: transparent;
    overflow: hidden;
    padding: var(--hero-pad-top) 0 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    align-items: stretch;
    justify-content: flex-start;
}

/* Free horizontal room so hero headline + programmatic panel fit without clipping */
@media (max-width: 1600px) {
    .hero.page-section--hero {
        --hero-pad-top: clamp(4.5rem, 6vw, 5.5rem);
    }
}

@media (max-width: 1280px) {
    .hero.page-section--hero {
        --hero-pad-top: clamp(4.25rem, 6vw, 5.25rem);
    }
}

/* Inner pages: centered compact hero banner (no index collage) */
.hero:not(.page-section--hero):not(.hero--split) {
    position: relative;
    background: transparent;
    overflow: hidden;
    padding: clamp(6rem, 8vw, 8rem) 0 clamp(4rem, 6vw, 6rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero:not(.page-section--hero):not(.hero--split) .container {
    margin: 0 auto;
    max-width: 1200px;
    transform: none; /* Reset index-specific offset */
}

.hero:not(.page-section--hero):not(.hero--split) .hero-title {
    margin-bottom: 0;
    width: 100%;
}

/* Split hero: title left, body right (about, solutions, creativity, contact) */
body.page-hero-split main {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
}

.hero.hero--split {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    text-align: left;
    position: relative;
    background: transparent;
    overflow: visible;
    padding: clamp(5rem, 8vw, 6.5rem) clamp(1.25rem, 4vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
    min-height: 100vh;
    min-height: 100svh;
    box-sizing: border-box;
}

.hero.hero--split .hero--split__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
    z-index: 2;
}

.hero.hero--split .hero--split__left {
    align-self: center;
}

.hero.hero--split .hero--split__left .hero-title {
    text-align: left;
    margin-bottom: 0;
    width: 100%;
    font-size: clamp(2.75rem, 5.5vw, 4.25rem);
    line-height: 1.08;
    text-wrap: balance;
}

.hero.hero--split .hero--split__right {
    text-align: left;
    min-width: 0;
    align-self: stretch;
    max-height: calc(100svh - clamp(7rem, 14vw, 10rem));
    overflow-y: auto;
    padding-right: 0.35rem;
    -webkit-overflow-scrolling: touch;
}

.hero.hero--split .hero--split__right--contact {
    max-height: calc(100svh - clamp(6.5rem, 12vw, 9rem));
}

.hero.hero--split .hero--split__right .contact-cta-card {
    margin-left: 0;
    margin-right: 0;
}

@media (max-width: 900px) {
    .hero.hero--split .hero--split__grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .hero.hero--split .hero--split__right,
    .hero.hero--split .hero--split__right--contact {
        max-height: none;
        overflow-y: visible;
    }
}

.hero .hero-copy {
    margin: 0;
    max-width: 100%;
    transform: none; /* Keep aligned with hero card column */
    position: relative;
    z-index: 3;
    padding-left: clamp(1.5rem, 6vw, 10rem);
    padding-right: clamp(1rem, 2vw, 2rem);
}

.hero .hero-copy .hero-title {
    margin-bottom: 0;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
    color: #1a1a1a;
    /* Fix for flex centering affecting width */
    align-self: flex-start; 
}

/* Container for sections (not hero) */
.services-overlay .container:not(.whatwedo),
.platform-formats .container,
.strategic-partner .container,
.team-section .container {
    width: 1200px;
    max-width: 1200px;
    height: 610px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* General container - original styling */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


.star-icon {
    color: var(--text-light);
}

.hero-title {
    font-size: 6rem;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
    text-wrap: balance;
}

/* Centered hero (blog, casos, carreras): optional subline under H1 */
.hero:not(.hero--split) .container .hero-subline {
    margin: 0.5rem auto 0;
    max-width: 28rem;
    color: #4b5563;
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.55;
    font-weight: 400;
    text-wrap: balance;
}

.hero:not(.hero--split) .container:has(.hero-subline) .hero-title {
    margin-bottom: 0;
}

/* Stacked inner hero (title + subline, then body or contact card) */
.hero:not(.hero--split) .container + .container {
    margin-top: clamp(2rem, 4vw, 3rem);
}

.hero:not(.hero--split) .hero-split-prose {
    text-align: left;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.hero:not(.hero--split) .contact-cta-card {
    margin-left: auto;
    margin-right: auto;
}

.gradient-text {
    background: linear-gradient(to right, var(--brand-violet), var(--brand-violet-soft));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent !important;
    font-weight: 500;
}

/* Hero: rotating copy beside headline */
.hero-rotator {
    position: relative;
    min-height: 11.5rem;
}

@media (min-width: 768px) {
    .hero-rotator {
        min-height: 10rem;
    }
}

.hero-rot-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(22px);
    transition: opacity 0.42s ease, transform 0.42s ease;
    pointer-events: none;
}

.hero-rot-slide.is-active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.hero-rot-slide.is-leaving {
    opacity: 0;
    transform: translateX(-22px);
    pointer-events: none;
}

.hero-rot-slide h3 {
    letter-spacing: -0.02em;
}

.hero-rot-slide p {
    max-width: 36ch;
    line-height: 1.45;
    color: #4b5563;
    font-weight: 600;
}

/* Hero: diagonal scrolling media columns */
.hero-rot-backdrop {
    overflow: hidden;
    pointer-events: none;
}

.hero-media-stage {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    contain: layout paint;
}

.hero-media-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(
            to right,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.96) 14%,
            rgba(255, 255, 255, 0.88) 26%,
            rgba(255, 255, 255, 0.68) 42%,
            rgba(255, 255, 255, 0.38) 58%,
            rgba(255, 255, 255, 0.12) 74%,
            rgba(255, 255, 255, 0) 92%
        ),
        linear-gradient(
            to left,
            rgba(255, 255, 255, 0.25) 0%,
            rgba(255, 255, 255, 0.24) 14%,
            rgba(255, 255, 255, 0.22) 26%,
            rgba(255, 255, 255, 0.17) 42%,
            rgba(255, 255, 255, 0.1) 58%,
            rgba(255, 255, 255, 0.03) 74%,
            rgba(255, 255, 255, 0) 92%
        ),
        linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.28) 100%);
}

/* Index only: collage runs under fixed nav; soften top wash so header + hero read as one plane */
body:has(#hero.page-section--hero) .hero-media-stage::before {
    background:
        linear-gradient(
            to right,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.96) 14%,
            rgba(255, 255, 255, 0.88) 26%,
            rgba(255, 255, 255, 0.68) 42%,
            rgba(255, 255, 255, 0.38) 58%,
            rgba(255, 255, 255, 0.12) 74%,
            rgba(255, 255, 255, 0) 92%
        ),
        linear-gradient(
            to left,
            rgba(255, 255, 255, 0.25) 0%,
            rgba(255, 255, 255, 0.24) 14%,
            rgba(255, 255, 255, 0.22) 26%,
            rgba(255, 255, 255, 0.17) 42%,
            rgba(255, 255, 255, 0.1) 58%,
            rgba(255, 255, 255, 0.03) 74%,
            rgba(255, 255, 255, 0) 92%
        ),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.24) 100%);
}

/* Index hero: keep full-color mark readable on busy collage (halo, no flattening) */
body:has(#hero.page-section--hero) .logo .logo-img,
body:has(#hero.page-section--hero) .logo img {
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.95))
        drop-shadow(0 1px 3px rgba(255, 255, 255, 0.75))
        drop-shadow(0 0 18px rgba(255, 255, 255, 0.45));
}

.hero-diag-scene {
    --hero-diag-gap: 12px;
    position: absolute;
    left: 50%;
    top: 50%;
    /* Wider than 120% so after rotate(14deg) + overflow clip, corners (esp. top-right) stay covered */
    width: 155%;
    height: 155%;
    display: flex;
    gap: var(--hero-diag-gap);
    /* Slight left + up shift vs pure center so image mass sits under top-right */
    transform: translate3d(-52%, -54%, 0) rotate(14deg);
    transform-origin: center center;
    backface-visibility: hidden;
}

.hero-diag-col {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero-diag-track {
    display: flex;
    flex-direction: column;
    gap: var(--hero-diag-gap);
    width: 100%;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    will-change: transform;
}

/* Column 1: reversed */
.hero-diag-col--dur-28.hero-diag-col--rev .hero-diag-track {
    animation: hero-diag-scroll 90s linear infinite reverse;
}

/* Column 2 */
.hero-diag-col--dur-34 .hero-diag-track {
    animation: hero-diag-scroll 110s linear infinite;
}

/* Column 3, reversed */
.hero-diag-col--dur-32.hero-diag-col--rev .hero-diag-track {
    animation: hero-diag-scroll 100s linear infinite reverse;
}

/* Column 4 */
.hero-diag-col--dur-38 .hero-diag-track {
    animation: hero-diag-scroll 120s linear infinite;
}

/* Vertical marquee: two identical .hero-diag-seq blocks + one flex gap. Move by exactly half the track minus half the gap — matches layout even with variable tile heights / subpixels. */
@keyframes hero-diag-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(
            0,
            calc(-50% - 0.5 * var(--hero-diag-gap)),
            0
        );
    }
}

.hero-diag-seq {
    display: flex;
    flex-direction: column;
    gap: var(--hero-diag-gap);
    flex-shrink: 0;
}

.hero-diag-tile {
    flex-shrink: 0;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    background: #141418;
}

/* Varied card proportions (duplicate seq stays identical so loop math holds) */
.hero-diag-seq .hero-diag-tile:nth-child(1) {
    aspect-ratio: 4 / 3;
}
.hero-diag-seq .hero-diag-tile:nth-child(2) {
    aspect-ratio: 16 / 10;
}
.hero-diag-seq .hero-diag-tile:nth-child(3) {
    aspect-ratio: 3 / 2;
}
.hero-diag-seq .hero-diag-tile:nth-child(4) {
    aspect-ratio: 5 / 4;
}

.hero-diag-media {
    width: 100%;
    height: 100%;
    min-height: 100%;
    min-width: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

video.hero-diag-media {
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .hero-diag-track {
        animation: none;
        transform: translate3d(0, 0, 0);
        will-change: auto;
    }
}

/* Full-page loader: hides until window load + hero media ready */
body.page-is-loading {
    overflow: hidden;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 200000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse 85% 70% at 50% 42%, #fafbfc 0%, #eef0f3 100%);
    transition:
        opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0.72s;
    will-change: opacity;
}

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

.page-loader__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-loader--hidden .page-loader__inner {
    transform: translate3d(0, 10px, 0) scale(0.985);
}

.page-loader__mark {
    text-align: center;
    max-width: 22rem;
}

.page-loader__eyebrow {
    margin: 0 0 0.65rem;
    font-family: var(--font-main);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #7b06cc;
}

.page-loader__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(1.65rem, 5.2vw, 2.35rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.12;
    color: #1a1a1a;
}

.page-loader__title-accent {
    background: linear-gradient(to right, var(--brand-violet), var(--brand-violet-soft));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 500;
}

.page-loader__track {
    width: min(13.5rem, 78vw);
    height: 5px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.page-loader__bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 36%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--brand-violet-mid), var(--brand-violet), var(--brand-violet-soft));
    box-shadow: 0 0 20px rgba(123, 6, 204, 0.45);
    will-change: transform;
    animation: page-loader-bar 3.5s linear infinite;
}

/* translateX % = % of the bar’s own width — clear left-to-right sweep */
@keyframes page-loader-bar {
    0% {
        transform: translate3d(-100%, 0, 0);
    }

    100% {
        transform: translate3d(280%, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-loader {
        transition:
            opacity 0.22s ease,
            visibility 0s linear 0.22s;
        will-change: auto;
    }

    .page-loader--hidden .page-loader__inner {
        transform: none;
    }

    .page-loader__inner {
        transition: none;
    }

    .page-loader__bar {
        animation: none;
        transform: none;
        width: 100%;
        opacity: 0.88;
    }
}

.hero-cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--brand-violet) 0%, var(--brand-violet-mid) 52%, var(--brand-violet-soft) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.32);
    box-shadow: 0 6px 14px rgba(123, 6, 204, 0.18);
    transition:
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.35s ease !important;
    backdrop-filter: blur(8px);
}

.hero-cta::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(110deg, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0.22) 50%, rgba(255, 255, 255, 0) 82%);
    transform: translateX(-130%);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: -1;
    pointer-events: none;
}

.hero-cta:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #7206bc 0%, #8843dc 50%, #9c4def 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(123, 6, 204, 0.2);
    filter: saturate(1.02);
}

.hero-cta:hover::before {
    transform: translateX(130%);
}

.hero-cta:focus-visible {
    outline-color: rgba(167, 139, 250, 0.95) !important;
}

.hero-cta .material-symbols-outlined {
    font-size: 1.15rem !important;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-cta:hover .material-symbols-outlined {
    transform: translateX(4px) scale(1.03);
}

/* Circular Badge */
.circular-badge {
    position: absolute;
    right: 4rem;
    bottom: 4rem;
    width: 140px;
    height: 140px;
    z-index: 10;
    transition: transform 0.3s ease-out;
    /* Animation moved to svg child to allow transform on parent */
}

.circular-badge svg {
    fill: #1a1a1a;
    width: 100%;
    height: 100%;
    animation: rotate 20s linear infinite;
}

/* Index only: pin badge to viewport; fades in/out with ease-in-out curves */
.circular-badge.circular-badge--fixed-index {
    position: fixed;
    top: auto;
    left: auto;
    right: 2rem;
    bottom: 2rem;
    width: 87.5px;
    height: 87.5px;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* Default transition (used as fallback) */
    transition: all 0.5s ease;
}

/* Same trigger as social (scrollY > 0), opposite visibility: badge fades in when user scrolls */
body.user-has-scrolled .circular-badge--fixed-index {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
        opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0s linear 0s,
        transform 0.3s ease-out;
}

body:not(.user-has-scrolled) .circular-badge--fixed-index {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0s linear 0.6s,
        transform 0.3s ease-out;
}

.star-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Services Overlay */
.services-overlay {
    padding: 0 4rem;
    background: transparent;
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
    position: relative;
    z-index: 10;
}

/* Services section: compact 2×2 grid, aligned with site glass / accent language */
.services-grid-section {
    min-height: auto;
    padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 2rem);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-grid-shell {
    width: min(56rem, 100%);
}

.services-grid-header {
    text-align: center;
    margin: 0 auto calc(4rem + var(--section-title-content-gap));
    max-width: 52rem;
}

.services-grid-header__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #7B06CC;
    margin: 0 0 1rem;
}

.services-grid-header__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #1a1a1a;
}

.services-grid-header__accent {
    background: linear-gradient(120deg, var(--brand-violet) 0%, var(--brand-violet-soft) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.services-grid-header__sub {
    margin: 1.25rem auto 0;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.65;
    color: #4b5563;
    font-weight: 400;
    max-width: 40rem;
}

.services-grid-header__title em,
.services-grid-card__title em {
    font-family: inherit;
    font-style: normal;
    font-weight: inherit;
    background: linear-gradient(120deg, var(--brand-violet) 0%, var(--brand-violet-soft) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.65rem, 1.2vw, 0.95rem);
}

.services-grid-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow:
        0 18px 40px -22px rgba(17, 24, 39, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.25s ease;
}

.services-grid-card:hover {
    transform: translateY(-3px);
    border-color: rgba(123, 6, 204, 0.18);
    box-shadow:
        0 22px 48px -20px rgba(17, 24, 39, 0.28),
        0 0 0 1px rgba(123, 6, 204, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.services-grid-card__index {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    z-index: 2;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: rgba(26, 26, 26, 0.35);
    pointer-events: none;
}

.services-grid-card__media {
    aspect-ratio: 2 / 1;
    border-radius: 0;
    overflow: hidden;
    background: #e5e7eb;
}

.services-grid-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-grid-card:hover .services-grid-card__media img {
    transform: scale(1.03);
}

.services-grid-card__content {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: clamp(0.75rem, 1.4vw, 0.95rem) clamp(0.85rem, 1.5vw, 1rem) clamp(0.85rem, 1.6vw, 1rem);
}

.services-grid-card__title {
    margin: 0;
    color: #1a1a1a;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.services-grid-card__desc {
    margin: 0;
    max-width: none;
    color: #4b5563;
    font-size: 0.92rem;
    line-height: 1.6;
    font-weight: 400;
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .services-grid-card__media {
        aspect-ratio: 16 / 9;
    }
}

:is(.service-header, .formats-header, .partner-header) {
    text-align: center;
    margin-bottom: calc(2rem + var(--section-title-content-gap));
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

:is(.service-header, .formats-header, .partner-header) h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    background: linear-gradient(to bottom, #1a1a1a, #4b5563);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* Four-pillar what we do block (index #whatwedo) — full viewport, content fills section */
section.services-overlay--pillars,
#whatwedo.services-overlay--pillars {
    height: auto;
    min-height: 100vh;
    max-height: none;
    overflow: visible;
    justify-content: center;
}

.services-overlay--pillars {
    padding: 2.25rem 3rem 2.75rem;
}

/* What we do omnichannel (index #whatwedo): transparent over body */
.whatwedo-omnichannel,
#whatwedo.whatwedo-omnichannel {
    background: transparent;
    border-top: none;
}

/* Core engineering: background from .page-section--wash-orbit */

.services-overlay.services-overlay--pillars.whatwedo-omnichannel {
    min-height: 100svh;
    min-height: 100dvh;
    /* ~2rem from viewport edges; vertical kept tight for full-bleed feel */
    padding: clamp(0.75rem, 2vw, 1.25rem) 2rem;
    box-sizing: border-box;
}

.services-overlay--pillars .service-header {
    margin-bottom: calc(1.25rem + var(--section-title-content-gap));
}

.services-overlay--pillars .service-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 0;
}

.services-overlay--pillars .container.whatwedo {
    width: 100%;
    max-width: 1400px;
    height: auto;
    min-height: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    flex: 1 1 auto;
}

/* Omnichannel: gutters = section padding only (2rem); no inner max-width cap */
#whatwedo.whatwedo-omnichannel .container.whatwedo {
    max-width: none;
}

/* Omnichannel carousel: one slide = full container width; arrows below on small screens */
.whatwedo-omnichannel__carousel {
    position: relative;
}

/* Copy stays pinned (centered vertically in band) on large screens so it doesn’t shift with media column height */
.whatwedo-omnichannel__slide-inner {
    isolation: isolate;
}

@media (min-width: 1024px) {
    .whatwedo-omnichannel__slide-inner .whatwedo-omnichannel__copy {
        padding-right: clamp(0.75rem, 2vw, 1.75rem);
    }
}

.whatwedo-omnichannel__viewport {
    overflow: hidden;
}

/* Omnichannel: same vertical slot for headline + body on every slide (carousel text doesn’t jump) */
#whatwedo .whatwedo-omnichannel__panel .whatwedo-omnichannel__copy h2 {
    min-height: 9rem;
}

@media (min-width: 768px) {
    #whatwedo .whatwedo-omnichannel__panel .whatwedo-omnichannel__copy h2 {
        min-height: 10.5rem;
    }
}

@media (min-width: 1024px) {
    #whatwedo .whatwedo-omnichannel__panel .whatwedo-omnichannel__copy h2 {
        min-height: 12rem;
    }
}

#whatwedo .whatwedo-omnichannel__panel .whatwedo-omnichannel__copy > p {
    min-height: 6.75rem;
}

@media (min-width: 768px) {
    #whatwedo .whatwedo-omnichannel__panel .whatwedo-omnichannel__copy > p {
        min-height: 8rem;
    }
}

.whatwedo-omnichannel__panels {
    position: relative;
}

.whatwedo-omnichannel__panel[hidden] {
    display: none;
}

/* Minimal underline tabs (above headline in copy column) */
.whatwedo-omnichannel__segmented-bar {
    width: 100%;
    align-self: stretch;
}

/* Tab strip: shift clearly upward (transform beats flex/margin quirks; !important vs Tailwind). */
#whatwedo .whatwedo-omnichannel__copy .whatwedo-omnichannel__segmented-bar {
    position: relative;
    z-index: 22;
    transform: translateY(-2.75rem) !important;
}

@media (min-width: 640px) {
    #whatwedo .whatwedo-omnichannel__copy .whatwedo-omnichannel__segmented-bar {
        transform: translateY(-3.25rem) !important;
    }
}

@media (min-width: 1024px) {
    #whatwedo .whatwedo-omnichannel__copy .whatwedo-omnichannel__segmented-bar {
        transform: translateY(-4rem) !important;
    }
}

.whatwedo-omnichannel__controls.whatwedo-omnichannel__segmented {
    position: relative;
    z-index: 21;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    align-self: stretch;
    justify-content: space-between;
    gap: clamp(0.25rem, 1.5vw, 0.75rem);
    flex-wrap: nowrap;
    min-height: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: none;
}

.whatwedo-omnichannel__segmented .whatwedo-omnichannel__segment {
    flex: 1 1 0;
    min-width: 0;
    margin: 0 0 -1px;
    padding: 0.5rem 0.35rem 0.7rem;
    font-family: inherit;
    font-size: clamp(0.9375rem, 1.85vw, 1.125rem);
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.01em;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #6b7280;
    background: transparent;
    border: none;
    border-radius: 0;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.whatwedo-omnichannel__segmented .whatwedo-omnichannel__segment:hover {
    color: #374151;
    background: transparent;
}

.whatwedo-omnichannel__segmented .whatwedo-omnichannel__segment[aria-selected='true'] {
    color: #7B06CC;
    background: transparent;
    border-bottom-color: #7B06CC;
    box-shadow: none;
}

.whatwedo-omnichannel__segmented .whatwedo-omnichannel__segment:focus {
    outline: none;
}

.whatwedo-omnichannel__segmented .whatwedo-omnichannel__segment:focus-visible {
    outline: 2px solid rgba(96, 165, 250, 0.65);
    outline-offset: 3px;
    border-radius: 2px;
}

.whatwedo-omnichannel__segmented .whatwedo-omnichannel__segment[aria-selected='true']:focus-visible {
    outline-color: rgba(96, 165, 250, 0.85);
}

.whatwedo-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.whatwedo-carousel {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.whatwedo-slide {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem 2rem;
}

@media (min-width: 992px) {
    .whatwedo-slide {
        flex-direction: row;
        padding: 4rem;
        gap: 4rem;
    }
}

.slide-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.slide-format {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7B06CC;
}

.slide-title {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    line-height: 1.1;
}

.slide-desc {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
}

.slide-media {
    flex: 1;
    width: 100%;
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
}

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

.carousel-controls {
    position: absolute;
    bottom: 2rem;
    left: 4rem;
    display: flex;
    gap: 1rem;
    z-index: 10;
}

@media (max-width: 991px) {
    .carousel-controls {
        position: relative;
        left: auto;
        bottom: auto;
        justify-content: center;
        margin-bottom: 2rem;
    }
    .slide-content {
        text-align: center;
        align-items: center;
    }
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.service-list-column {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-item {
    display: flex;
    align-items: flex-start;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    color: rgba(0, 0, 0, 0.7);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    position: relative;
    height: 180px;
    box-sizing: border-box;
    overflow: hidden;
}

/* Digital Noise Overlay */
.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0'/%3E%3C/svg%3E");
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
    will-change: transform;
    transform: translate(var(--parallax-x, 0px), var(--parallax-y, 0px));
    transition: opacity 0.3s ease, transform 0.1s ease-out;
}

/* Network Grid Overlay */
.service-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(123, 6, 204, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(123, 6, 204, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 15% 25%, rgba(123, 6, 204, 0.4) 3px, transparent 3px),
        radial-gradient(circle at 85% 75%, rgba(123, 6, 204, 0.4) 3px, transparent 3px),
        radial-gradient(circle at 50% 50%, rgba(123, 6, 204, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 30% 70%, rgba(123, 6, 204, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 70% 30%, rgba(123, 6, 204, 0.3) 2px, transparent 2px);
    background-size: 20px 20px, 20px 20px, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
    will-change: transform, background-position;
    transform: translate(calc(var(--parallax-x, 0px) * 0.5), calc(var(--parallax-y, 0px) * 0.5));
    transition: opacity 0.3s ease, transform 0.1s ease-out;
}

.service-item:hover::before {
    opacity: 0.4;
}

.service-item:hover::after {
    opacity: 1;
}

.service-item:hover, .service-item.active {
    color: #1a1a1a;
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(123, 6, 204, 0.4);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(123, 6, 204, 0.1), 
        0 0 40px rgba(123, 6, 204, 0.08),
        inset 0 0 60px rgba(123, 6, 204, 0.03);
}

/* Ensure content stays above overlays */
.service-num,
.service-content {
    position: relative;
    z-index: 2;
}

.service-num {
    font-size: 0.85rem;
    margin-right: 1.5rem;
    opacity: 0.5;
    font-family: monospace;
    padding-top: 0.2rem;
    transition: all 0.3s;
    width: 30px;
    flex-shrink: 0;
    color: rgba(0, 0, 0, 0.4);
    text-align: left;
}

.service-item:hover .service-num,
.service-item.active .service-num {
    opacity: 1;
    color: var(--accent-blue);
}

.service-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.service-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
}

.service-content p {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.6);
    font-weight: 300;
    line-height: 1.5;
    margin: 0;
    transition: color 0.3s;
    flex: 1;
}

.service-item:hover .service-content p,
.service-item.active .service-content p {
    color: rgba(0, 0, 0, 0.8);
}

/* Marcas y plataformas: cleaner HypeAds-style visual style, hover info preserved */
.brands-platforms-section {
    position: relative;
    z-index: 2;
    min-height: auto;
    padding: clamp(2rem, 4vw, 3.5rem) 0;
    overflow: hidden;
}

.brands-platforms-section__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(120% 80% at 50% -10%, rgba(123, 6, 204, 0.08) 0%, rgba(123, 6, 204, 0) 55%),
        linear-gradient(to right, rgba(26, 26, 26, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(26, 26, 26, 0.06) 1px, transparent 1px);
    background-size: auto, 32px 32px, 32px 32px;
    mask-image: radial-gradient(ellipse 74% 62% at center, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 74% 62% at center, black, transparent);
}

.brands-platforms-section__header {
    text-align: center;
    margin: 0 auto calc(clamp(2rem, 4vw, 3rem) + var(--section-title-content-gap));
    max-width: 52rem;
}

.brands-platforms-section__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #7B06CC;
    margin: 0 0 1rem;
}

.brands-platforms-section__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #1a1a1a;
}

.brands-platforms-section__sub {
    margin: 1.25rem auto 0;
    max-width: 40rem;
    color: #4b5563;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.65;
    font-weight: 400;
}

/* HypeAds-style 4×2 (desktop) logo matrix: thin neutral strokes, no outer grid gap */
#logo-grid.brands-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, auto);
    gap: 0;
    border: 1px solid rgba(168, 168, 168, 0.65);
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 22px 55px -30px rgba(17, 24, 39, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

@media (min-width: 768px) {
    #logo-grid.brands-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-rows: repeat(2, auto);
    }
}

.logo-cell--carousel {
    border-right: 1px solid rgba(168, 168, 168, 0.55);
    border-bottom: 1px solid rgba(168, 168, 168, 0.55);
    background: rgba(255, 255, 255, 0.22);
    transition: background-color 0.25s ease, box-shadow 0.35s ease;
    min-width: 0;
}

.logo-cell--carousel:nth-child(2n) {
    border-right: none;
}

@media (min-width: 768px) {
    .logo-cell--carousel {
        border-right: 1px solid rgba(168, 168, 168, 0.55);
    }

    .logo-cell--carousel:nth-child(2n) {
        border-right: 1px solid rgba(168, 168, 168, 0.55);
    }

    .logo-cell--carousel:nth-child(4n) {
        border-right: none;
    }
}

.logo-cell--carousel:nth-last-child(-n + 2) {
    border-bottom: none;
}

@media (min-width: 768px) {
    .logo-cell--carousel:nth-last-child(-n + 2) {
        border-bottom: 1px solid rgba(168, 168, 168, 0.55);
    }

    .logo-cell--carousel:nth-last-child(-n + 4) {
        border-bottom: none;
    }
}

.logo-cell__viewport {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 161 / 83;
    min-height: 112px;
    max-height: 168px;
}

.logo-cell__track {
    display: flex;
    flex-direction: row;
    width: 500%;
    height: 100%;
    will-change: transform;
}

.logo-slide {
    flex: 0 0 20%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: clamp(0.75rem, 2vw, 1.25rem) clamp(0.5rem, 2vw, 1rem);
}

.logo-slide__icon {
    display: block;
    font-size: clamp(1.75rem, 3.4vw, 2.65rem);
    line-height: 1;
    color: rgba(26, 26, 26, 0.62) !important;
    filter: grayscale(1);
    opacity: 0.92;
    transition: filter 0.35s ease, color 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}

/* Brands not shipped in Font Awesome Free (e.g. Netflix, Adobe): inline SVG from Simple Icons */
.logo-slide__icon--svg {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: unset;
}

.logo-slide__icon--svg svg {
    display: block;
    width: clamp(2.25rem, 4.5vw, 3.5rem);
    height: auto;
    max-height: 2.75rem;
}

/* Hover: swap logo for title + description in place — no lift, no cell/overlay background */
.logo-view--stack {
    position: relative;
}

.logo-view__stage {
    position: relative;
    width: 100%;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-view__icon {
    transition: opacity 0.25s ease;
}

.logo-cell--carousel .logo-view__icon .logo-slide__icon {
    color: rgba(26, 26, 26, 0.66) !important;
    transition: filter 0.35s ease, color 0.35s ease, opacity 0.25s ease !important;
}

.logo-view__text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.5rem;
    background: transparent;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.logo-cell--carousel:hover .logo-view__icon {
    opacity: 0;
}

.logo-cell--carousel:hover .logo-view__text {
    opacity: 1;
}

.logo-cell .logo-view__text .logo-slide__title {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #1a1a1a !important;
    margin: 0 0 0.4rem;
}

.logo-cell .logo-view__text .logo-slide__desc {
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.5;
    color: #4b5563 !important;
    margin: 0;
    max-width: 28ch;
}

/* Partners grid: denser on phones — same 2×4 + hover pattern, smaller footprint */
@media (max-width: 767px) {
    .brands-platforms-section {
        padding: clamp(1.25rem, 4vw, 2rem) 0;
    }

    .brands-platforms-section__header {
        margin-bottom: clamp(1rem, 3.5vw, 1.5rem);
    }

    .brands-platforms-section__title {
        font-size: clamp(1.35rem, 5vw, 1.9rem);
        line-height: 1.12;
    }

    .brands-platforms-section__sub {
        margin-top: 0.65rem;
        font-size: clamp(0.85rem, 2.9vw, 0.95rem);
        line-height: 1.5;
    }

    #logo-grid.brands-grid {
        border-radius: 0.75rem;
    }

    .logo-cell__viewport {
        aspect-ratio: 2 / 1;
        min-height: 0;
        max-height: 108px;
    }

    .logo-slide {
        padding: 0.4rem 0.3rem;
    }

    .logo-slide__icon {
        font-size: clamp(1.05rem, 3.6vw, 1.4rem);
    }

    .logo-slide__icon--svg svg {
        width: clamp(1.25rem, 4.5vw, 1.65rem);
        max-height: 1.45rem;
    }

    .logo-view__stage {
        min-height: 0;
    }

    .logo-cell .logo-view__text .logo-slide__title {
        font-size: 0.6875rem;
        margin-bottom: 0.25rem;
    }

    .logo-cell .logo-view__text .logo-slide__desc {
        font-size: 0.625rem;
        line-height: 1.35;
        max-width: 24ch;
    }
}

/* No quote icon needed with this cleaner layout, or re-add if desired */
.quote-icon {
    display: none; 
}

.service-footer {
    margin-top: 5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.explore-btn {
    padding: 0.8rem 1.5rem;
    background: white;
    color: black;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s;
}

.explore-btn:hover {
    transform: translateX(5px);
}

/* Platform Formats Section Enhanced */
.platform-formats {
    background: #ffffff;
    padding: 0 4rem;
    color: #1a1a1a;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
}

/* List-driven video rail: minimal markers at left viewport edge + wide stage */
.platform-formats.platform-formats--video-rail {
    height: auto;
    min-height: min(92svh, 960px);
    padding: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 3vw, 2.75rem) clamp(2rem, 3.5vw, 3rem) clamp(0.35rem, 1vw, 0.75rem);
    background: #ffffff;
    transition: background 0.3s ease;
}

/* Index: show scroll mesh through section (cinema still goes dark) */
.platform-formats.platform-formats--video-rail.page-section--wash-clean:not(.formats-cinema--on) {
    background: transparent;
}

/* Full-screen dim for cinema sections. Insert inside <main>, not alongside it, so active content
   can stack above the veil within the same content layer. */
.formats-cinema-veil,
.hypeads-video-cinema-veil {
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
    background: #000;
    opacity: 0;
    visibility: hidden;
    will-change: opacity, visibility;
}

/* Lift platform-formats section above veil when cinema mode is active */
.platform-formats.platform-formats--video-rail.formats-cinema--on {
    position: relative;
    z-index: 10000 !important;
    background: transparent;
}

/* Ensure inner content of platform-formats stays visible */
.platform-formats.platform-formats--video-rail.formats-cinema--on .formats-video-rail__inner,
.platform-formats.platform-formats--video-rail.formats-cinema--on .formats-video-rail__list,
.platform-formats.platform-formats--video-rail.formats-cinema--on .formats-video-rail__stage,
.platform-formats.platform-formats--video-rail.formats-cinema--on .formats-video-rail__frame {
    position: relative;
    z-index: 10001;
}

/* Keep videos position:absolute (fill frame / phone screens); only raise stacking order. */
.platform-formats.platform-formats--video-rail.formats-cinema--on .formats-video-rail__video,
.platform-formats.platform-formats--video-rail.formats-cinema--on .formats-video-rail__phone-video {
    z-index: 10001;
}

body.video-cinema-active .hypeads-video-cinema-veil {
    visibility: visible;
}

/* Fade nav chrome during video cinema — not the whole .navbar (hamburger lives there and would vanish). */
body.video-cinema-active .navbar > .logo,
body.video-cinema-active .navbar > .desktop-nav,
body.video-cinema-active .social-totem,
body.video-cinema-active .circular-badge--fixed-index {
    opacity: calc(1 - (var(--video-cinema-progress, 0) * 0.92));
}

.formats-video-rail__inner {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: clamp(0.5rem, 1.5vw, 1.25rem);
    width: 100%;
    max-width: 100%;
    margin: 0;
    flex: 1;
    min-height: min(68svh, 720px);
}

.formats-video-rail__stage {
    flex: 1 1 82%;
    min-width: 0;
    display: flex;
    align-items: center;
}

.formats-video-rail__frame {
    position: relative;
    width: 100%;
    border-radius: 1.25rem;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    max-height: min(72svh, 840px);
    background: transparent;
    box-shadow: none;
}

.formats-video-rail__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.formats-video-rail__rich-media {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    gap: clamp(0.45rem, 1vw, 0.85rem);
    padding: clamp(0.5rem, 1.8vw, 1.2rem);
    background: transparent;
}

.formats-video-rail__rich-media.is-active {
    display: flex;
}

.formats-video-rail__rich-card {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    max-width: 20%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem;
    overflow: visible;
    background: transparent;
}

/* Portrait phone chrome (no image asset — bezel drawn in CSS; video = screen only). */
.formats-video-rail__phone {
    position: relative;
    height: min(100%, 92%);
    max-height: 100%;
    aspect-ratio: 90 / 194;
    width: auto;
    max-width: 100%;
    flex-shrink: 0;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45));
}

.formats-video-rail__phone-bezel {
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    border-radius: clamp(1rem, 2.4vw, 1.5rem);
    padding: 3.2% 5.2% 3.8% 5.2%;
    background:
        linear-gradient(145deg, rgba(58, 58, 68, 0.95) 0%, rgba(24, 24, 32, 0.98) 42%, rgba(12, 12, 18, 1) 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.35);
}

.formats-video-rail__phone-notch {
    position: absolute;
    top: 1.5%;
    left: 50%;
    transform: translateX(-50%);
    width: min(32%, 3.5rem);
    height: 3.4%;
    min-height: 5px;
    max-height: 12px;
    border-radius: 999px;
    background: #0c0c10;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    z-index: 2;
    pointer-events: none;
}

.formats-video-rail__phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: clamp(0.32rem, 0.85vw, 0.52rem);
    overflow: hidden;
    background: #000;
}

.formats-video-rail__phone-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    z-index: 1;
}

.formats-video-rail__list {
    flex: 0 0 auto;
    width: clamp(6.5rem, 11vw, 10.5rem);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.75rem;
    padding-left: clamp(0.15rem, 0.6vw, 0.5rem);
    align-self: center;
}

.formats-video-rail__hit {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    margin: 0;
    padding: 0.35rem 0.7rem 0.35rem 0.35rem;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.6rem;
    width: 100%;
    border-radius: 999px;
    transition: background 0.2s ease;
}

.formats-video-rail__hit:focus-visible {
    outline: 2px solid rgba(167, 139, 250, 0.95);
    outline-offset: 3px;
}

.formats-video-rail__hit:hover .formats-video-rail__mark {
    background: rgba(255, 255, 255, 0.45);
}

.formats-video-rail__mark {
    display: block;
    height: 3px;
    width: 1.25rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.22);
    transition: width 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), background 0.35s ease;
}

.formats-video-rail__hit.is-active .formats-video-rail__mark {
    width: 2.15rem;
    background: #7B06CC;
    box-shadow: 0 0 14px rgba(123, 6, 204, 0.35);
}

.formats-video-rail__label {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 7.2rem;
    font-size: 0.82rem;
    line-height: 1.2;
    font-weight: 520;
    color: rgba(0, 0, 0, 0.6);
    transition: color 0.2s ease, opacity 0.2s ease;
}

.formats-video-rail__hit.is-active .formats-video-rail__label {
    color: #1a1a1a;
}

/* Cinema mode: white text/markers on black background */
.platform-formats.platform-formats--video-rail.formats-cinema--on .formats-video-rail__label {
    color: rgba(255, 255, 255, 0.85);
}

.platform-formats.platform-formats--video-rail.formats-cinema--on .formats-video-rail__hit.is-active .formats-video-rail__label {
    color: #ffffff;
    font-weight: 600;
}

.platform-formats.platform-formats--video-rail.formats-cinema--on .formats-video-rail__mark {
    background: rgba(255, 255, 255, 0.4);
}

.platform-formats.platform-formats--video-rail.formats-cinema--on .formats-video-rail__hit:hover .formats-video-rail__mark {
    background: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .platform-formats.platform-formats--video-rail {
        min-height: 0;
        padding: 1.5rem 1rem 1.25rem 0.75rem;
    }

    .formats-video-rail__inner {
        flex-direction: column-reverse;
        min-height: 0;
        gap: 1rem;
    }

    .formats-video-rail__stage {
        flex: 1 1 auto;
    }

    .formats-video-rail__frame {
        max-height: none;
        border-radius: 1rem;
    }

    .formats-video-rail__rich-media {
        gap: 0.35rem;
        padding: 0.55rem;
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }

    .formats-video-rail__rich-card {
        flex: 0 0 auto;
        max-width: none;
        height: auto;
        min-height: 11rem;
    }

    .formats-video-rail__phone {
        height: clamp(11rem, 42vw, 14rem);
        max-height: none;
    }

    .formats-video-rail__list {
        flex-direction: row;
        width: 100%;
        justify-content: center;
        align-items: center;
        padding-left: 0;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .formats-video-rail__hit {
        width: auto;
        padding: 0.5rem 0.35rem;
        justify-content: center;
    }

    .formats-video-rail__label {
        max-width: 9rem;
        font-size: 0.78rem;
    }

    .formats-video-rail__mark {
        width: 1.75rem;
    }

    .formats-video-rail__hit.is-active .formats-video-rail__mark {
        width: 2.25rem;
    }
}

.formats-intro,
.partner-intro {
    font-size: 1.1rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.5;
    font-weight: 300;
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.format-card {
    background: rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    min-height: 450px;
    cursor: pointer;
    text-align: center;
    align-items: center;
    justify-content: center; /* Vertically center content */
}

.format-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(123, 6, 204, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 0;
}

.format-card:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(123, 6, 204, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(123, 6, 204, 0.2);
}

.format-card:hover::before {
    opacity: 1;
}

/* Format Icon Animations */
.format-icon-wrapper {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.animated-icon {
    width: 120px;
    height: 120px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(1.3);
}

/* TV Icon */
.icon-tv .screen {
    width: 100px;
    height: 65px;
    border: 3px solid var(--accent-blue);
    border-radius: 8px; /* Sharper corners for TV */
    position: relative;
    background: #050505;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(123, 6, 204, 0.3);
    z-index: 10;
}

/* Movie playing animation */
.icon-tv .screen::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.8) 0%, transparent 20%),
        conic-gradient(from 0deg, transparent 0deg, var(--accent-blue) 120deg, transparent 180deg);
    background-size: 50% 50%, 100% 100%;
    background-position: center;
    animation: movieScene 4s infinite linear;
    opacity: 0.8;
}

.icon-tv .screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 100% 4px;
    pointer-events: none;
    opacity: 0.3;
}

/* Stand for TV */
.animated-icon.icon-tv::after {
    content: '';
    position: absolute;
    bottom: 20px; /* Adjust based on icon sizing */
    width: 40px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    z-index: 5;
}

/* Signal Waves from behind/center */
.icon-tv .signal-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    border: 1px solid var(--accent-blue);
    border-radius: 50%;
    opacity: 0;
    z-index: 1;
    transform: translate(-50%, -50%) scale(0.5);
    animation: broadcastWave 3s infinite ease-out;
}

.icon-tv .signal-wave.delay-1 {
    animation-delay: 1.5s;
}

@keyframes movieScene {
    0% { transform: rotate(0deg) scale(1); filter: hue-rotate(0deg); }
    50% { transform: rotate(180deg) scale(1.2); filter: hue-rotate(90deg); }
    100% { transform: rotate(360deg) scale(1); filter: hue-rotate(0deg); }
}

@keyframes broadcastWave {
    0% { transform: translate(-50%, -50%) scale(0.6); opacity: 0; border-width: 4px; }
    30% { opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; border-width: 0px; }
}

/* Rich Media Icon */
.icon-rich {
    perspective: 200px;
}

.icon-rich .layer {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    border: 1px solid var(--accent-blue);
    background: rgba(123, 6, 204, 0.1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.5s ease;
}

.icon-rich .base {
    transform: translateZ(0px) translateY(0px);
    opacity: 0.4;
    z-index: 1;
}

.icon-rich .middle {
    transform: translateZ(10px) translateY(-10px) translateX(10px);
    opacity: 0.7;
    z-index: 2;
    border-color: rgba(255,255,255,0.3);
}

.icon-rich .top {
    transform: translateZ(20px) translateY(-20px) translateX(20px);
    background: rgba(123, 6, 204, 0.2);
    border-color: white;
    z-index: 3;
    animation: floatStack 4s infinite ease-in-out;
}

@keyframes floatStack {
    0%, 100% { transform: translateZ(20px) translateY(-20px) translateX(20px); }
    50% { transform: translateZ(20px) translateY(-25px) translateX(20px); }
}

.icon-rich .pop-element {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 16px;
    height: 16px;
    background: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-blue);
    z-index: 4;
    animation: popNotification 3s infinite cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes popNotification {
    0%, 100% { transform: scale(0); opacity: 0; }
    20% { transform: scale(1.2); opacity: 1; }
    30% { transform: scale(1); opacity: 1; }
    80% { transform: scale(1); opacity: 1; }
    90% { transform: scale(0); opacity: 0; }
}

/* Gaming Icon */
.icon-game {
    animation: floatConsole 5s infinite ease-in-out;
}

.icon-game .controller-body {
    width: 130px;
    height: 56px;
    border: 2px solid var(--accent-blue);
    border-radius: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(123, 6, 204, 0.05);
    box-shadow: inset 0 0 20px rgba(123, 6, 204, 0.15), 0 10px 20px rgba(0,0,0,0.2);
    z-index: 1;
}

.icon-game .game-screen {
    width: 44px;
    height: 32px;
    background: rgba(255,255,255,0.8);
    border: 1px solid var(--accent-blue);
    border-radius: 4px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    overflow: hidden;
}

.icon-game .game-screen::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px var(--accent-blue);
    animation: gameAction 3s infinite linear;
}

.icon-game .button-group {
    position: absolute;
    top: 50%;
    right: 12px;
    display: flex;
    gap: 5px;
    transform: translateY(-50%) rotate(-15deg);
    z-index: 3;
}

.icon-game .button-group span {
    width: 9px;
    height: 9px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: block;
    box-shadow: 0 0 5px rgba(255,255,255,0.3);
}

.icon-game .button-group span:nth-child(1) { animation: buttonPress 1.5s infinite alternate; margin-top: 5px; }
.icon-game .button-group span:nth-child(2) { animation: buttonPress 1.5s infinite alternate 0.2s; margin-bottom: 5px; }

.icon-game .d-pad {
    position: absolute;
    top: 50%;
    left: 12px;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    z-index: 3;
}

.icon-game .d-pad::before, .icon-game .d-pad::after {
    content: '';
    position: absolute;
    background: var(--accent-blue);
    border-radius: 2px;
    box-shadow: 0 0 5px rgba(123, 6, 204, 0.4);
}
.icon-game .d-pad::before { width: 18px; height: 6px; top: 6px; left: 0; }
.icon-game .d-pad::after { width: 6px; height: 18px; left: 6px; top: 0; }

@keyframes floatConsole {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(3deg); }
}

@keyframes gameAction {
    0% { transform: translate(-12px, 0); opacity: 0.5; }
    25% { transform: translate(0, -8px); opacity: 1; }
    50% { transform: translate(12px, 0); opacity: 0.5; }
    75% { transform: translate(0, 8px); opacity: 1; }
    100% { transform: translate(-12px, 0); opacity: 0.5; }
}

@keyframes buttonPress {
    0% { transform: scale(1); opacity: 0.8; box-shadow: 0 0 5px white; }
    100% { transform: scale(0.85); opacity: 1; box-shadow: 0 0 2px white; background: var(--accent-blue); }
}

/* Reward Icon */
.icon-reward {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(5px) scale(1.4);
}

.icon-reward .gift-box {
    position: relative;
    width: 54px;
    height: 54px;
    margin-top: 12px;
}

.icon-reward .box {
    width: 100%;
    height: 44px;
    background: linear-gradient(135deg, rgba(123, 6, 204, 0.25) 0%, rgba(123, 6, 204, 0.1) 100%);
    border: 2px solid var(--accent-blue);
    border-radius: 0 0 6px 6px;
    position: absolute;
    bottom: 0;
    left: 0;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Vertical Ribbon on Box */
.icon-reward .box::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 100%;
    background: var(--accent-blue);
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.9;
}

.icon-reward .lid {
    width: 62px;
    height: 14px;
    border: 2px solid var(--accent-blue);
    background: #f8f9fa;
    position: absolute;
    top: -4px;
    left: -4px; /* Center: (54 - 62) / 2 = -4 */
    border-radius: 4px;
    z-index: 10;
    transform-origin: center;
    animation: bounceLid 3s infinite cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Vertical Ribbon on Lid */
.icon-reward .lid::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 100%;
    background: var(--accent-blue);
    left: 50%;
    transform: translateX(-50%);
}

/* Bow */
.icon-reward .ribbon {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 20px;
    z-index: 11;
    animation: bounceLid 3s infinite cubic-bezier(0.25, 1, 0.5, 1);
}

.icon-reward .ribbon::before,
.icon-reward .ribbon::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 3px solid var(--accent-blue);
    border-radius: 50% 50% 0 50%;
    transform: rotate(45deg);
    top: 4px;
}

.icon-reward .ribbon::before {
    left: 0;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: rgba(123, 6, 204, 0.2);
}

.icon-reward .ribbon::after {
    right: 0;
    border-radius: 50% 50% 0 50%;
    transform: rotate(45deg);
    background: rgba(123, 6, 204, 0.2);
}

.icon-reward .sparkle {
    position: absolute;
    background: white;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    opacity: 0;
    filter: blur(0.5px);
    z-index: 0;
    box-shadow: 0 0 8px white;
}

.s1 { top: -30px; left: 50%; animation: riseSparkle 2.5s infinite 0s; }
.s2 { top: -20px; left: 15%; animation: riseSparkle 2.5s infinite 0.8s; }
.s3 { top: -20px; left: 85%; animation: riseSparkle 2.5s infinite 1.6s; }

@keyframes bounceLid {
    0%, 10%, 100% { transform: translateY(0) rotate(0); }
    5% { transform: translateY(-6px) rotate(-3deg); }
    7% { transform: translateY(0) rotate(0); }
}

@keyframes riseSparkle {
    0% { transform: translateY(0) scale(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(-50px) scale(1.5); opacity: 0; }
}

.format-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
    color: #1a1a1a;
}

.format-desc {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.5;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.format-card:hover .format-desc {
    color: rgba(0, 0, 0, 0.9);
}

/* Responsive Grid for Formats */
@media (max-width: 1200px) {
    .formats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .formats-grid {
        grid-template-columns: 1fr;
    }
    .format-card {
        min-height: auto;
    }
    .formats-header h2 {
        font-size: 2.5rem;
    }
}

/* Strategic Partner Section (Why Choose Us) - ENHANCED COMPACT */
.strategic-partner {
    color: #1a1a1a;
    padding: 0 4rem;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh; /* Ensure it fits the slide height */
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    width: 100%;
    margin-bottom: 2rem;
}

.benefit-card {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(123, 6, 204, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.benefit-card:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(123, 6, 204, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(123, 6, 204, 0.2);
}

.benefit-card:hover::before {
    opacity: 1;
}

/* Icon Wrapper Styling */
.benefit-icon-wrapper, .feature-icon-large-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon-wrapper {
    background: rgba(123, 6, 204, 0.08);
    border-color: rgba(123, 6, 204, 0.3);
    transform: scale(1.1);
}

.feature-icon-large-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(123, 6, 204, 0.05);
    border-color: rgba(123, 6, 204, 0.2);
}

/* --- Enhanced Icons --- */

/* 1. Traffic Icon */
.icon-traffic {
    width: 50px;
    height: 50px;
    position: relative;
    perspective: 200px;
}
.icon-traffic .road {
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 49%, rgba(255,255,255,0.1) 49%, rgba(255,255,255,0.1) 51%, transparent 51%);
    background-size: 20px 100%;
    transform: rotateX(40deg) scale(1.2);
    position: absolute;
    top: 0;
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}
.icon-traffic .car {
    width: 16px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 4px;
    position: absolute;
    box-shadow: 0 0 10px var(--accent-blue);
    animation: driveEnhanced 2s infinite linear;
}
.icon-traffic .c1 { top: 30%; animation-duration: 1.8s; animation-delay: 0s; background: #fff; box-shadow: 0 0 10px #fff; }
.icon-traffic .c2 { top: 50%; animation-duration: 2.2s; animation-delay: 0.5s; }
.icon-traffic .c3 { top: 70%; animation-duration: 1.5s; animation-delay: 0.2s; background: var(--accent-secondary); box-shadow: 0 0 10px var(--accent-secondary); }

@keyframes driveEnhanced {
    0% { left: -30%; opacity: 0; transform: scale(0.8); }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 130%; opacity: 0; transform: scale(1.1); }
}

/* 2. Rocket Icon */
.icon-rocket {
    width: 40px;
    height: 40px;
    position: relative;
    animation: hoverRocket 3s infinite ease-in-out;
}
.icon-rocket .rocket-body {
    width: 14px;
    height: 30px;
    background: white;
    border-radius: 50% 50% 4px 4px;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: inset -3px 0 5px rgba(0,0,0,0.1);
}
.icon-rocket .fin {
    width: 8px;
    height: 12px;
    background: var(--accent-blue);
    position: absolute;
    bottom: 2px;
    z-index: 1;
}
.icon-rocket .fin.left { left: 2px; transform: skewY(30deg); border-radius: 4px 0 0 4px; }
.icon-rocket .fin.right { right: 2px; transform: skewY(-30deg); border-radius: 0 4px 4px 0; }
.icon-rocket .window {
    width: 6px;
    height: 6px;
    background: var(--accent-blue);
    border: 1px solid white;
    border-radius: 50%;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    box-shadow: 0 0 5px var(--accent-blue);
}
.icon-rocket .flame {
    width: 10px;
    height: 18px;
    background: linear-gradient(to bottom, var(--accent-blue), var(--accent-secondary));
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50% 50% 50% 50%;
    filter: blur(1px);
    animation: burnPro 0.1s infinite alternate;
    z-index: 0;
}

@keyframes hoverRocket {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(2deg); }
}
@keyframes burnPro {
    0% { height: 14px; opacity: 0.8; transform: translateX(-50%) scaleX(1); }
    100% { height: 22px; opacity: 1; transform: translateX(-50%) scaleX(1.2); }
}

/* 3. ROI Icon */
.icon-roi {
    width: 44px;
    height: 44px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 4px; /* space for x-axis */
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
.icon-roi .chart-bar {
    width: 8px;
    background: linear-gradient(to top, rgba(255,255,255,0.2), rgba(255,255,255,0.5));
    border-radius: 2px 2px 0 0;
    transform-origin: bottom;
    animation: growBarElastic 2.5s infinite cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.icon-roi .b1 { height: 40%; animation-delay: 0s; }
.icon-roi .b2 { height: 65%; animation-delay: 0.1s; }
.icon-roi .b3 { 
    height: 90%; 
    background: linear-gradient(to top, var(--brand-violet), var(--brand-violet-soft));
    box-shadow: 0 0 15px rgba(123, 6, 204, 0.4);
    animation-delay: 0.2s; 
}
.icon-roi .trend-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}
.icon-roi .trend-line::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    top: 5px;
    right: 2px;
    box-shadow: 0 0 8px #fff;
    animation: pulseDot 2s infinite;
}
.icon-roi .trend-line::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 2px;
    background: #fff;
    top: 20%;
    left: -10%;
    transform: rotate(-35deg);
    box-shadow: 0 0 5px rgba(255,255,255,0.5);
    mask-image: linear-gradient(to right, transparent, black 50%, transparent);
    animation: shineLine 3s infinite linear;
}

@keyframes growBarElastic {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.7); }
}
@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}
@keyframes shineLine {
    0% { mask-position: -100%; }
    100% { mask-position: 200%; }
}

/* 4. Transparency Icon */
.icon-transparency {
    width: 46px;
    height: 46px;
    position: relative;
}
.icon-transparency .glass {
    width: 24px;
    height: 24px;
    border: 2px solid white;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    backdrop-filter: blur(2px);
    animation: searchPro 4s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(255,255,255,0.1);
    z-index: 2;
}
.icon-transparency .glass::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 6px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    transform: rotate(-45deg);
}
.icon-transparency .handle {
    width: 14px;
    height: 4px;
    background: var(--accent-blue);
    position: absolute;
    top: 20px;
    left: 20px;
    transform-origin: 0 50%;
    transform: rotate(45deg);
    border-radius: 2px;
    animation: searchHandlePro 4s infinite ease-in-out;
}
.icon-transparency .doc-line {
    height: 2px;
    background: rgba(255,255,255,0.2);
    position: absolute;
    left: 12px;
    border-radius: 2px;
}
.icon-transparency .l1 { width: 26px; top: 12px; }
.icon-transparency .l2 { width: 18px; top: 22px; }
.icon-transparency .l3 { width: 22px; top: 32px; }

@keyframes searchPro {
    0% { transform: translate(0, 0); }
    25% { transform: translate(12px, 4px) scale(1.1); border-color: var(--accent-blue); }
    50% { transform: translate(8px, 12px) scale(1); }
    75% { transform: translate(0, 8px) scale(1.1); border-color: var(--accent-blue); }
    100% { transform: translate(0, 0); }
}
@keyframes searchHandlePro {
    0% { transform: translate(0, 0) rotate(45deg); }
    25% { transform: translate(12px, 4px) rotate(45deg); }
    50% { transform: translate(8px, 12px) rotate(45deg); }
    75% { transform: translate(0, 8px) rotate(45deg); }
    100% { transform: translate(0, 0) rotate(45deg); }
}

/* 5. Global Icon */
.icon-global {
    width: 60px;
    height: 60px;
    position: relative;
    perspective: 500px;
}
.icon-global .globe {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.3);
    background: radial-gradient(circle at 30% 30%, rgba(123, 6, 204, 0.4), rgba(0,0,0,0) 70%);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px rgba(123, 6, 204, 0.2);
}
.icon-global .orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-style: preserve-3d;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(255,255,255,0.05);
}
.icon-global .o1 { 
    width: 56px; height: 56px; 
    animation: orbit3D 8s infinite linear;
}
.icon-global .o2 { 
    width: 48px; height: 48px; 
    animation: orbit3D 6s infinite linear reverse;
    border-color: rgba(123, 6, 204, 0.3);
}
.icon-global .dot {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 0 8px white;
}
.icon-global .d1 { top: 0; left: 50%; transform: translate(-50%, -50%); }
.icon-global .d2 { bottom: 0; left: 50%; transform: translate(-50%, 50%); background: var(--accent-blue); box-shadow: 0 0 8px var(--accent-blue); }

@keyframes orbit3D {
    0% { transform: translate(-50%, -50%) rotateZ(0deg) rotateX(60deg); }
    100% { transform: translate(-50%, -50%) rotateZ(360deg) rotateX(60deg); }
}

/* 6. Handshake Icon */
.icon-handshake {
    width: 60px;
    height: 60px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-handshake .hand {
    width: 28px;
    height: 16px;
    background: var(--accent-blue);
    position: absolute;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.icon-handshake .h1 {
    left: 2px;
    transform-origin: right center;
    animation: shakeLeftPro 2s infinite cubic-bezier(0.36, 0.07, 0.19, 0.97);
    border-radius: 8px 2px 2px 8px;
}
.icon-handshake .h2 {
    right: 2px;
    background: white;
    transform-origin: left center;
    animation: shakeRightPro 2s infinite cubic-bezier(0.36, 0.07, 0.19, 0.97);
    border-radius: 2px 8px 8px 2px;
}
.icon-handshake .shake-effect {
    position: absolute;
    width: 10px;
    height: 10px;
    background: transparent;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.icon-handshake .shake-effect::before,
.icon-handshake .shake-effect::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 8px;
    background: rgba(255,255,255,0.8);
    top: -15px;
    opacity: 0;
    border-radius: 2px;
}
.icon-handshake .shake-effect::before { left: -5px; animation: sparkLeft 2s infinite; }
.icon-handshake .shake-effect::after { right: -5px; animation: sparkRight 2s infinite; }

@keyframes shakeLeftPro {
    0%, 100% { transform: translateX(0) rotate(0); }
    20% { transform: translateX(2px) rotate(-5deg); }
    40% { transform: translateX(2px) rotate(0); }
    60% { transform: translateX(2px) rotate(-5deg); }
    80% { transform: translateX(0) rotate(0); }
}
@keyframes shakeRightPro {
    0%, 100% { transform: translateX(0) rotate(0); }
    20% { transform: translateX(-2px) rotate(5deg); }
    40% { transform: translateX(-2px) rotate(0); }
    60% { transform: translateX(-2px) rotate(5deg); }
    80% { transform: translateX(0) rotate(0); }
}
@keyframes sparkLeft {
    0%, 30% { opacity: 0; transform: translate(0, 0) scale(0); }
    40% { opacity: 1; transform: translate(-4px, -5px) scale(1); }
    60% { opacity: 0; transform: translate(-6px, -8px) scale(0); }
    100% { opacity: 0; }
}
@keyframes sparkRight {
    0%, 30% { opacity: 0; transform: translate(0, 0) scale(0); }
    40% { opacity: 1; transform: translate(4px, -5px) scale(1); }
    60% { opacity: 0; transform: translate(6px, -8px) scale(0); }
    100% { opacity: 0; }
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #1a1a1a;
}

.benefit-card p {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.5;
}

.featured-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
}

.feature-card {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.03);
}

.feature-content {
    flex: 1;
    padding-right: 2rem;
    z-index: 1;
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #1a1a1a;
    font-weight: 600;
}

.feature-content p {
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.5;
}

/* Responsive for Strategic Partner */
@media (max-width: 1200px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .featured-benefits {
        grid-template-columns: 1fr;
    }
}

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

/* Contact CTA (index home; section fill from .page-section--wash-cta) */
.contact-section {
    color: #1a1a1a;
    padding: 0 4rem;
    position: relative;
    z-index: 10;
    min-height: auto;
}

/* Tighter contact block: card, fields, and vertical rhythm (index + contact.html) */
.contact-section.page-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .contact-section.page-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

.contact-section .contact-cta-card {
    max-width: 56rem;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .contact-section .contact-cta-card {
        padding: 2rem;
    }
}

.contact-section .contact-cta-card > .grid {
    gap: 2rem;
}

@media (min-width: 1024px) {
    .contact-section .contact-cta-card > .grid {
        gap: 2.5rem;
    }
}

.contact-section .contact-cta-card > .grid > div:first-child.flex {
    gap: 1rem;
}

.contact-section .contact-cta-card h2.font-headline {
    font-size: clamp(1.375rem, 4vw, 1.875rem);
    line-height: 1.2;
}

@media (min-width: 768px) {
    .contact-section .contact-cta-card h2.font-headline {
        font-size: clamp(1.75rem, 3vw, 2.25rem);
    }
}

.contact-section .contact-form-stack {
    gap: 0.75rem;
}

.contact-section .contact-inquiry-form {
    gap: 0.75rem;
}

.contact-section .contact-inquiry-form > .grid {
    gap: 0.75rem;
}

.contact-section .contact-inquiry-form .flex.flex-col.gap-2 {
    gap: 0.375rem;
}

.contact-section .contact-inquiry-form input,
.contact-section .contact-inquiry-form select,
.contact-section .contact-inquiry-form textarea {
    padding: 0.5rem 0.75rem;
}

.contact-section .contact-inquiry-form textarea {
    min-height: 5.5rem;
}

.contact-section .contact-inquiry-form button[type="submit"] {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    margin-top: 0;
}

.contact-section .contact-thank-you {
    padding: 1rem 1.25rem;
}

.contact-section-footer {
    margin-top: 3rem;
}

/* =========================================================================
   OMNI-PLATFORM SECTION
   ========================================================================= */

.omni-platform,
.formats-showcase,
.value-prop {
    min-height: auto;
}

.omni-platform .container,
.formats-showcase .container,
.value-prop .container {
    padding-left: clamp(1.25rem, 4vw, 2rem);
    padding-right: clamp(1.25rem, 4vw, 2rem);
}

.omni-platform {
    padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.omni-platform__header {
    text-align: center;
    max-width: 52rem;
    margin: 0 auto calc(4rem + var(--section-title-content-gap));
}

.omni-platform__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #7B06CC;
    margin-bottom: 1rem;
}

.omni-platform__title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.omni-platform__sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: #4b5563;
    line-height: 1.65;
    max-width: 40rem;
    margin: 0 auto;
}

/* Signals row */
.omni-platform__signals {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 56rem;
    margin: 0 auto 4rem;
}

.omni-signal {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 1.25rem;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.omni-signal:hover {
    transform: translateY(-4px);
    border-color: rgba(123, 6, 204, 0.25);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.omni-signal__value {
    display: block;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    margin-bottom: 0.35rem;
}

.omni-signal__label {
    display: block;
    font-size: 0.8rem;
    color: #4b5563;
    font-weight: 500;
}

/* Layers */
.omni-platform__layers {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 56rem;
    margin: 0 auto;
}

.omni-layer {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem 2.5rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.omni-layer:hover {
    transform: translateY(-3px);
    border-color: rgba(123, 6, 204, 0.2);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.07);
}

.omni-layer__icon {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: rgba(123, 6, 204, 0.08);
    color: #7B06CC;
    font-size: 1.25rem;
    border: 1px solid rgba(123, 6, 204, 0.15);
}

.omni-layer__content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.omni-layer__content p {
    font-size: 0.92rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 0.85rem;
}

.omni-layer__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.omni-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.04);
    color: #4b5563;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

@media (max-width: 768px) {
    .omni-platform__signals {
        grid-template-columns: repeat(2, 1fr);
    }

    .omni-layer {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
}

/* ----- Omni-rail: video-rail for the 3 platform layers ----- */
.omni-rail {
    max-width: 100%;
    margin: 0 auto;
}

.omni-rail__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(0.65rem, 1.5vw, 1.1rem);
    width: 100%;
    min-height: min(56svh, 580px);
}

/* Tab strip: transparent — matches section wash background */
.omni-rail__list {
    flex: 0 0 auto;
    width: 100%;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.15rem;
    padding: 0 clamp(0.25rem, 1.5vw, 0.75rem);
    position: relative;
    z-index: 2;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: transparent;
    border-radius: 0.65rem 0.65rem 0 0;
}

.omni-rail__hit {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    margin: 0;
    padding: 0.75rem clamp(0.65rem, 1.8vw, 1.15rem) 0.85rem;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex: 1 1 auto;
    min-width: min(100%, 9rem);
    max-width: 18rem;
    border-radius: 0.5rem 0.5rem 0 0;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition:
        background 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease;
}

.omni-rail__hit:focus-visible {
    outline: 2px solid rgba(167, 139, 250, 0.95);
    outline-offset: 2px;
}

.omni-rail__hit:hover:not(.is-active) {
    background: transparent;
}

.omni-rail__hit:hover:not(.is-active) .omni-rail__label {
    color: rgba(0, 0, 0, 0.78);
}

/* Rail “pill” indicator hidden in tab layout (underline = active state) */
.omni-rail__mark {
    display: none;
}

.omni-rail__hit.is-active {
    background: transparent;
    border-bottom-color: #7b06cc;
    box-shadow: none;
}

.omni-rail__label {
    display: block;
    text-align: center;
    white-space: normal;
    font-size: clamp(0.84rem, 1.35vw, 0.98rem);
    line-height: 1.25;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.55);
    transition: color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.omni-rail__hit.is-active .omni-rail__label {
    color: var(--text-light);
    font-weight: 600;
}

.omni-rail__stage {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.omni-rail__frame {
    position: relative;
    width: 100%;
    border-radius: 1.25rem;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    max-height: min(60svh, 680px);
    background: transparent;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    isolation: isolate;
}

/* Crossfade + soft lift — panels stack in one grid cell */
.omni-rail__panel {
    grid-area: 1 / 1;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 0;
    transform: translateY(10px);
    transition:
        opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0.55s;
}

.omni-rail__panel.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
    transform: translateY(0);
    transition:
        opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0s;
}

@media (prefers-reduced-motion: reduce) {
    .omni-rail__panel {
        transform: none;
        transition: opacity 0.2s ease, visibility 0s linear 0.2s;
    }

    .omni-rail__panel.is-active {
        transition: opacity 0.2s ease, visibility 0s;
    }

    .omni-rail__hit {
        transition: border-color 0.15s ease, color 0.15s ease;
    }

    .omni-rail__label {
        transition: color 0.15s ease;
    }
}

.omni-rail__phones {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 16px;
    min-height: 0;
}

.omni-rail__phone-card {
    position: relative;
    flex: 0 0 auto;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem;
    overflow: visible;
    background: transparent;
}

/* HypeAds-style phone placeholder (studio-content-adjust.jpg) + video in same slot as Bricks */
.omni-rail__phones .phone-placeholder-bg {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    max-width: 210px;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

.omni-rail__phones .phone-placeholder-bg__inner {
    position: relative;
    display: block;
    width: 100%;
    line-height: 0;
}

.omni-rail__phones .phone-placeholder-bg__image {
    margin: 0;
}

.omni-rail__phones .phone-placeholder-bg__image img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: top;
}

.omni-rail__phones .phone-placeholder-bg__video {
    position: absolute;
    /* Same region as reference Bricks layer over studio-content-adjust.jpg (394×200) */
    inset: 5% 1.25% 4% 1.25%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.omni-rail__phones .phone-placeholder-bg__video .omni-rail__phone-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.omni-rail__copy {
    flex: 0 0 auto;
    text-align: center;
    padding: 0.5rem 1.5rem 1rem;
}

.omni-rail__copy h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.4rem;
}

.omni-rail__copy p {
    font-size: 0.88rem;
    color: #4b5563;
    line-height: 1.55;
    max-width: 38rem;
    margin: 0 auto 0.65rem;
}

.omni-rail__tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .omni-rail__inner {
        flex-direction: column;
        min-height: 0;
        gap: 0.85rem;
    }

    .omni-rail__list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
        padding: 0 0.25rem;
        border-radius: 0.5rem 0.5rem 0 0;
    }

    .omni-rail__hit {
        flex: 1 1 calc(33.333% - 0.25rem);
        min-width: 0;
        max-width: none;
        padding: 0.6rem 0.35rem 0.7rem;
    }

    .omni-rail__label {
        font-size: 0.78rem;
    }

    .omni-rail__frame {
        aspect-ratio: auto;
        max-height: none;
        min-height: 16rem;
        position: relative;
    }

    .omni-rail__phones {
        min-height: 0;
    }

    .omni-rail__phone-card {
        max-width: none;
        flex: 0 0 auto;
        height: auto;
        min-height: 0;
    }
}

@media (max-width: 480px) {
    .omni-platform__signals {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   FORMATS SHOWCASE SECTION
   ========================================================================= */

.formats-showcase {
    padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.formats-showcase__header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto calc(3rem + var(--section-title-content-gap));
}

.formats-showcase__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #7B06CC;
    margin-bottom: 1rem;
}

.formats-showcase__title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #1a1a1a;
    margin-bottom: 1.25rem;
}

.formats-showcase__sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: #4b5563;
    line-height: 1.65;
    max-width: 38rem;
    margin: 0 auto;
}

/* Tabs */
.formats-showcase__tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.formats-showcase__tabs--sidebar {
    justify-content: stretch;
    margin-bottom: 0;
    flex-wrap: nowrap;
    flex-direction: column;
}

.formats-tab {
    padding: 0.6rem 1.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: transparent;
    font-size: 0.85rem;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.3s ease;
}

.formats-tab:hover {
    border-color: rgba(123, 6, 204, 0.3);
    color: #1a1a1a;
}

.formats-tab.is-active {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.formats-tab--sidebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.1rem 1.75rem;
    border-radius: 1rem;
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #f8f9fa;
    color: #1a1a1a;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.formats-tab--sidebar:hover {
    background: #eef0f3;
    border-color: rgba(123, 6, 204, 0.22);
    color: #1a1a1a;
}

.formats-tab--sidebar.is-active {
    background: #7B06CC;
    color: #fff;
    border-color: #7B06CC;
    box-shadow: 0 12px 28px rgba(123, 6, 204, 0.22);
}

.formats-tab__icon {
    font-size: 1.35rem;
    opacity: 0.95;
}

/* Panels */
.formats-showcase__panels {
    max-width: 60rem;
    margin: 0 auto;
}

.formats-showcase__panels--split {
    max-width: none;
    margin: 0;
    width: 100%;
    position: relative;
}

.formats-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.formats-panel.is-active {
    display: block;
    animation: formatsFadeIn 0.45s ease forwards;
}

/* Panel grid cells — mobile layout uses .formats-panel-grid (see max-width: 767px) */
.formats-panel__cell--info {
    min-width: 0;
}

.formats-panel__metrics--cards {
    flex-wrap: wrap;
    gap: 1rem;
}

.formats-metric--card {
    min-width: 0;
}

.formats-metric--card .formats-metric__value {
    color: #7B06CC;
}

@keyframes formatsFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Device mockups */
.formats-panel__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.formats-panel__device {
    border-radius: 1rem;
    background: #f3f4f6;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
}

.formats-panel__device--desktop {
    width: 100%;
    max-width: 22rem;
    aspect-ratio: 16 / 10;
    border-radius: 0.75rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.formats-panel__device--tablet {
    width: 80%;
    max-width: 18rem;
    aspect-ratio: 4 / 3;
    border-radius: 1rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.formats-panel__device--phone {
    width: 50%;
    max-width: 12rem;
    aspect-ratio: 9 / 16;
    border-radius: 1.5rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.formats-panel__device--tv {
    width: 100%;
    max-width: 24rem;
    aspect-ratio: 16 / 9;
    border-radius: 0.5rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.formats-panel__device--billboard {
    width: 100%;
    max-width: 22rem;
    aspect-ratio: 2 / 1;
    border-radius: 0.5rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.formats-panel__screen {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

.formats-panel__placeholder {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(123, 6, 204, 0.1);
    color: #7B06CC;
    font-size: 1.4rem;
}

/* Panel info */
.formats-panel__info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.formats-panel__info p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.formats-panel__metrics {
    display: flex;
    gap: 2rem;
}

.formats-metric {
    display: flex;
    flex-direction: column;
}

.formats-metric__value {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.formats-metric__label {
    font-size: 0.75rem;
    color: #4b5563;
    font-weight: 500;
    margin-top: 0.15rem;
}

/* 1280×720 & similar short viewports: tighter formats so the block fits comfortably */
@media screen and (max-width: 1280px) and (max-height: 800px),
    screen and (max-height: 720px) and (min-width: 900px) {
    #formats-showcase.formats-showcase {
        padding: clamp(0.85rem, 2.2vh, 1.5rem) 0;
    }

    #formats-showcase .formats-showcase__header {
        margin-bottom: 0.85rem;
    }

    #formats-showcase .formats-showcase__title {
        font-size: clamp(1.45rem, 3.6vw, 2rem);
        margin-bottom: 0.45rem;
        line-height: 1.12;
    }

    #formats-showcase .formats-showcase__sub {
        font-size: 0.8125rem;
        line-height: 1.45;
    }

    #formats-showcase .formats-showcase__main {
        gap: 0.85rem;
    }

    @media (min-width: 1024px) {
        #formats-showcase .formats-showcase__main {
            gap: 1.1rem;
        }
    }

    #formats-showcase .formats-showcase__tabs--sidebar {
        gap: 0.3rem;
    }

    #formats-showcase .formats-tab--sidebar {
        padding: 0.5rem 0.95rem;
        font-size: 0.8125rem;
        border-radius: 0.75rem;
    }

    #formats-showcase .formats-tab__icon {
        font-size: 1.05rem;
    }

    #formats-showcase .formats-showcase__panels--split {
        min-height: inherit !important;
    }

    #formats-showcase .formats-panel > .formats-panel-grid {
        gap: 0.65rem;
    }

    #formats-showcase .formats-panel > .formats-panel-grid > .formats-panel__cell--info {
        padding: 0.85rem 1rem !important;
        border-radius: 1.1rem;
    }

    #formats-showcase .formats-panel > .formats-panel-grid > div:not(.formats-panel__cell--info) {
        border-radius: 1.1rem;
    }

    #formats-showcase .formats-panel .formats-panel__device--desktop {
        max-width: 13.5rem;
    }

    #formats-showcase .formats-panel .formats-panel__device--tablet {
        max-width: 11.5rem;
    }

    #formats-showcase .formats-panel .formats-panel__device--phone {
        max-width: 6.75rem;
    }

    #formats-showcase .formats-panel .formats-panel__device--tv {
        max-width: 14.5rem;
    }

    #formats-showcase .formats-panel .formats-panel__device--billboard {
        max-width: 13.5rem;
    }

    #formats-showcase .formats-panel__info h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.4rem;
    }

    #formats-showcase .formats-panel__info p {
        font-size: 0.78rem;
        line-height: 1.42;
        margin-bottom: 0.65rem;
    }

    #formats-showcase .formats-panel__metrics--cards {
        gap: 0.45rem;
    }

    #formats-showcase .formats-metric--card {
        padding: 0.45rem 0.75rem !important;
    }

    #formats-showcase .formats-metric__value {
        font-size: 1.05rem;
    }

    #formats-showcase .formats-metric__label {
        font-size: 0.625rem;
    }

    #formats-showcase .formats-panel .formats-panel__cell--visual.bg-surface-dark {
        min-height: 7rem !important;
    }

    #formats-showcase .formats-panel .material-symbols-outlined.text-4xl {
        font-size: 1.6rem !important;
        margin-bottom: 0.4rem !important;
    }

    #formats-showcase .formats-panel .font-headline.font-bold.text-surface-dark.leading-snug {
        font-size: 0.78rem;
        line-height: 1.32;
    }

    #formats-showcase .formats-panel .text-text-body.font-medium.leading-relaxed {
        font-size: 0.78rem;
        line-height: 1.4;
    }

    #formats-showcase .formats-panel .rounded-full.bg-surface-low.shrink-0 {
        width: 2.35rem !important;
        height: 2.35rem !important;
    }

    #formats-showcase .formats-panel .rounded-full.bg-surface-low .fa-solid {
        font-size: 0.95rem !important;
    }

    #formats-showcase .formats-panel__placeholder {
        width: 2.65rem;
        height: 2.65rem;
        font-size: 0.95rem;
    }
}

/* Phones / small tablets: dense layout — no fixed panel height (JS skips lock ≤768px) */
@media (max-width: 768px) {
    #formats-showcase.formats-showcase {
        padding: clamp(1.25rem, 4vw, 2rem) 0;
    }

    #formats-showcase .formats-showcase__header {
        margin-bottom: clamp(0.65rem, 2.5vw, 1.1rem);
    }

    #formats-showcase .formats-showcase__title {
        font-size: clamp(1.35rem, 5.2vw, 1.9rem);
        margin-bottom: 0.5rem;
        line-height: 1.14;
    }

    #formats-showcase .formats-showcase__sub {
        font-size: clamp(0.85rem, 2.9vw, 0.95rem);
        line-height: 1.5;
    }

    #formats-showcase .formats-showcase__main {
        gap: 0.75rem !important;
    }

    /* Horizontal scroll tabs — compact row, no tall vertical stack */
    #formats-showcase .formats-showcase__tabs--sidebar {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: stretch;
        gap: 0.45rem !important;
        width: 100%;
        max-width: none;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
        scrollbar-color: rgba(123, 6, 204, 0.35) transparent;
        margin-left: calc(-1 * var(--page-gutter-x));
        margin-right: calc(-1 * var(--page-gutter-x));
        padding-left: var(--page-gutter-x);
        padding-right: var(--page-gutter-x);
        padding-bottom: 0.35rem;
    }

    #formats-showcase .formats-showcase__tabs--sidebar::-webkit-scrollbar {
        height: 4px;
    }

    #formats-showcase .formats-showcase__tabs--sidebar::-webkit-scrollbar-thumb {
        background: rgba(123, 6, 204, 0.35);
        border-radius: 999px;
    }

    #formats-showcase .formats-tab--sidebar {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 0;
        justify-content: center;
        gap: 0.35rem;
        padding: 0.42rem 0.75rem !important;
        font-size: 0.75rem !important;
        font-weight: 600;
        border-radius: 9999px !important;
        text-align: center;
        scroll-snap-align: start;
    }

    #formats-showcase .formats-tab__icon {
        font-size: 0.95rem;
    }

    #formats-showcase .formats-showcase__panels--split {
        min-height: 0 !important;
        height: auto !important;
    }

    #formats-showcase .formats-panel.is-active {
        animation: none;
    }

    #formats-showcase .formats-panel > .formats-panel-grid {
        gap: 0.65rem !important;
    }

    #formats-showcase .formats-panel > .formats-panel-grid > div {
        border-radius: 1rem !important;
    }

    #formats-showcase .formats-panel > .formats-panel-grid > .formats-panel__cell--info {
        padding: 0.85rem 1rem !important;
    }

    #formats-showcase .formats-panel > .formats-panel-grid > .formats-panel__cell--visual {
        padding: 0.6rem 0.55rem !important;
    }

    #formats-showcase .formats-panel > .formats-panel-grid > .formats-panel__cell--footer {
        padding: 0.55rem 0.75rem !important;
    }

    #formats-showcase .formats-panel .formats-panel__device--desktop {
        max-width: 12.5rem;
    }

    #formats-showcase .formats-panel .formats-panel__device--tablet {
        max-width: 10.5rem;
    }

    #formats-showcase .formats-panel .formats-panel__device--phone {
        max-width: 6.25rem;
    }

    #formats-showcase .formats-panel .formats-panel__device--tv {
        max-width: 13rem;
    }

    #formats-showcase .formats-panel .formats-panel__device--billboard {
        max-width: 12.5rem;
    }

    #formats-showcase .formats-panel__info h3 {
        font-size: 1.05rem !important;
        margin-bottom: 0.35rem !important;
    }

    #formats-showcase .formats-panel__info p {
        font-size: 0.8125rem;
        line-height: 1.45;
        margin-bottom: 0.5rem;
    }

    #formats-showcase .formats-panel__metrics--cards {
        gap: 0.45rem;
    }

    #formats-showcase .formats-metric--card {
        padding: 0.45rem 0.65rem !important;
    }

    #formats-showcase .formats-metric__value {
        font-size: 1.1rem;
    }

    #formats-showcase .formats-metric__label {
        font-size: 0.625rem;
    }

    #formats-showcase .formats-panel .formats-panel__cell--visual.bg-surface-dark {
        min-height: 7.5rem !important;
    }

    #formats-showcase .formats-panel .formats-panel__cell--footer .material-symbols-outlined {
        font-size: 1.25rem !important;
    }

    #formats-showcase .formats-panel .formats-panel__cell--footer .font-headline.font-bold.text-surface-dark.leading-snug {
        font-size: 0.8rem;
        line-height: 1.35;
    }

    #formats-showcase .formats-panel .formats-panel__cell--footer .text-text-body.font-medium {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    #formats-showcase .formats-panel .rounded-full.bg-surface-low.shrink-0 {
        width: 2.25rem !important;
        height: 2.25rem !important;
    }

    #formats-showcase .formats-panel .rounded-full.bg-surface-low .fa-solid {
        font-size: 0.85rem !important;
    }

    #formats-showcase .formats-panel__placeholder {
        width: 2.35rem;
        height: 2.35rem;
        font-size: 0.85rem;
    }

    .formats-showcase__panels:not(.formats-showcase__panels--split) .formats-panel {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .formats-showcase__panels:not(.formats-showcase__panels--split) .formats-panel.is-active {
        display: flex;
        flex-direction: column;
    }

    .formats-showcase__panels:not(.formats-showcase__panels--split) .formats-panel__visual {
        order: -1;
    }

    .formats-panel__metrics {
        gap: 1.5rem;
    }

    /* ≤767px: full-width mock + merged footer (must follow rules above) */
    @media (max-width: 767px) {
        #formats-showcase .formats-panel > .formats-panel-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 0.5rem !important;
            align-items: stretch;
        }

        #formats-showcase .formats-panel > .formats-panel-grid > .formats-panel__cell--info {
            grid-column: 1 / -1;
        }

        #formats-showcase .formats-panel > .formats-panel-grid > .formats-panel__cell--visual {
            grid-column: 1 / -1;
            min-height: 7.5rem !important;
            align-self: stretch;
        }

        #formats-showcase .formats-panel > .formats-panel-grid > .formats-panel__cell--footer {
            grid-column: 1 / -1;
            padding: 0.5rem 0.65rem !important;
            gap: 0.5rem !important;
        }

        #formats-showcase .formats-panel > .formats-panel-grid > .formats-panel__cell--footer .material-symbols-outlined {
            font-size: 1.1rem !important;
        }

        #formats-showcase .formats-panel > .formats-panel-grid > .formats-panel__cell--footer .font-headline {
            font-size: 0.72rem !important;
            line-height: 1.32 !important;
        }

        #formats-showcase .formats-panel > .formats-panel-grid > .formats-panel__cell--footer .rounded-full.bg-surface-low {
            width: 2rem !important;
            height: 2rem !important;
        }

        #formats-showcase .formats-panel > .formats-panel-grid > .formats-panel__cell--footer .fa-solid {
            font-size: 0.8rem !important;
        }

        #formats-showcase .formats-panel > .formats-panel-grid > .formats-panel__cell--footer .text-text-body {
            font-size: 0.78rem !important;
            line-height: 1.38 !important;
        }
    }
}

/* =========================================================================
   VALUE PROPOSITION SECTION
   ========================================================================= */

.value-prop {
    padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.value-prop__header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto calc(4rem + var(--section-title-content-gap));
}

.value-prop__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #7B06CC;
    margin-bottom: 1rem;
}

.value-prop__title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #1a1a1a;
    margin-bottom: 1.25rem;
}

.value-prop__sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: #4b5563;
    line-height: 1.65;
    max-width: 38rem;
    margin: 0 auto;
}

/* Value prop: bento grid */
.value-prop__bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 3vw, 1.5rem);
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .value-prop__bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: minmax(0, auto);
        align-items: stretch;
    }

    .value-bento-tile--publishers {
        height: 100%;
    }
}

.value-bento-tile {
    position: relative;
    border-radius: 2.5rem;
    border: 1px solid rgba(26, 26, 26, 0.08);
    overflow: hidden;
    transition:
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.value-bento-tile:hover {
    transform: translateY(-6px);
    border-color: rgba(123, 6, 204, 0.2);
    box-shadow: 0 26px 54px rgba(26, 26, 26, 0.11);
}

.value-bento-tile__content {
    position: relative;
    z-index: 2;
}

.value-bento-tile__content--wide {
    flex: 1;
    min-width: 0;
}

.value-bento-tile__icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    color: #7b06cc;
    margin-bottom: 1.75rem;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.value-bento-tile:hover .value-bento-tile__icon {
    transform: scale(1.08);
}

.value-bento-tile__title {
    font-family: var(--font-heading);
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.value-bento-tile__desc {
    font-size: 1rem;
    line-height: 1.65;
    color: #475467;
    margin-bottom: 0;
}

.value-bento-tile--publishers {
    background: #fff;
    padding: clamp(2rem, 4vw, 3rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
}

.value-bento-tile--publishers .value-card__list {
    margin-bottom: 1.25rem;
    gap: 0.65rem;
}

.value-bento-tile--publishers .value-card__list li {
    justify-content: flex-start;
    text-align: left;
    font-size: 0.92rem;
    color: #374151;
    line-height: 1.42;
}

@media (max-width: 1023px) {
    .value-bento-tile--publishers {
        padding-bottom: 2.75rem;
    }
}

.value-bento-tile--brands-wide {
    background: #fff;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    padding: clamp(2rem, 4vw, 3rem);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

@media (min-width: 1024px) {
    .value-bento-tile--brands-wide {
        flex-direction: column;
        align-items: stretch;
        height: 100%;
    }
}

.value-bento-tile--brands-wide .value-card__list {
    margin-bottom: 1.25rem;
    gap: 0.65rem;
}

.value-bento-tile--brands-wide .value-card__list li {
    justify-content: flex-start;
    text-align: left;
    font-size: 0.92rem;
    color: #374151;
    line-height: 1.42;
}

.value-bento-tile--publishers .value-bento-tile__title,
.value-bento-tile--brands-wide .value-bento-tile__title {
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    line-height: 1.15;
}

.value-bento-tile--publishers .value-bento-tile__desc,
.value-bento-tile--brands-wide .value-bento-tile__desc {
    font-size: 1rem;
    line-height: 1.65;
}

.value-bento-tile--publishers .value-card__cta,
.value-bento-tile--brands-wide .value-card__cta {
    font-size: 0.88rem;
    font-weight: 600;
}

#value-prop .value-bento-tile .value-card__cta {
    margin-top: 0.25rem;
    border: 1px solid rgba(26, 26, 26, 0.4);
    border-radius: 999px;
    padding: 0.72rem 1.25rem;
    color: #1a1a1a;
    transition:
        background-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        gap 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

#value-prop .value-bento-tile .value-card__cta:hover {
    background: #7b06cc;
    border-color: #7b06cc;
    color: #fff;
    gap: 0.55rem;
}

/* Value prop: copy-only — no card lift or decorative motion (aligned with mobile) */
#value-prop .value-bento-tile--publishers,
#value-prop .value-bento-tile--brands-wide {
    will-change: auto;
}

#value-prop .value-bento-tile--publishers,
#value-prop .value-bento-tile--brands-wide,
#value-prop .value-bento-tile--publishers:hover,
#value-prop .value-bento-tile--brands-wide:hover {
    transform: none !important;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease !important;
}

@media (prefers-reduced-motion: reduce) {
    #value-prop .value-bento-tile .value-card__cta {
        transition: none !important;
    }

    #value-prop .value-bento-tile:hover {
        transform: none;
    }
}

/* Two-card grid */
.value-prop__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 60rem;
    margin: 0 auto 4rem;
}

.value-card {
    padding: 2.5rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: rgba(123, 6, 204, 0.2);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
}

.value-card__badge {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
}

.value-card--brands .value-card__badge {
    background: rgba(123, 6, 204, 0.1);
    color: #7B06CC;
    border: 1px solid rgba(123, 6, 204, 0.15);
}

.value-card--publishers .value-card__badge {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.value-card__heading {
    font-size: 1.35rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.value-card__desc {
    font-size: 0.92rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.value-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.value-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: #374151;
    line-height: 1.5;
}

.value-card__check {
    flex-shrink: 0;
    width: 1.4rem;
    height: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(123, 6, 204, 0.08);
    color: #7B06CC;
    font-size: 0.6rem;
    margin-top: 0.1rem;
}

.value-card--publishers .value-card__check {
    background: rgba(59, 130, 246, 0.08);
    color: #3b82f6;
}

.value-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #7B06CC;
    text-decoration: none;
    transition: gap 0.3s ease;
    margin-top: auto;
}

.value-card__cta:hover {
    gap: 0.7rem;
}

.value-card__cta:focus-visible {
    outline: 2px solid var(--brand-violet);
    outline-offset: 3px;
    border-radius: 0.2em;
}

.value-card--publishers .value-card__cta {
    color: #3b82f6;
}

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

/* Site footer: fixed behind content for card lift effect */
.site-footer {
    --footer-bg-image: url('../assets/images/footer-bg.jpg');
    --footer-bg-size: cover;
    --footer-bg-position: center bottom;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 0;
    overflow: hidden;
    isolation: isolate;
    background-color: #1a0d2e;
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    padding: clamp(3rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2.75rem) clamp(2rem, 4vw, 3rem);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Sharp footer art: one cover pass, clipped to footer (no scale / transform) */
.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: #1a0d2e;
    background-image: var(--footer-bg-image);
    background-size: var(--footer-bg-size);
    background-position: var(--footer-bg-position);
    background-repeat: no-repeat;
}

/* Dark, blurred top only — same geometry as ::before; mask fades to fully transparent (sharp bottom) */
.site-footer::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-color: transparent;
    background-image: var(--footer-bg-image);
    background-size: var(--footer-bg-size);
    background-position: var(--footer-bg-position);
    background-repeat: no-repeat;
    filter: blur(20px) brightness(0.82);
    -webkit-mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 5%,
        rgba(0, 0, 0, 0.92) 14%,
        rgba(0, 0, 0, 0.62) 32%,
        rgba(0, 0, 0, 0.28) 52%,
        rgba(0, 0, 0, 0.08) 68%,
        transparent 82%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 5%,
        rgba(0, 0, 0, 0.92) 14%,
        rgba(0, 0, 0, 0.62) 32%,
        rgba(0, 0, 0, 0.28) 52%,
        rgba(0, 0, 0, 0.08) 68%,
        transparent 82%,
        transparent 100%
    );
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* Reveal footer modifier - sits behind the content card (HypeAds sheet layout) */
.site-footer--reveal {
    position: sticky;
    bottom: 0;
    z-index: 0;
    will-change: transform;
}

/* Ensure body allows the footer to be visible at bottom */
html {
    /* scroll-behavior: smooth; - Disabled for Lenis smooth scrolling */
}

body {
    font-family: var(--font-main);
    background-color: var(--page-bg-infinite);
    color: var(--text-light);
    overflow-x: hidden;
    min-height: 100%;
}

.site-footer__inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--page-gutter-x);
    padding-right: var(--page-gutter-x);
}

.site-footer__top {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

@media (min-width: 1024px) {
    .site-footer__top {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2.5rem;
    }
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin-bottom: 1.1rem;
}

.site-footer__logo-link {
    display: flex;
    flex-shrink: 0;
    line-height: 0;
}

.site-footer__logo-img {
    height: 2.3125rem;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.site-footer__brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.24rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.site-footer__brand-name {
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: #f8f9fa;
    letter-spacing: -0.02em;
    white-space: nowrap;
    line-height: 1.15;
}

.site-footer__brand-tag {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 9.8rem;
    line-height: 1.35;
}

/* Minimal “Get in touch” strip — no panel fill, no glow */
.site-footer__touch-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

@media (min-width: 640px) {
    .site-footer__touch-card {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: clamp(1.5rem, 4vw, 2.75rem);
    }
}

.site-footer__touch-title {
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 0.35rem;
    letter-spacing: -0.02em;
}

.site-footer__touch-sub {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.68);
    margin: 0;
    line-height: 1.55;
    max-width: 26rem;
}

.site-footer__touch-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

@media (min-width: 640px) {
    .site-footer__touch-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 1.5rem 2rem;
    }
}

.site-footer__touch-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s ease;
}

.site-footer__touch-item:hover {
    color: #ffffff;
}

.site-footer__touch-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    margin-top: 0.15rem;
    border-radius: 0;
    flex-shrink: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    background: transparent;
    box-shadow: none;
}

.site-footer__touch-item:hover .site-footer__touch-icon {
    color: rgba(255, 255, 255, 0.92);
}

.site-footer__touch-icon--phone,
.site-footer__touch-icon--mail {
    background: transparent;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.6);
}

.site-footer__touch-meta {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.site-footer__touch-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.52);
}

.site-footer__touch-value {
    font-size: 0.875rem;
    font-weight: 400;
    word-break: break-word;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.45;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: clamp(2rem, 4vw, 2.5rem);
    align-items: stretch;
}

@media (min-width: 640px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .site-footer__grid {
        grid-template-columns: 1.35fr 1.45fr 1fr 1.1fr;
        gap: 2rem;
    }
}

.site-footer__col--contact .site-footer__touch-actions {
    margin-top: 1rem;
}

.site-footer__col {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-start;
}

/* Brand column: logo + tagline centered */
.site-footer__col--brand {
    align-items: center;
    text-align: center;
}

.site-footer__col--brand .site-footer__brand {
    justify-content: center;
}

.site-footer__col--brand .site-footer__lead {
    margin-left: auto;
    margin-right: auto;
}

.site-footer__col--brand .site-footer__social {
    justify-content: center;
}

/* Empresa + Capacidades side by side */
.site-footer__col--nav-pair {
    min-width: 0;
}

.site-footer__nav-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 3vw, 1.75rem);
    width: 100%;
    align-items: start;
}

.site-footer__subcol {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.site-footer__subcol .site-footer__heading,
.site-footer__subcol .site-footer__links {
    text-align: left;
}

@media (max-width: 420px) {
    .site-footer__nav-pair {
        grid-template-columns: 1fr;
    }
}

.site-footer__heading {
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: #f8f9fa;
    margin: 0 0 0.85rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.site-footer__lead {
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.68);
    margin: 0 0 1.1rem;
    max-width: 36rem;
}

.site-footer__address {
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.62);
    margin: 0 0 1.25rem;
}

.site-footer__address-label {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 500;
}

.site-footer__follow-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 0.6rem;
}

.site-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.site-footer__social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.375rem;
    height: 2.375rem;
    border-radius: 999px;
    text-decoration: none;
    color: #fff;
    font-size: 0.875rem;
    background: linear-gradient(135deg, rgba(123, 6, 204, 0.85) 0%, rgba(88, 60, 140, 0.75) 100%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-footer__social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(123, 6, 204, 0.35);
    color: #fff;
}

.site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.site-footer__links a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.site-footer__links a:hover {
    color: #ffffff;
}

.site-footer__links--dense li {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.64);
    padding-left: 0.65rem;
    position: relative;
}

.site-footer__links--dense li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: rgba(196, 168, 255, 0.85);
}

.site-footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (min-width: 768px) {
    .site-footer__bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.site-footer__copy {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.52);
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    align-items: center;
}

.site-footer__legal a {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer__legal a:hover {
    color: #ffffff;
}

.site-footer__privacy-btn {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.62);
    cursor: pointer;
    transition: color 0.2s ease;
}

.site-footer__privacy-btn:hover {
    color: #ffffff;
}

/* Team Section - Enhanced Enterprise Look */
.team-section {
    background: transparent;
    color: #1a1a1a;
    padding: 0 4rem;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
}

.team-header {
    text-align: center;
    margin-bottom: calc(4rem + var(--section-title-content-gap));
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.team-header h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    background: linear-gradient(180deg, #1a1a1a 0%, #4b5563 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.team-intro {
    font-size: 1.1rem;
    color: rgba(0, 0, 0, 0.6);
    font-weight: 300;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.team-card {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    min-height: 380px; /* Uniform height */
}

.card-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(123, 6, 204, 0.08), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 0;
}

.team-card:hover .card-gradient-bg {
    opacity: 1;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: rgba(123, 6, 204, 0.3);
    background: rgba(0, 0, 0, 0.03);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.user-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.avatar-container {
    position: relative;
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
    flex-shrink: 0;
}

.user-avatar {
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
    border-radius: 50% !important;
    object-fit: cover;
    object-position: center;
    border: 2px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
    display: block;
}

.status-ring {
    position: absolute;
    top: -4px;
    left: -4px;
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    border: 1px solid var(--accent-blue);
    border-radius: 50% !important;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
    box-sizing: border-box;
    pointer-events: none;
}

.team-card:hover .status-ring {
    opacity: 1;
    transform: scale(1);
}

.team-card:hover .user-avatar {
    transform: scale(1.05);
    border-color: transparent;
}

.user-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.user-meta h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.user-role {
    font-size: 0.8rem;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.card-body {
    position: relative;
    z-index: 1;
    flex-grow: 1; /* Push content to fill height if needed */
}

.quote-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.7);
    font-weight: 300;
    position: relative;
    padding-left: 1.5rem;
    border-left: 2px solid rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s;
}

.team-card:hover .quote-text {
    border-color: var(--accent-blue);
    color: rgba(0, 0, 0, 0.9);
}

/* Footer in Team Section */
.section-footer {
    margin-top: 6rem;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.section-footer p {
    color: rgba(0, 0, 0, 0.4);
    font-size: 0.9rem;
}

.footer-link {
    background: none;
    border: none;
    color: rgba(0, 0, 0, 0.5);
    text-decoration: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.footer-link:hover {
    color: #1a1a1a;
    background: rgba(0, 0, 0, 0.05);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    .team-header h2 {
        font-size: 2.5rem;
    }
    .team-card {
        min-height: auto;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: white;
    color: #333;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    border-radius: 20px;
    padding: 3rem;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #000;
}

.privacy-text h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.privacy-text ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-text p {
    margin-bottom: 1rem;
}

/* Responsive - Large Tablets */
@media (max-width: 1200px) and (min-width: 1025px) {
    .hero-title { font-size: 5rem; }
    .whatwedo-pillars-grid { gap: 1.35rem; }
    .formats-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Hamburger → X: bars share one center point so the cross stays aligned */
.hamburger-menu {
    display: none;
    position: relative;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    z-index: 200;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    background: rgba(0, 0, 0, 0.03);
    border: none;
    padding: 0;
    flex-shrink: 0;
    overflow: visible;
    border-radius: 50%;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hamburger-menu:hover {
    background: rgba(0, 0, 0, 0.06);
    transform: scale(1.05);
}

.hamburger-menu:active {
    transform: scale(0.95);
}

.hamburger-menu span {
    position: absolute;
    left: 50%;
    width: 1.125rem;
    height: 1.5px;
    background: #1a1a1a;
    border-radius: 2px;
    transition:
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.3s ease,
        top 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        width 0.3s ease;
    transform-origin: center;
    transform: translateX(-50%);
}

.hamburger-menu span:nth-child(1) {
    top: calc(50% - 5px);
}

.hamburger-menu span:nth-child(2) {
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.hamburger-menu span:nth-child(3) {
    top: calc(50% + 5px);
}

.hamburger-menu.active span:nth-child(1) {
    top: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.hamburger-menu.active span:nth-child(3) {
    top: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
    .hamburger-menu span {
        transition-duration: 0.15s;
    }
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(255, 255, 255, 0.85);
    z-index: 150;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(4.5rem, 12vw, 6rem) var(--page-gutter-x) 2rem;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(30px) saturate(180%);
}

.mobile-nav-overlay__header {
    position: absolute;
    top: 1.25rem;
    left: var(--page-gutter-x);
    right: var(--page-gutter-x);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    pointer-events: none;
}

.mobile-nav-overlay__header .mobile-nav-overlay__brand {
    pointer-events: auto;
}

.mobile-nav-overlay__brand {
    display: flex;
    align-items: center;
    line-height: 0;
}

.mobile-nav-overlay__brand .logo-img {
    display: block;
    width: auto;
    height: auto;
    max-height: clamp(1.875rem, 6vw, 2.25rem);
    object-fit: contain;
    object-position: left center;
    filter: none;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.mobile-link::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--accent-blue);
    border-radius: 2px;
    transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-link.active {
    color: var(--accent-blue);
    font-weight: 600;
}

.mobile-link.active::before {
    height: 60%;
}

.mobile-nav-overlay.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-link:nth-child(4) { transition-delay: 0.4s; }
.mobile-link:nth-child(5) { transition-delay: 0.5s; }
.mobile-link:nth-child(6) { transition-delay: 0.55s; }
.mobile-link:nth-child(7) { transition-delay: 0.6s; }

.mobile-contact {
    margin-top: 1rem;
    padding: 0.8rem 2rem;
    background: white;
    color: #111;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
}

/* Tablet & phone: hamburger nav, no side social/badge; header logo stays fixed (subtle fade past hero) */
@media (max-width: 1024px) {
    html {
        overflow-x: clip;
    }

    .social-totem,
    .circular-badge {
        display: none !important;
    }

    /* Duplicate section logo (e.g. omni intro): brand mark lives in hero only on small screens */
    .hypeads-content-grid__motif {
        display: none;
    }

    /* Past hero: slightly softer wordmark — never hide (single fixed logo; no duplicate in overlay). */
    body.page-has-hero:not(.hero-in-view) .navbar > .logo {
        opacity: 0.82;
        visibility: visible;
        pointer-events: auto;
    }

    body.page-has-hero.hero-in-view .navbar > .logo {
        opacity: 1;
    }

    /* Overlay sits above navbar (z 160); lift bar when menu open so hamburger/X stays visible */
    body.nav-mobile-open .navbar {
        z-index: 175;
    }

    .desktop-nav {
        display: none !important;
    }

    .navbar {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        /* Logo is position:fixed (out of flow); keep control only for the hamburger on the right */
        justify-content: flex-end;
        align-items: center;
        padding: max(1.25rem, env(safe-area-inset-top, 0px)) var(--page-gutter-x) 1.25rem;
        pointer-events: none;
    }

    /* Same idea as desktop: pin the mark to the viewport — avoids flex reflow when hero/hamburger state changes */
    .navbar > .logo {
        position: fixed;
        top: max(1.25rem, env(safe-area-inset-top, 0px));
        left: var(--page-gutter-x);
        right: auto;
        flex: none;
        margin: 0;
        transform: none;
        transition: opacity 0.35s ease, visibility 0.35s ease;
        pointer-events: auto;
        z-index: 101;
    }

    .navbar > .hamburger-menu {
        position: relative;
        flex: 0 0 auto;
        left: auto;
        top: auto;
        transform: none;
        pointer-events: auto;
        z-index: 101;
    }

    .hamburger-menu {
        display: flex;
        align-self: center;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }

    .mobile-nav-overlay {
        z-index: 160;
    }

    body.nav-mobile-open .hamburger-menu {
        z-index: 170;
    }

    body:not(.nav-mobile-open) .hamburger-menu.hamburger-menu--scroll-hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    /* X / bars stay visible on light overlay (parent opacity no longer fades whole navbar). */
    .hamburger-menu.active span {
        background: #0f0f0f;
    }

    /* Keep fixed header logo readable during full-screen video sections (cinema progress). */
    body.video-cinema-active .navbar > .logo {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-link {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .mobile-nav-overlay.active .mobile-link {
        transition: none;
    }
}

/* --- MOBILE STYLES (Conservative Approach) --- */
@media (max-width: 768px) {
    /* Navigation: slightly smaller wordmark; preserve aspect ratio */
    .logo .logo-img,
    .logo img {
        max-height: clamp(1.75rem, 9vw, 2.125rem);
    }

    /* Hero - Keep desktop feel, just scaled */
    .hero.page-section--hero {
        --hero-pad-top: clamp(4.75rem, 10vw, 5.5rem);
    }
    
    .hero .container {
        transform: none;
        margin: 0;
    }

    .hero .hero-copy {
        transform: none;
        margin: 0;
    }

    .hero-title {
        font-size: 2.8rem;
        line-height: 1.1;
    }

    .tag-pill {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }

    .star-center { font-size: 1.2rem; }

    /* Section general */
    section {
        height: auto;
        min-height: 100vh;
        padding: 5rem 1.5rem 3rem;
        overflow: visible;
    }

    /* Restore HypeAds-style side band after generic section shorthand (non-hero only) */
    .content-card > main > section:not(#hero) {
        padding-left: var(--page-gutter-x);
        padding-right: var(--page-gutter-x);
    }

    /* Full-viewport omnichannel: avoid oversized vertical padding from generic section rule */
    section#whatwedo.whatwedo-omnichannel {
        padding: 1rem 2rem 1.25rem;
        min-height: 100svh;
        min-height: 100dvh;
    }

    /* ========== SOLUTIONS SECTION ========== */
    .services-overlay {
        padding-top: 5rem;
    }

    section#whatwedo.whatwedo-omnichannel.services-overlay {
        padding-top: 1rem;
    }
    
    .service-header {
        text-align: center;
        margin-bottom: calc(2rem + var(--section-title-content-gap));
    }
    
    .service-header h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .whatwedo-pillars-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
    }

    .services-overlay--pillars {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    /* Keep 2rem gutters on omnichannel (pillars rule above would shrink sides) */
    #whatwedo.whatwedo-omnichannel.services-overlay.services-overlay--pillars {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .pillar-card-body {
        padding: 1.1rem 1.15rem 1.25rem;
    }

    .pillar-title {
        font-size: 1.15rem;
    }

    .pillar-desc {
        font-size: 0.82rem;
        line-height: 1.45;
    }

    .pillar-format {
        font-size: 0.65rem;
    }

    /* ========== PLATFORM FORMATS SECTION ========== */
    .platform-formats {
        padding-top: 5rem;
    }
    
    .formats-header {
        text-align: center;
        margin-bottom: calc(1.5rem + var(--section-title-content-gap));
    }
    
    .formats-header h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .formats-intro,
    .partner-intro {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .formats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .format-card {
        min-height: 200px;
        padding: 1.25rem;
        border-radius: 16px;
    }
    
    .format-icon-wrapper {
        height: 50px;
        margin-bottom: 0.75rem;
    }
    
    .animated-icon {
        transform: scale(0.6);
    }
    
    .format-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .format-desc {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    /* ========== WHY US / PARTNER SECTION ========== */
    .strategic-partner {
        padding-top: 5rem;
    }
    
    .partner-header {
        text-align: center;
        margin-bottom: calc(1.5rem + var(--section-title-content-gap));
    }
    
    .partner-header h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .benefit-card {
        padding: 1.25rem;
        border-radius: 16px;
        text-align: center;
    }
    
    .benefit-icon-wrapper {
        width: 45px;
        height: 45px;
        margin: 0 auto 0.75rem;
    }
    
    .benefit-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .benefit-card p {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    /* Featured Benefits */
    .featured-benefits {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .feature-card {
        flex-direction: row;
        align-items: center;
        padding: 1.25rem;
        border-radius: 16px;
        gap: 1rem;
    }
    
    .feature-content {
        flex: 1;
        padding-right: 0;
        text-align: left;
    }
    
    .feature-content h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .feature-content p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .feature-icon-large-wrapper {
        width: 50px;
        height: 50px;
        min-width: 50px;
        margin-bottom: 0;
    }

    /* ========== CONTACT / TEAM ========== */
    .contact-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Contact CTA card: denser on phones — same structure, less padding / gap / type */
    .contact-section.page-section {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    #contact.contact-section .contact-cta-card {
        padding: 1rem 1rem !important;
        border-radius: 1rem;
        box-shadow: 0 16px 40px -28px rgba(0, 0, 0, 0.18);
    }

    #contact.contact-section .contact-cta-card > .grid {
        gap: 1.5rem !important;
    }

    #contact.contact-section .contact-cta-card > .grid > div.flex.flex-col.gap-5 {
        gap: 0.9rem !important;
    }

    #contact.contact-section .contact-cta-card h2.font-headline {
        font-size: clamp(1.15rem, 4.8vw, 1.5rem);
    }

    #contact.contact-section .contact-cta-card > .grid > div:first-child p.text-base {
        font-size: 0.875rem;
        line-height: 1.55;
    }

    #contact.contact-section .contact-form-stack {
        gap: 0.65rem !important;
    }

    #contact.contact-section .contact-inquiry-form {
        gap: 0.65rem !important;
    }

    #contact.contact-section .contact-inquiry-form > .grid {
        gap: 0.65rem !important;
    }

    #contact.contact-section .contact-inquiry-form input,
    #contact.contact-section .contact-inquiry-form select,
    #contact.contact-section .contact-inquiry-form textarea {
        padding: 0.45rem 0.65rem;
        font-size: 0.8125rem;
    }

    #contact.contact-section .contact-inquiry-form textarea {
        min-height: 4.25rem;
    }

    #contact.contact-section .contact-inquiry-form button[type="submit"] {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        font-size: 0.8125rem;
    }

    #contact.contact-section .contact-cta-card .mt-2.flex.flex-col {
        gap: 0.65rem !important;
        margin-top: 0.25rem;
    }

    #contact.contact-section .contact-cta-card .mt-2 .h-9.w-9 {
        width: 2rem;
        height: 2rem;
    }

    #contact.contact-section .contact-cta-card .mt-2 .fa-solid {
        font-size: 0.8rem;
    }

    #contact.contact-section .contact-thank-you {
        padding: 0.85rem 1rem;
        font-size: 0.8125rem;
    }

    .team-section {
        padding-top: 5rem;
    }
    
    .team-header {
        text-align: center;
        margin-bottom: calc(2rem + var(--section-title-content-gap));
    }
    
    .team-header h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .team-intro {
        font-size: 0.85rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .team-card {
        min-height: auto;
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .user-header {
        margin-bottom: 1rem;
        gap: 1rem;
    }
    
    .avatar-container {
        width: 55px;
        height: 55px;
        min-width: 55px;
        min-height: 55px;
    }
    
    .user-avatar {
        width: 55px;
        height: 55px;
        min-width: 55px;
        min-height: 55px;
    }
    
    .status-ring {
        width: 63px;
        height: 63px;
        min-width: 63px;
        min-height: 63px;
    }
    
    .user-meta h4 {
        font-size: 1.1rem;
    }
    
    .user-role {
        font-size: 0.7rem;
    }
    
    .quote-text {
        font-size: 0.85rem;
        line-height: 1.5;
        padding-left: 1rem;
    }

    /* Footer */
    .section-footer {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    .section-footer p {
        font-size: 0.8rem;
    }
    
    .footer-link {
        font-size: 0.8rem;
    }

    /* Modal adjustments */
    .modal-content {
        width: 95%;
        padding: 1.5rem;
        max-height: 85vh;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
    
    .privacy-text h3 {
        font-size: 1rem;
    }
    
    .privacy-text p,
    .privacy-text li {
        font-size: 0.85rem;
    }
}

/* Mobile: layered layout adjustments */
@media (max-width: 768px) {
    #content-layer {
        margin-bottom: 0;
    }

    /*
     * Fixed footer can be taller than the viewport; overflow:hidden was clipping the top
     * (brand, columns). Cap height and scroll inside the footer so all content is reachable.
     */
    .site-footer {
        position: fixed;
        z-index: 0;
        max-height: 100vh;
        max-height: 100dvh;
        max-height: 100svh;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        padding-bottom: max(clamp(2rem, 4vw, 3rem), env(safe-area-inset-bottom, 0px));
    }

    /* Single-column stack: same alignment as brand + dense lists (no centered “Empresa” band) */
    .site-footer__grid {
        gap: clamp(1.35rem, 4vw, 1.85rem);
    }

    .site-footer__bottom {
        align-items: flex-start;
        gap: 0.85rem;
        padding-top: 1.25rem;
    }

    .site-footer__legal {
        justify-content: flex-start;
    }
}

/* Tablet Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero.page-section--hero {
        --hero-pad-top: clamp(4.4rem, 8vw, 5.1rem);
    }
    .hero-title { font-size: 4.5rem; }
    .whatwedo-pillars-grid { grid-template-columns: repeat(2, 1fr); }
    .formats-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================================
   HypeAds homepage flow (index): content grid → elevate → video → reach → partners
   ========================================================================= */

.hypeads-content-grid__intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.125rem;
    margin-bottom: calc(clamp(1.5rem, 3vw, 2.625rem) + var(--section-title-content-gap));
}

.hypeads-content-grid__motif {
    margin: 0;
    max-width: 5.8125rem;
}

.hypeads-content-grid__motif--compact {
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hypeads-motif-glyph {
    display: block;
    font-size: clamp(2.25rem, 5vw, 2.75rem);
    font-weight: 300;
    line-height: 1;
    background: linear-gradient(135deg, var(--brand-violet) 0%, var(--brand-violet-mid) 48%, var(--brand-white) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hypeads-content-grid__motif img {
    width: auto;
    max-width: min(5.8125rem, 24vw);
    height: auto;
    display: block;
    border-radius: 0.35rem;
}

.hypeads-content-grid__motif .logo-img {
    max-height: 1.875rem;
    width: auto;
    object-fit: contain;
    filter: brightness(0);
}

.hypeads-content-grid__intro-copy {
    max-width: 39rem;
}

.hypeads-content-grid .omni-platform__title {
    font-size: clamp(1.65rem, 3.75vw, 2.625rem);
    margin-bottom: 0.9375rem;
}

.hypeads-content-grid .omni-platform__sub {
    font-size: clamp(0.75rem, 1.125vw, 0.8625rem);
    max-width: 30rem;
}

.hypeads-content-grid .italic-accent {
    font-family: var(--font-main);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.hypeads-content-grid .brand-accent {
    font-family: var(--font-main);
    font-style: normal;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--brand-violet);
}

.container.container--xl {
    width: 100%;
    max-width: 90rem;
    margin: 0 auto;
}

.hypeads-mission-grid {
    list-style: none;
    margin: 0 0 clamp(1.875rem, 3.75vw, 3rem);
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(0.9375rem, 3vw, 2.25rem);
}

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

.hypeads-mission-card__counter {
    font-size: clamp(1.5rem, 2.625vw, 2.1375rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--brand-violet);
    line-height: 1.1;
}

.hypeads-mission-card__prefix {
    margin-right: 0.05em;
}

.hypeads-mission-card__suffix {
    margin-left: 0.02em;
}

.hypeads-mission-card__rule {
    margin: 0.6375rem 0 0.4875rem;
}

.hypeads-mission-card__rule-line {
    height: 1px;
    background: rgba(15, 23, 42, 0.14);
    max-width: 7.5rem;
    margin: 0 auto;
}

.hypeads-mission-card__desc {
    font-size: calc(0.9rem * 0.75);
    color: #64748b;
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

.hypeads-forest {
    display: grid;
    /* Single full-width column when side rails (.hypeads-forest__aside) are removed */
    grid-template-columns: 1fr;
    gap: clamp(0.75rem, 2vw, 1.35rem);
    align-items: center;
}

/* Restore 3-column layout only when left/right feature rails exist */
.hypeads-forest:has(.hypeads-forest__aside) {
    grid-template-columns: minmax(9.5rem, 1fr) minmax(0, 2.85fr) minmax(9.5rem, 1fr);
}

.hypeads-forest__aside {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.hypeads-forest__aside--right {
    align-items: flex-end;
    text-align: right;
}

.hypeads-forest__aside--left {
    align-items: flex-start;
    text-align: left;
}

.hypeads-forest__heading {
    font-size: clamp(0.92rem, 1.25vw, 1.12rem);
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.35;
    margin: 0;
}

.hypeads-forest__accent {
    width: 100%;
    max-width: 12.5rem;
    height: 4px;
    border-radius: 999px;
}

.hypeads-forest__accent--red {
    background: linear-gradient(90deg, #ff7a59 0%, #e11d74 100%);
}

.hypeads-forest__accent--blue {
    background: linear-gradient(90deg, #22d3ee 0%, #2563eb 100%);
}

.hypeads-forest__aside--right .hypeads-forest__accent {
    margin-left: auto;
}

/* Realistic Devices Hero CSS */
.devices-hero {
    position: relative;
    width: 100%;
    max-width: 825px;
    margin: 0 auto;
    padding: 15px 30px 45px 15px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}

.device-tv {
    position: relative;
    width: 100%;
    z-index: 1;
}

.device-tv-bezel {
    width: 100%;
    background: #000;
    border-radius: 16px;
    padding: 12px; 
    box-shadow: 
        0 30px 60px -15px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255,255,255,0.1) inset,
        0 0 0 3px #1a1a1a inset;
    position: relative;
}

.device-tv-screen {
    width: 100%;
    aspect-ratio: 16 / 10.2; /* Taller aspect ratio for the TV screen */
    background: #0a0a0a;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.device-tv-screen video,
.device-phone-screen video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.device-phone-screen iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.device-tv-shadow {
    position: absolute;
    bottom: -15px;
    left: 5%;
    right: 5%;
    height: 23px;
    background: rgba(0, 0, 0, 0.4);
    filter: blur(15px);
    z-index: -1;
    border-radius: 50%;
}

.device-phone {
    position: absolute;
    bottom: -3%;
    right: 0;
    width: 22%;
    min-width: 150px;
    z-index: 2;
    /* 15% smaller overall; anchor to corner so layout position stays consistent */
    transform: scale(0.85);
    transform-origin: bottom right;
}

.device-phone-bezel {
    width: 100%;
    aspect-ratio: 9 / 19.5;
    background: #000;
    /* Tighter than “iPhone 15” 44px — at hero scale that reads as overly pill-shaped */
    border-radius: 28px;
    padding: 12px;
    box-shadow: 
        0 10px 20px -5px rgba(0, 0, 0, 0.4),
        inset 0 0 0 2px #555,
        inset 0 0 0 4px #222,
        inset 0 0 0 6px #000;
    position: relative;
}

/* Volume buttons */
.device-phone-bezel::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 25%;
    width: 2px;
    height: 6%;
    background: #555;
    border-radius: 2px 0 0 2px;
    box-shadow: 0 40px 0 #555;
}

/* Power button */
.device-phone-bezel::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 30%;
    width: 2px;
    height: 8%;
    background: #555;
    border-radius: 0 2px 2px 0;
}

.device-phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
}

.device-phone-island {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 32%;
    height: 21px;
    background: #000;
    border-radius: 8px;
    z-index: 10;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

/* Glass reflection */
.device-tv-screen::after,
.device-phone-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 40%);
    pointer-events: none;
    z-index: 5;
}

@media (max-width: 900px) {
    .hypeads-mission-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: clamp(0.5rem, 2.5vw, 1.25rem);
    }

    .hypeads-mission-card__counter {
        font-size: clamp(1.05rem, 3.6vw, 1.5rem);
    }

    .hypeads-mission-card__desc {
        font-size: clamp(0.6rem, 2.1vw, 0.675rem);
    }

    .hypeads-forest:has(.hypeads-forest__aside) {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .hypeads-forest__aside--right {
        align-items: flex-start;
        text-align: left;
    }

    .hypeads-forest__aside--right .hypeads-forest__accent {
        margin-left: 0;
    }

    .devices-hero {
        padding: 8px 8px 30px 8px;
    }
    
    .device-tv {
        width: 100%;
    }
    
    .device-phone {
        width: 21%;
        min-width: 90px;
        right: -2%;
        bottom: 2%;
    }
    
    .device-phone-bezel {
        border-radius: 22px;
        padding: 8px;
    }
    
    .device-phone-screen {
        border-radius: 17px;
    }
    
    /* ~30% slimmer than before — less “chubby” on small mockups */
    .device-phone-island {
        top: 16px;
        width: calc(32% * 0.7);
        height: calc(15px * 0.7);
        border-radius: 4px;
    }
}

.hypeads-stat-block {
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
    max-width: 72rem;
    padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.hypeads-stat-row {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 4vw, 2.5rem);
}

.hypeads-stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hypeads-stat-item__value {
    display: block;
    font-size: clamp(2rem, 3.8vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text-light);
}

.hypeads-stat-item__label {
    display: block;
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    color: #64748b;
    font-weight: 500;
    line-height: 1.35;
    max-width: 12rem;
}

/* HypeAds-style Direct Supply / Direct Demand connector (matches reference layout) */
.hypeads-supply-demand {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    max-width: 62.5rem;
    box-sizing: border-box;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.hypeads-sd-pill-outer {
    flex-shrink: 0;
    z-index: 10;
    padding: 1px;
    border-radius: 9999px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.hypeads-sd-pill-outer--supply {
    background: linear-gradient(90deg, #ff8c69 0%, #f77ba6 50%, #a259ff 100%);
}

.hypeads-sd-pill-outer--demand {
    background: linear-gradient(90deg, #00c6ff 0%, #0072ff 100%);
}

.hypeads-sd-pill-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.875rem 1.625rem;
    border-radius: 9999px;
    background: #fff;
}

.hypeads-sd-pill__label {
    font-family: var(--font-main);
    font-size: clamp(1.0625rem, 1.25vw, 1.1875rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #2d3748;
}

.hypeads-sd-pill__icon {
    flex-shrink: 0;
    color: #9ca3af;
    width: 15px;
    height: 15px;
}

.hypeads-sd-bridge {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
    align-self: center;
    height: 2px;
    margin: 0 -0.75rem;
    z-index: 0;
    overflow: visible;
}

.hypeads-sd-bridge__line {
    position: absolute;
    pointer-events: none;
}

.hypeads-sd-bridge__line--left-main {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 105%;
    height: 1.5px;
    background: linear-gradient(to left, #a259ff, #f77ba6, transparent);
}

.hypeads-sd-bridge__line--left-top {
    right: 0;
    top: calc(50% - 5px);
    transform: translateY(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(to left, #f77ba6, #ff8c69, transparent);
    opacity: 0.7;
    filter: blur(0.3px);
}

.hypeads-sd-bridge__line--left-bottom {
    right: 0;
    top: calc(50% + 5px);
    transform: translateY(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(to left, #ff8c69, transparent);
    opacity: 0.7;
    filter: blur(0.3px);
}

.hypeads-sd-bridge__line--right-main {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 105%;
    height: 1.5px;
    background: linear-gradient(to right, #00c6ff, #0072ff, transparent);
}

.hypeads-sd-bridge__line--right-top {
    left: 0;
    top: calc(50% - 5px);
    transform: translateY(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, #00c6ff, transparent);
    opacity: 0.7;
    filter: blur(0.3px);
}

.hypeads-sd-bridge__line--right-bottom {
    left: 0;
    top: calc(50% + 5px);
    transform: translateY(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(to right, #0072ff, transparent);
    opacity: 0.7;
    filter: blur(0.3px);
}

.hypeads-sd-center {
    flex-shrink: 0;
    z-index: 10;
    width: 72px;
    height: 72px;
    border-radius: 1.25rem;
    background: #0c1322;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 10px 15px -3px rgba(12, 20, 43, 0.12),
        0 4px 6px -4px rgba(12, 20, 43, 0.08);
}

.hypeads-sd-center__svg {
    display: block;
}

@media (max-width: 900px) {
    .hypeads-stat-row {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .hypeads-supply-demand {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 1.25rem;
        column-gap: 0.75rem;
        max-width: 22rem;
    }

    .hypeads-sd-bridge {
        display: none;
    }

    .hypeads-sd-center {
        order: -1;
        width: 100%;
        flex-basis: 100%;
        margin: 0 auto;
    }

    .hypeads-sd-pill-outer--supply {
        order: 2;
    }

    .hypeads-sd-pill-outer--demand {
        order: 3;
    }
}

/* Elevate — mediagrid (HypeAds mediagrid: white band, 2×2, navy sans + serif italic) */
#whatwedo.brxe-section {
    --elevate-navy: #0b1b36;
    --elevate-body: #2c3e5c;
    --elevate-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    /* 15% smaller than base (typography, spacing, images scale together) */
    zoom: 0.85;
    padding: clamp(3rem, 8vw, 6rem) 0;
    background: #fff;
    position: relative;
    isolation: isolate;
}

/* Elevate carousel: align to 1280×720-style frames (width cap + short-height density) */
@media (min-width: 1280px) {
    #whatwedo.brxe-section {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }
}

#elevate-pillars-track {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 2vw, 1.75rem);
    /* ~15% narrower cards vs full-bleed row (overrides Tailwind w-full) */
    width: 85% !important;
    max-width: 85%;
    margin-inline: auto;
}

#elevate-pillars-track > div {
    width: 100%;
    background: #fff;
    border-radius: 1.5rem;
    border: 1px solid rgba(11, 27, 54, 0.08);
    box-shadow: 0 10px 30px rgba(11, 27, 54, 0.06);
}

/* Mobile / tablet: Tailwind p-12 + gap-12 + text-4xl reads huge — tighten before lg breakpoint */
@media (max-width: 1023px) {
    #whatwedo.brxe-section .brxe-container.container.mb-12 {
        margin-bottom: clamp(1.5rem, 5vw, 2.5rem) !important;
    }

    #elevate-pillars-track {
        width: 100% !important;
        max-width: 100%;
        gap: clamp(0.75rem, 3vw, 1.25rem);
        padding-bottom: 1rem !important;
    }

    #elevate-pillars-track > div {
        padding: clamp(1rem, 4vw, 1.35rem) !important;
        gap: clamp(1rem, 3.5vw, 1.5rem) !important;
    }

    #elevate-pillars-track > div h3.font-headline {
        font-size: clamp(1.45rem, 5.2vw, 1.85rem) !important;
        line-height: 1.18;
    }

    #elevate-pillars-track > div h3.mb-6,
    #elevate-pillars-track > div h3.mb-3 {
        margin-bottom: 0.5rem !important;
    }

    #elevate-pillars-track > div p {
        font-size: clamp(0.9rem, 3.1vw, 1.02rem) !important;
        line-height: 1.5;
    }

    #elevate-pillars-track > div .relative.w-72.h-72.lg\:w-\[480px\].lg\:h-\[480px\] {
        width: min(100%, 220px) !important;
        height: auto !important;
        aspect-ratio: 12 / 14;
        border-radius: 1.25rem !important;
        margin-inline: auto;
    }

    #whatwedo .brxe-heading#brxe-pqfcpl,
    #whatwedo h2.brxe-heading {
        margin-bottom: clamp(1.25rem, 4vw, 2rem) !important;
    }
}

@media (min-width: 1024px) {
    #elevate-pillars-track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
    }

    #elevate-pillars-track > div {
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 1.25rem;
        padding: clamp(1.1rem, 1.6vw, 1.5rem) !important;
    }

    #elevate-pillars-track > div > div.w-full.lg\:w-1\/2 {
        width: 100% !important;
    }

    #elevate-pillars-track > div .mb-6 {
        margin-bottom: 0.55rem;
    }

    #elevate-pillars-track > div h3.font-headline {
        font-size: clamp(1.55rem, 1.55vw, 2.05rem) !important;
        line-height: 1.15;
        margin-bottom: 0.65rem !important;
    }

    #elevate-pillars-track > div p {
        font-size: clamp(0.95rem, 0.9vw, 1.1rem) !important;
        line-height: 1.45;
    }

    #elevate-pillars-track > div .relative.w-72.h-72.lg\:w-\[480px\].lg\:h-\[480px\] {
        width: min(100%, 320px) !important;
        height: auto !important;
        aspect-ratio: 12 / 14;
        margin: 0 auto;
    }
}

#whatwedo.brxe-section .brxe-container.container {
    max-width: min(72.5rem, 100%);
    padding-left: var(--page-gutter-x);
    padding-right: var(--page-gutter-x);
}

#whatwedo .brxe-heading#brxe-pqfcpl,
#whatwedo h2.brxe-heading {
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 4.8vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: #1a1a1a;
    margin: 0 auto clamp(2.5rem, 5.5vw, 3.75rem);
    max-width: 54rem;
}

#whatwedo h2.brxe-heading span {
    font-family: var(--elevate-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.02em;
}

#whatwedo h2.brxe-heading .brand-accent {
    font-family: var(--font-main);
    font-style: normal;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--brand-violet);
}

@media (min-width: 1024px) and (max-height: 720px) {
    #whatwedo.brxe-section {
        padding: clamp(0.75rem, 2.5vh, 1.5rem) 0 clamp(1rem, 3vh, 1.75rem);
    }

    #whatwedo.brxe-section .brxe-container.container.mb-12 {
        margin-bottom: 0.5rem;
    }

    #whatwedo .brxe-heading#brxe-pqfcpl,
    #whatwedo h2.brxe-heading {
        font-size: clamp(1.35rem, 4.2vh, 1.85rem);
        margin: 0 auto clamp(0.5rem, 2vh, 1rem);
    }

    #whatwedo.brxe-section > div.flex.overflow-x-auto {
        padding-bottom: 0.35rem;
    }

    #whatwedo.brxe-section > div.flex.overflow-x-auto > .flex-none {
        padding: clamp(0.75rem, 2vh, 1.25rem) clamp(1rem, 3vw, 1.5rem);
        gap: clamp(0.75rem, 2.5vh, 1.25rem);
    }

    #whatwedo.brxe-section > div.flex.overflow-x-auto > .flex-none .mb-6 {
        margin-bottom: 0.35rem;
    }

    #whatwedo.brxe-section > div.flex.overflow-x-auto > .flex-none h3.font-headline {
        font-size: clamp(1.15rem, 4.5vh, 1.65rem);
        margin-bottom: 0.3rem;
    }

    #whatwedo.brxe-section > div.flex.overflow-x-auto > .flex-none h3.font-headline.mb-6 {
        margin-bottom: 0.45rem;
    }

    #whatwedo.brxe-section > div.flex.overflow-x-auto > .flex-none p {
        font-size: clamp(0.8125rem, 2.4vh, 0.9375rem);
        line-height: 1.4;
    }

    #whatwedo.brxe-section > div.flex.overflow-x-auto > .flex-none .shadow-2xl {
        width: min(32vw, 240px);
        height: min(32vw, 240px);
        max-height: 34vh;
        max-width: 34vh;
    }
}

.mediagrid-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.5rem, 3.5vw, 2.75rem);
    max-width: 100%;
}

.brxe-block.mediagrid-card,
.mediagrid-card {
    display: flex;
    flex-direction: column;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    border: none;
}

#whatwedo .mediagrid-card:hover {
    transform: none;
    box-shadow: none;
}

.mediagrid-card__media-wrapper {
    position: relative;
    aspect-ratio: 588 / 464;
    overflow: hidden;
    background: #e8edf2;
    border-radius: 1.25rem;
}

.mediagrid-card__media {
    margin: 0;
    height: 100%;
}

/* Bricks stills: subtle depth on stills */
.mediagrid-card__media.overlay {
    position: relative;
}

.mediagrid-card__media.overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(11, 27, 54, 0.06);
}

.mediagrid-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.mediagrid-card__content {
    padding: clamp(1.25rem, 2.5vw, 1.65rem) 0.15rem 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    text-align: left;
}

.mediagrid-card__heading {
    font-size: clamp(1.12rem, 2vw, 1.42rem);
    font-weight: 700;
    color: var(--elevate-navy, #0b1b36);
    margin: 0;
    font-family: var(--font-heading);
    letter-spacing: -0.025em;
    line-height: 1.2;
}

#whatwedo .mediagrid-card__heading span {
    font-family: var(--elevate-serif, 'Playfair Display', Georgia, serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.mediagrid-card__description,
.brxe-text-basic.mediagrid-card__description {
    font-size: clamp(0.9rem, 1.35vw, 1.02rem);
    line-height: 1.62;
    color: var(--elevate-body, #2c3e5c);
    margin: 0;
    font-family: var(--font-main);
    font-weight: 400;
    max-width: 42rem;
}

@media (max-width: 639px) {
    .mediagrid-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Dark video band */
.hypeads-video-section {
    position: relative;
    background: #0c142b;
    color: #fff;
    padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
    overflow: hidden;
}

.hypeads-video-section__spacer-top {
    height: 1px;
    margin-bottom: 0;
}

.hypeads-video-section__inner {
    position: relative;
    z-index: 2;
}

.hypeads-video-section__heading.center--all {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: calc(2rem + var(--section-title-content-gap));
}

.hypeads-video-section__icon {
    color: rgba(255, 255, 255, 0.9);
}

.hypeads-video-section__title {
    font-size: clamp(1.65rem, 3.5vw, 2.35rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    max-width: 36rem;
    margin: 0;
    line-height: 1.2;
}

.hypeads-video-section__stage {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    max-width: 960px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: #060a14;
}

.hypeads-video-section__embed {
    position: absolute;
    inset: 0;
}

.hypeads-video-section__embed iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.77vh;
    min-width: 100%;
    min-height: 56.25vw;
    height: 56.25vw;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none;
}

.hypeads-video-section__embed video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    display: block;
}

.hypeads-video-section__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    color: #fff;
    text-decoration: none;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.15) 0%, transparent 55%);
    transition: background 0.3s ease;
}

.hypeads-video-section__play:hover {
    background: rgba(0, 0, 0, 0.25);
}

.hypeads-video-section__play-icon {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #0c142b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    padding-left: 0.25rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

/* Pin scroll: bloque negro (#000) más alto que 100vh; título + vídeo centrados dentro */
@media (prefers-reduced-motion: no-preference) {
    .hypeads-video-section-pin-wrap {
        /* Scroll length + sticky black band; ~50% taller than 165svh for a clearer break vs white */
        --video-pin-threshold: clamp(1.5rem, 7.5vh, 4.5rem);
        /* vh first: older Firefox / engines without svh still get sane height */
        --video-cinema-block-height: 248vh;
        --video-cinema-block-height: 248svh;
        min-height: var(--video-cinema-block-height);
        scroll-margin-top: var(--video-pin-threshold);
        background: #000;
    }

    .hypeads-video-section--viewport-cinema {
        position: sticky;
        top: 0;
        z-index: 5;
        box-sizing: border-box;
        min-height: var(--video-cinema-block-height);
        height: var(--video-cinema-block-height);
        max-height: var(--video-cinema-block-height);
        margin: 0;
        padding: clamp(1rem, 4vh, 2.75rem) clamp(1rem, 4vw, 2rem);
        background: #000 !important;
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        isolation: isolate;
    }

    .hypeads-video-section--viewport-cinema.is-cinema-active {
        z-index: 1001;
    }

    .hypeads-video-section--viewport-cinema.is-cinema-active .hypeads-video-section__inner,
    .hypeads-video-section--viewport-cinema.is-cinema-active .hypeads-video-section__stage,
    .hypeads-video-section--viewport-cinema.is-cinema-active .hypeads-video-section__play {
        position: relative;
        z-index: 1002;
    }

    .hypeads-video-section__stage::after {
        content: none;
    }

    .hypeads-video-section--viewport-cinema .hypeads-video-section__spacer-top {
        display: none;
    }

    .hypeads-video-section--viewport-cinema .hypeads-video-section__inner {
        /* Content-sized block so the section can center it in the tall sticky band */
        flex: 0 1 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: min(72rem, 100%);
        margin: 0 auto;
        min-height: 0;
        gap: clamp(0.5rem, 2.2vh, 1.5rem);
    }

    .hypeads-video-section--viewport-cinema .hypeads-video-section__heading.center--all {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .hypeads-video-section--viewport-cinema .hypeads-video-section__title {
        color: #fff;
    }

    .hypeads-video-section--viewport-cinema .hypeads-video-section__stage {
        flex: 0 1 auto;
        width: 100%;
        max-width: 960px;
        min-height: 0;
        max-height: min(calc(100vh - clamp(5rem, 20vh, 11rem)), 90vw);
        max-height: min(calc(100svh - clamp(5rem, 20vh, 11rem)), 90vw);
        aspect-ratio: 16 / 9;
        height: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hypeads-video-section-pin-wrap {
        /* Tall dark band without sticky cinema (matches intent of taller black section) */
        min-height: min(120vh, 56rem);
        background: #0a0f1c;
    }

    .hypeads-video-section--viewport-cinema {
        position: relative;
        top: auto;
        z-index: auto;
        min-height: min(110vh, 52rem);
        height: auto;
        max-height: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: clamp(2.75rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2rem) clamp(3.5rem, 7vw, 6rem);
        background: #0c142b !important;
    }

    .hypeads-video-section--viewport-cinema .hypeads-video-section__spacer-top {
        display: none;
    }

    .hypeads-video-section--viewport-cinema .hypeads-video-section__inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: min(72rem, 100%);
        margin: 0 auto;
        gap: clamp(0.5rem, 2.2vh, 1.5rem);
    }

    .hypeads-video-section--viewport-cinema .hypeads-video-section__heading.center--all {
        margin-bottom: 2rem;
    }

    .hypeads-video-section--viewport-cinema .hypeads-video-section__stage {
        max-height: none;
    }
}

.value-prop__grid--hypeads {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 72rem;
    gap: clamp(1.25rem, 3vw, 2rem);
}

.value-prop__grid--hypeads .value-card {
    padding: 2.5rem 2rem 0;
    overflow: hidden;
}

.value-prop__grid--hypeads .value-card__cta {
    margin-bottom: 0.5rem;
}

.value-card__figure {
    margin: 2rem -2rem 0;
    padding: 0;
    width: calc(100% + 4rem);
    max-width: none;
    order: 10;
}

.value-card__figure img {
    width: 100%;
    height: auto;
    max-height: min(280px, 32vw);
    object-fit: cover;
    display: block;
}

.value-card__accent {
    color: #7B06CC;
    font-weight: 600;
}

@media (max-width: 900px) {
    .value-prop__grid--hypeads {
        grid-template-columns: 1fr;
    }
}

/* Value cards redesign: adapted from provided concept, preserving existing copy */
.value-prop__grid--hypeads .value-card {
    padding: 2.5rem 2rem 0;
    border-radius: 2.5rem;
    background: linear-gradient(180deg, #f8f9fb 0%, #ecf1f8 100%);
    border: 1px solid rgba(26, 26, 26, 0.08);
    min-height: 680px;
    justify-content: space-between;
    overflow: hidden;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.value-prop__grid--hypeads .value-card:hover {
    transform: translateY(-8px);
    border-color: rgba(123, 6, 204, 0.2);
    box-shadow: 0 26px 54px rgba(26, 26, 26, 0.13);
}

.value-card__content {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.value-prop__grid--hypeads .value-card__heading {
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 3.2vw, 2.45rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.value-card__accent {
    font-family: var(--font-heading);
    font-style: normal;
    font-weight: 500;
    background: linear-gradient(to right, var(--brand-violet), var(--brand-violet-soft));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.value-prop__grid--hypeads .value-card__desc {
    font-size: 1rem;
    line-height: 1.65;
    color: #475467;
    max-width: 34rem;
    margin-bottom: 1.25rem;
}

.value-prop__grid--hypeads .value-card__list {
    width: 100%;
    margin-bottom: 1.5rem;
    gap: 0.65rem;
}

.value-prop__grid--hypeads .value-card__list li {
    justify-content: flex-start;
    text-align: left;
    font-size: 0.92rem;
    color: #374151;
}

.value-prop__grid--hypeads .value-card__cta {
    margin-top: 0.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(26, 26, 26, 0.4);
    border-radius: 999px;
    padding: 0.72rem 1.25rem;
    color: #1a1a1a;
    transition: background-color 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s cubic-bezier(0.22, 1, 0.36, 1), gap 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.value-prop__grid--hypeads .value-card__cta:hover {
    background: #7B06CC;
    border-color: #7B06CC;
    color: #fff;
}

.value-card__visual {
    width: 100%;
    position: relative;
    margin-top: auto;
    pointer-events: none;
}

/* Publishers card visual */
.value-card__visual--publishers {
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 0.8rem;
}

.value-window--secondary {
    width: min(155px, 34%);
    height: 165px;
    border-radius: 0.85rem;
    transform: translateY(12px) rotate(-4deg);
    opacity: 0.9;
}

.value-window--secondary .value-window__top {
    width: 68%;
    margin-bottom: 0.75rem;
}

.value-window--secondary .value-window__line {
    height: 6px;
    margin-bottom: 0.45rem;
}

.value-window--secondary .value-window__block {
    margin-top: 0.65rem;
    height: 56px;
}

.value-window {
    width: min(390px, 92%);
    height: 220px;
    border-radius: 1rem 1rem 0 0;
    border: 1px solid rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 46px rgba(26, 26, 26, 0.14);
    padding: 1rem 1.1rem;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.value-window__top {
    width: 75%;
    height: 8px;
    border-radius: 999px;
    background: #e7ebf1;
    margin: 0.2rem auto 1rem;
}

.value-window__line {
    height: 7px;
    border-radius: 999px;
    background: #edf1f6;
    margin-bottom: 0.55rem;
}

.value-window__line--wide {
    width: 92%;
    margin-left: auto;
    margin-right: auto;
}

.value-window__block {
    margin-top: 1rem;
    height: 84px;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(79, 70, 229, 0.08));
}

.value-window__shadow {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: min(430px, 108%);
    height: 18px;
    border-radius: 0 0 12px 12px;
    background: linear-gradient(180deg, rgba(156, 163, 175, 0.65), rgba(156, 163, 175, 0.42));
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Brands card visual */
.value-card__visual--brands {
    height: 300px;
}

.value-phone {
    position: absolute;
    bottom: -64px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.value-phone--left {
    left: 13%;
    width: 140px;
    height: 270px;
    border-radius: 1.7rem;
    transform: rotate(-11deg);
    box-shadow: -10px 20px 40px rgba(0, 0, 0, 0.1);
    background-image:
        radial-gradient(circle at 50% 34%, rgba(236, 72, 153, 0.18), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 247, 252, 0.95));
}

.value-phone--right {
    right: 13%;
    width: 160px;
    height: 300px;
    border-radius: 1.9rem;
    transform: rotate(8deg);
    box-shadow: 0 28px 54px rgba(0, 0, 0, 0.15);
    background-image:
        radial-gradient(circle at 50% 34%, rgba(99, 102, 241, 0.22), transparent 48%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 246, 255, 0.96));
}

.value-prop__grid--hypeads .value-card:hover .value-window {
    transform: translateY(-6px);
    box-shadow: 0 24px 52px rgba(26, 26, 26, 0.18);
}

.value-prop__grid--hypeads .value-card:hover .value-window__shadow {
    transform: translateX(-50%) scaleX(1.03);
    opacity: 0.92;
}

.value-prop__grid--hypeads .value-card:hover .value-phone--left {
    transform: rotate(-10deg) translateY(-6px);
    box-shadow: -12px 24px 46px rgba(26, 26, 26, 0.14);
}

.value-prop__grid--hypeads .value-card:hover .value-phone--right {
    transform: rotate(7deg) translateY(-8px);
    box-shadow: 0 34px 62px rgba(26, 26, 26, 0.18);
}

@media (prefers-reduced-motion: reduce) {
    .value-prop__grid--hypeads .value-card,
    .value-window,
    .value-window__shadow,
    .value-phone,
    .value-prop__grid--hypeads .value-card__cta {
        transition: none !important;
    }
}

@media (max-width: 900px) {
    .value-prop__grid--hypeads .value-card {
        min-height: 620px;
    }

    .value-phone--left {
        left: 16%;
    }

    .value-phone--right {
        right: 16%;
    }
}

/* #value-prop: 1280px-wide canvas + 720p-height density (pairs with #whatwedo) */
@media (min-width: 1280px) {
    #value-prop.value-prop {
        max-width: 1280px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 1024px) and (max-height: 720px) {
    #value-prop.value-prop {
        padding: clamp(0.45rem, 1.8vh, 0.85rem) 0 clamp(0.55rem, 2vh, 0.95rem);
    }

    #value-prop .value-prop__header {
        margin-bottom: clamp(0.35rem, 1.2vh, 0.55rem);
    }

    #value-prop .value-prop__eyebrow {
        font-size: 0.58rem;
        margin-bottom: 0.3rem;
    }

    #value-prop .value-prop__title {
        font-size: clamp(1rem, 3.4vh, 1.45rem);
        margin-bottom: 0.28rem;
        line-height: 1.1;
    }

    #value-prop .value-prop__sub {
        font-size: clamp(0.7rem, 1.95vh, 0.82rem);
        line-height: 1.32;
    }

    #value-prop .value-prop__bento {
        grid-auto-rows: minmax(0, auto);
        gap: clamp(0.35rem, 1.1vh, 0.55rem);
        margin-bottom: 0;
    }

    #value-prop .value-bento-tile {
        border-radius: clamp(1rem, 2.2vh, 1.35rem);
    }

    #value-prop .value-bento-tile--publishers {
        min-height: 0;
        padding: clamp(0.55rem, 1.6vh, 0.75rem) clamp(0.6rem, 1.4vw, 0.85rem);
    }

    #value-prop .value-bento-tile--brands-wide {
        padding: clamp(0.55rem, 1.6vh, 0.75rem) clamp(0.6rem, 1.4vw, 0.85rem);
        gap: clamp(0.45rem, 1.4vh, 0.65rem);
        align-items: stretch;
    }

    #value-prop .value-bento-tile__title {
        font-size: clamp(0.88rem, 3vh, 1.15rem);
        margin-bottom: 0.22rem;
    }

    #value-prop .value-bento-tile__desc {
        font-size: clamp(0.62rem, 1.75vh, 0.75rem);
        line-height: 1.3;
        margin-bottom: 0.3rem;
    }

    #value-prop .value-bento-tile--publishers .value-card__list,
    #value-prop .value-bento-tile--brands-wide .value-card__list {
        margin-bottom: 0.3rem;
        gap: 0.2rem;
    }

    #value-prop .value-bento-tile--publishers .value-card__list li,
    #value-prop .value-bento-tile--brands-wide .value-card__list li {
        font-size: clamp(0.58rem, 1.65vh, 0.72rem);
        line-height: 1.28;
    }

    #value-prop .value-bento-tile .value-card__cta {
        padding: 0.3rem 0.6rem;
        font-size: 0.65rem;
        margin-bottom: 0.25rem;
        margin-top: 0;
    }

    #value-prop .value-bento-tile__icon {
        width: 2.25rem;
        height: 2.25rem;
        margin-bottom: 0.45rem;
        border-radius: 0.65rem;
    }

    #value-prop .value-bento-tile__icon .material-symbols-outlined {
        font-size: 1.35rem;
    }

    #value-prop .value-card__check {
        width: 0.95rem;
        height: 0.95rem;
        font-size: 0.44rem;
    }
}

