:root {
    --brand-violet: #7b06cc;
    --nav-logo-purple-hover-filter: brightness(0) saturate(100%) invert(21%) sepia(96%) saturate(6200%) hue-rotate(267deg) brightness(92%) contrast(118%);
    --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));

    --text-light: #1a1a1a;
    /* Muted body (aligns with Tailwind text-text-body) */
    --text-muted: #4b5563;

    /* Home index typography — single scale for section H2, card H3, leads */
    --type-home-section-h2-size: clamp(2.2rem, 5vw, 3.5rem);
    --type-home-section-h2-weight: 400;
    --type-home-section-h2-lh: 1.15;
    --type-home-section-h2-ls: -0.03em;
    --type-home-section-h2-color: var(--text-light);

    /* Pillar cards, formats panels, hero rotator slide titles */
    --type-home-card-h3-size: clamp(1.35rem, 2.5vw, 1.875rem);
    --type-home-card-h3-weight: 400;
    --type-home-card-h3-lh: 1.05;
    --type-home-card-h3-ls: -0.02em;
    --type-home-card-h3-color: var(--text-light);

    /* Subtitle / lead under section H2 */
    --type-home-section-lead-size: clamp(1rem, 1.5vw, 1.15rem);
    --type-home-section-lead-weight: 400;
    --type-home-section-lead-lh: 1.65;
    --type-home-section-lead-color: var(--text-muted);

    /* Hero rotator supporting copy */
    --type-home-hero-rot-body-size: clamp(0.9375rem, 1.85vw, 1rem);
    --type-home-hero-rot-body-weight: 300;
    --type-home-hero-rot-body-color: var(--text-muted);

    --accent-blue: var(--brand-violet);

    --font-main: "Lexend", system-ui, sans-serif;
    --font-heading: "Lexend", system-ui, sans-serif;
    /* One stack per level (all Lexend) */
    --font-h1: var(--font-heading);
    --font-h2: var(--font-heading);
    --font-h3: var(--font-heading);

    --scrollbar-size: 6px;
    --scrollbar-thumb: transparent;
    --scrollbar-thumb-hover: transparent;
    --scrollbar-track: transparent;

    /* Canvas behind #page-wrapper / .content-card — footer brand purple (cards stay white) */
    --page-bg-footer-purple: #1a171f;
    --page-bg-infinite: var(--page-bg-footer-purple);
    --page-loader-bg-light: radial-gradient(ellipse 85% 70% at 50% 42%, #fafbfc 0%, #eef0f3 100%);
    --page-loader-bg-dark: radial-gradient(ellipse 85% 70% at 50% 42%, #16122a 0%, #0b0814 100%);
    --page-bg-dark-fallback: #0b0814;
    --page-bg-dark-mid: #16122a;
    --page-bg-sheet-light: #ffffff;
    --page-bg-sheet-dark: var(--page-loader-bg-dark);

    --page-sheet-radius: clamp(1.35rem, 3vw, 3rem);

    --page-gutter-x: clamp(1.25rem, 5vw, 3.75rem);

    /* Space between main sections (flex gap on .content-card > main) */
    --section-stack-gap: clamp(1.5rem, 4vw, 3rem);

    /* Vertical padding inside standard sections */
    --section-block-pad-y: clamp(1.65rem, 3.25vw, 3rem);

    --section-title-content-gap: clamp(0.65rem, 1.35vw, 1.1rem);

    --selection-bg: rgb(78 22 172 / 0.88);
    --selection-color: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

html {
    background-color: var(--page-bg-infinite);
    /* Avoid 1px horizontal seam where fixed layers meet the viewport edge */
    overflow-x: hidden; /* clip breaks position:fixed in WebKit/Brave-Mac */
    scrollbar-color: transparent transparent;
}

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

body.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: var(--selection-bg);
    color: var(--selection-color);
}

::-moz-selection {
    background-color: var(--selection-bg);
    color: var(--selection-color);
}

.text-gradient::selection,
.text-gradient::-moz-selection {
    -webkit-text-fill-color: var(--selection-color);
    color: var(--selection-color);
}

html.dark {
    --selection-bg: rgb(88 32 185 / 0.9);
}

html.dark ::selection,
html.dark ::-moz-selection {
    background-color: var(--selection-bg);
    color: var(--selection-color);
}

html.dark .text-gradient::selection,
html.dark .text-gradient::-moz-selection {
    -webkit-text-fill-color: var(--selection-color);
    color: var(--selection-color);
}

#main-content {
    scroll-margin-top: 5.5rem;
}

/* Index home: headings that were Tailwind-only — use same tokens as BEM section titles */
#main-content .home-elevate__title,
#main-content .home-contact__title {
    font-family: var(--font-h2);
    font-size: var(--type-home-section-h2-size);
    font-weight: var(--type-home-section-h2-weight);
    line-height: var(--type-home-section-h2-lh);
    letter-spacing: var(--type-home-section-h2-ls);
    color: var(--type-home-section-h2-color);
}

#main-content .home-pillar-card__title {
    font-family: var(--font-h3);
    font-size: var(--type-home-card-h3-size);
    font-weight: var(--type-home-card-h3-weight);
    line-height: var(--type-home-card-h3-lh);
    letter-spacing: var(--type-home-card-h3-ls);
    color: var(--type-home-card-h3-color);
}

#main-content .home-hero-rot__body {
    font-size: var(--type-home-hero-rot-body-size);
    font-weight: var(--type-home-hero-rot-body-weight);
    line-height: 1.35;
    color: var(--type-home-hero-rot-body-color);
    margin: 0;
}

/* Section lead copy (*__sub): one size, weight, line-height — not bold */
#main-content p[class*="__sub "],
#main-content p[class$="__sub"] {
    font-family: var(--font-main);
    font-size: var(--type-home-section-lead-size);
    font-weight: var(--type-home-section-lead-weight);
    line-height: var(--type-home-section-lead-lh);
    color: var(--type-home-section-lead-color);
}

#main-content #value-prop > div > .text-center > p.text-lg.scroll-reveal {
    font-weight: 300;
}

#main-content p.formats-showcase__sub,
#main-content p.omni-platform__sub,
#main-content p.brands-platforms-section__sub,
#main-content #contact p.scroll-reveal.leading-relaxed {
    font-weight: 300;
}

.hero-split-prose {
    color: #4b5563;
    font-size: clamp(0.875rem, 1.25vw, 0.9375rem);
    line-height: 1.55;
}

.hero-split-prose p {
    margin-bottom: 0.8rem;
    font-size: inherit;
}

.hero-split-prose strong {
    font-weight: 600;
}

.hero-split-prose p:nth-last-child(2) {
    margin-bottom: 1.5rem;
}

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

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

.policy-prose p {
    line-height: 1.6;
    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;
}

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

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

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

.policy-page .policy-page__back {
    margin-top: 2.5rem;
    text-align: center;
}

.policy-page .policy-page__back a {
    color: var(--brand-violet);
    font-weight: 500;
    text-decoration: none;
}

.policy-page .policy-page__back a:hover {
    text-decoration: underline;
}

/* Inner pages (not index): lavender gradient + blobs on .hero (contact, legal, etc.) */
body:not([data-active-nav="home"]) #main-content > .hero {
    position: relative;
    overflow: hidden;
}

body:not([data-active-nav="home"]) #main-content > .hero .hero-bg-gradient,
body:not([data-active-nav="home"]) #main-content > .inner-skin-hero .hero-bg-gradient {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(165deg, #faf5ff 0%, #f8fafc 42%, #eef2ff 100%);
    pointer-events: none;
}

body:not([data-active-nav="home"]) #main-content > .inner-skin-hero {
    position: relative;
    height: clamp(5.5rem, 14vw, 9rem);
    overflow: hidden;
}

body:not([data-active-nav="home"]) #main-content > .inner-skin-hero + .blog-section {
    padding-top: clamp(1.5rem, 3.5vw, 2.25rem);
}

body:not([data-active-nav="home"]) #main-content > .hero > *:not(.hero-bg-gradient):not(.page-hero-blobs) {
    position: relative;
    z-index: 1;
}

/* Inner pages only (index uses data-active-nav="home"): centered hero + prose; forms stay left-aligned */
body:not([data-active-nav="home"]) #main-content .hero .container {
    text-align: center;
}

body:not([data-active-nav="home"]) #main-content h1.hero-title {
    text-align: center;
    margin-bottom: 1.25rem !important;
}

/* Inner-page hero intro: smaller than default body clamp */
body:not([data-active-nav="home"]) .hero-subline,
body:not([data-active-nav="home"]) .hero-split-prose {
    text-align: center;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    color: #4b5563;
    font-size: clamp(0.75rem, 1vw, 0.8125rem);
    line-height: 1.5;
}

body:not([data-active-nav="home"]) .hero-split-prose .hero-split-prose__cta {
    text-align: center;
}

/* Legal pages (cookies / privacy / terms): wide column, left-aligned body copy */
body:not([data-active-nav="home"]) .hero-split-prose.policy-prose {
    max-width: min(94vw, 58rem);
    text-align: left;
    font-size: clamp(0.875rem, 1.12vw, 0.9375rem);
    line-height: 1.55;
}

body:not([data-active-nav="home"]) .hero-split-prose.policy-prose p {
    margin-bottom: 0.7rem;
}

body:not([data-active-nav="home"]) .hero-split-prose .value-card__cta {
    font-size: 0.75rem;
}

/* Hero “Hablemos” pill (Nosotros, Soluciones, Creatividad) */
.hero-split-prose .hero-hablemos-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.15rem;
    padding: 0.95rem 2.35rem;
    min-width: min(14rem, 88vw);
    max-width: min(22rem, 94vw);
    font-size: clamp(0.9rem, 2.2vw, 1.0625rem);
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.25;
    text-align: center;
    color: var(--brand-white);
    background: var(--brand-violet);
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid transparent;
    box-shadow: 0 10px 28px -12px color-mix(in srgb, var(--brand-violet) 55%, transparent);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.hero-split-prose .hero-hablemos-cta:hover {
    color: var(--brand-white);
    opacity: 0.94;
    transform: translateY(-1px);
}

.hero-split-prose .hero-hablemos-cta:focus-visible {
    outline: 2px solid var(--brand-violet);
    outline-offset: 3px;
}

body:not([data-active-nav="home"]) .contact-cta-card .grid > div:first-child {
    text-align: center;
    align-items: center;
}

/* blog.html — Elfsight LinkedIn feed */
.blog-section {
    padding: clamp(5.25rem, 11vw, 6.75rem) var(--page-gutter-x) clamp(2.5rem, 6vw, 4rem);
}

/* Hero intro — typography matches solutions page heading (Outfit / Lexend, Tailwind 4xl·5xl scale) */
.blog-section__intro-block {
    width: 100%;
    overflow: hidden;
}

.blog-section__intro-inner {
    text-align: left;
}

.blog-section__hero-title {
    font-family: var(--font-h1);
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    margin: 0 auto 1.5rem;
    text-wrap: balance;
    color: #0f172a;
}

@media (min-width: 768px) {
    .blog-section__hero-title {
        font-size: 3rem;
        line-height: 1;
    }
}

html.dark .blog-section__hero-title {
    color: #f1f5f9;
}

/* Blog intro lede — same stack as about-us Hitos paragraph */
.blog-page .blog-section__intro-inner > p.text-lg.scroll-reveal {
    font-family: var(--font-main);
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 300;
    letter-spacing: 0;
    color: #6b7280;
}

html.dark .blog-page .blog-section__intro-inner > p.text-lg.scroll-reveal {
    color: #a1a1aa;
}

.blog-elfsight-mount {
    width: 100%;
    min-height: 20rem;
}

/* careers-band inner width (careers + contact, etc.) */
.careers-band__container {
    box-sizing: border-box;
    width: 100%;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--page-gutter-x);
    padding-right: var(--page-gutter-x);
}

/* Contact: same horizontal rhythm as solutions (max-w-7xl + px-6 / md:px-12 inside band) */
body[data-active-nav="contact"] #hero.careers-band .careers-band__container {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.careers-page .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.careers-band {
    padding: 6rem 0;
    background: rgba(248, 250, 252, 0.5);
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html.dark .careers-band {
    border-top-color: rgba(255, 255, 255, 0.08);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.careers-band__intro {
    text-align: left;
    margin-bottom: 4rem;
}

/* Careers hero H1 — omni-platform__title uses Hitos / contact scale (see shared rule below) */
#main-content.careers-page .careers-band .careers-band__intro h1#careers-hero-title.omni-platform__title {
    font-family: var(--font-h2);
    color: var(--type-home-section-h2-color);
}

body:not([data-active-nav="home"]) #main-content > .hero .page-hero-blobs,
body:not([data-active-nav="home"]) #main-content > .inner-skin-hero .page-hero-blobs {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

body:not([data-active-nav="home"]) #main-content > .hero .page-hero-blobs::before,
body:not([data-active-nav="home"]) #main-content > .hero .page-hero-blobs::after,
body:not([data-active-nav="home"]) #main-content > .inner-skin-hero .page-hero-blobs::before,
body:not([data-active-nav="home"]) #main-content > .inner-skin-hero .page-hero-blobs::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    opacity: 0.5;
}

body:not([data-active-nav="home"]) #main-content > .hero .page-hero-blobs::before,
body:not([data-active-nav="home"]) #main-content > .inner-skin-hero .page-hero-blobs::before {
    width: min(58vw, 26rem);
    height: min(58vw, 26rem);
    background: color-mix(in srgb, var(--brand-violet) 42%, #c4b5fd);
    top: -12%;
    right: -8%;
}

body:not([data-active-nav="home"]) #main-content > .hero .page-hero-blobs::after,
body:not([data-active-nav="home"]) #main-content > .inner-skin-hero .page-hero-blobs::after {
    width: min(48vw, 20rem);
    height: min(48vw, 20rem);
    background: color-mix(in srgb, #f472b6 35%, #e0e7ff);
    bottom: -5%;
    left: -12%;
}

.careers-band .careers-search {
    margin-top: 0;
}

.careers-search {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.65rem;
    margin-top: 0.75rem;
    padding: 0.55rem;
    max-width: 44rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 50px -28px rgba(15, 23, 42, 0.18);
}

.careers-search__field {
    flex: 1 1 11rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.65rem 0.45rem 0.85rem;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid transparent;
    min-height: 2.75rem;
}

.careers-search__icon {
    color: #94a3b8;
    font-size: 0.9rem;
}

.careers-search__input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    font-family: var(--font-main);
    font-size: 0.9rem;
    color: var(--text-light);
}

.careers-search__input::placeholder {
    color: #94a3b8;
}

.careers-search__input:disabled {
    cursor: not-allowed;
    opacity: 0.85;
}

.careers-search__submit {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    font-family: var(--font-main);
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: var(--text-light);
    text-decoration: none;
    border: 1px solid transparent;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.careers-search__submit:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

html.dark .careers-search {
    background: rgba(24, 24, 27, 0.75);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 50px -28px rgba(0, 0, 0, 0.45);
}

html.dark .careers-search__field {
    background: rgba(39, 39, 42, 0.8);
    border-color: rgba(255, 255, 255, 0.06);
}

html.dark .careers-search__icon {
    color: #a1a1aa;
}

html.dark .careers-search__input {
    color: #f4f4f5;
}

html.dark .careers-search__input::placeholder {
    color: #71717a;
}

.careers-board {
    padding: clamp(1.5rem, 4vw, 2.5rem) var(--page-gutter-x) clamp(2.5rem, 6vw, 4rem);
    background: #f1f5f9;
}

.careers-board__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: start;
}

@media (min-width: 1024px) {
    .careers-board__grid {
        grid-template-columns: minmax(0, 1fr) min(18rem, 32%);
        gap: 1.75rem;
    }
}

.careers-list__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #64748b;
}

.careers-list__count strong {
    color: var(--text-light);
    font-weight: 600;
}

.careers-list__sort {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8125rem;
    color: #64748b;
}

.careers-list__select {
    font-family: var(--font-main);
    font-size: 0.8125rem;
    padding: 0.35rem 0.65rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    color: var(--text-light);
}

.careers-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.15rem;
    padding: clamp(1rem, 2.5vw, 1.35rem);
    margin-bottom: 0.85rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.careers-card:last-child {
    margin-bottom: 0;
}

.careers-card__top {
    display: grid;
    grid-template-columns: auto 1fr auto auto auto;
    gap: 0.65rem 0.85rem;
    align-items: start;
}

@media (max-width: 960px) {
    .careers-card__top {
        grid-template-columns: auto 1fr;
    }

    .careers-card__badge,
    .careers-card__remote,
    .careers-card__applicants {
        grid-column: 2;
    }
}

.careers-card__logo {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--brand-violet) 12%, #fff);
    color: var(--brand-violet);
    font-size: 1.1rem;
}

.careers-card__title {
    font-family: var(--font-h3);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--text-light);
}

.careers-card__company {
    margin: 0.15rem 0 0;
    font-size: 0.8125rem;
    color: #64748b;
}

.careers-card__badge {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--brand-violet);
    white-space: nowrap;
    align-self: center;
}

.careers-card__badge i {
    margin-right: 0.2rem;
}

.careers-card__remote {
    font-size: 0.75rem;
    color: #64748b;
    white-space: nowrap;
    align-self: center;
}

.careers-card__applicants {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--brand-violet) 10%, #fff);
    color: var(--brand-violet);
    justify-self: end;
    align-self: center;
}

.careers-card__desc {
    margin: 0.85rem 0 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #64748b;
}

.careers-card__tags {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.careers-card__tags li {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
}

.careers-card__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.careers-card__rate,
.careers-card__proposals {
    font-size: 0.78rem;
    color: #64748b;
}

.careers-card__rate i {
    margin-right: 0.25rem;
}

.careers-card__cta {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
    background: var(--text-light);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.careers-card__cta:hover {
    opacity: 0.9;
}

.careers-filters {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.15rem;
    padding: 1.1rem 1.15rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

@media (min-width: 1024px) {
    .careers-filters {
        position: sticky;
        top: calc(5.5rem + 0.75rem);
    }
}

.careers-filters__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.careers-filters__title {
    font-family: var(--font-h2);
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-light);
}

.careers-filters__reset {
    font-family: var(--font-main);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--brand-violet);
    background: none;
    border: 0;
    padding: 0;
    cursor: not-allowed;
    opacity: 0.5;
}

.careers-filters__group {
    margin-bottom: 1rem;
}

.careers-filters__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 0.35rem;
}

.careers-filters__select {
    width: 100%;
    font-family: var(--font-main);
    font-size: 0.875rem;
    padding: 0.45rem 0.6rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #f8fafc;
    color: #64748b;
}

.careers-filters__fieldset {
    border: 0;
    margin: 0 0 1rem;
    padding: 0;
}

.careers-filters__legend {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 0.5rem;
    padding: 0;
}

.careers-filters__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-bottom: 0.4rem;
    cursor: not-allowed;
}

.careers-filters__row input {
    margin-right: 0.35rem;
}

.careers-filters__num {
    font-size: 0.75rem;
    color: #94a3b8;
}

.careers-filters__note {
    font-size: 0.72rem;
    line-height: 1.45;
    color: #94a3b8;
    margin: 0 0 1rem;
}

.careers-filters__cv {
    display: block;
    text-align: center;
    padding: 0.55rem 0.75rem;
    border-radius: 0.65rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
    background: var(--brand-violet);
    text-decoration: none;
}

.careers-filters__cv:hover {
    opacity: 0.94;
}

.careers-disclaimer {
    margin: 0 auto;
    padding: clamp(1.25rem, 3vw, 2rem) var(--page-gutter-x) clamp(2rem, 5vw, 3.5rem);
    max-width: 48rem;
}

.careers-disclaimer__text {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #64748b;
}

.careers-disclaimer__text a {
    color: var(--brand-violet);
    font-weight: 600;
}

@media (max-width: 768px) {
    .careers-search {
        border-radius: 1.25rem;
        flex-direction: column;
    }

    .careers-search__submit {
        width: 100%;
        border-radius: 0.85rem;
    }

    .careers-card__cta {
        margin-left: 0;
        width: 100%;
    }
}

h1 {
    font-family: var(--font-h1);
}

h2 {
    font-family: var(--font-h2);
    font-size: 48px;
}

h3 {
    font-family: var(--font-h3);
    font-size: 28px;
    font-weight: 400;
}

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

/* Beat Tailwind .font-headline on headings inside main (index + inner pages) */
#main-content h1 {
    font-family: var(--font-h1);
}

#main-content h2 {
    font-family: var(--font-h2);
    font-size: var(--type-home-section-h2-size);
    font-weight: var(--type-home-section-h2-weight);
    line-height: var(--type-home-section-h2-lh);
    letter-spacing: var(--type-home-section-h2-ls);
    color: var(--type-home-section-h2-color);
}

#main-content h1.hero-title {
    font-family: var(--font-h2);
    font-size: var(--type-home-section-h2-size);
    font-weight: var(--type-home-section-h2-weight);
    line-height: var(--type-home-section-h2-lh);
    letter-spacing: var(--type-home-section-h2-ls);
    color: var(--type-home-section-h2-color);
    text-wrap: balance;
}

#hero.page-section--hero .hero-copy h1.hero-title.hero-title--stack {
    font-size: unset;
    text-wrap: wrap;
}

#hero.page-section--hero .hero-copy h1.hero-title .hero-title__brand {
    font-size: clamp(2.85rem, 7.35vw, 4.65rem);
    font-weight: 600;
    letter-spacing: var(--type-home-section-h2-ls);
    line-height: 1.05;
    color: inherit;
}

/* Hero — “Media & Creativity”: violet → indigo */
#hero.page-section--hero .hero-copy h1.hero-title .text-gradient {
    background: linear-gradient(to right, #7b06cd, #3630a7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent !important;
    font-size: clamp(2.55rem, 5.75vw, 4.05rem);
    line-height: 1.08;
}

#main-content h3 {
    font-family: var(--font-h3);
    font-weight: 400 !important;
}

p {
    font-size: 24px;
}

*::-webkit-scrollbar {
    width: var(--scrollbar-size);
    height: var(--scrollbar-size);
}

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

*::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
    background: transparent;
}

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

#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;
}

#page-wrapper:has(#hypeads-global-inventory-map) {
    overflow: visible;
}

.content-card,
.page-wrapper {
    position: relative;
    z-index: 1;
    background: #ffffff;
    min-height: 100vh;
    /* Match #page-wrapper: home uses .content-card; overflow:visible on wrapper would skip clipping */
    border-bottom-left-radius: var(--page-sheet-radius);
    border-bottom-right-radius: var(--page-sheet-radius);
}

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

.content-card>main>section:not(#hero) {
    padding-left: var(--page-gutter-x);
    padding-right: var(--page-gutter-x);
}

/* content-visibility: auto removed — Safari scroll repaint / flicker */
.home-global-map,
#brands-capabilities,
#hypeads-global-inventory-map,
#omni-differentials {
    content-visibility: visible;
}

body:has(#hero.page-section--hero) .content-card>main {
    display: flex;
    flex-direction: column;
    gap: 0;
}

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) #global-inventory {
    order: 4;
}

body:has(#hero.page-section--hero) #reach {
    order: 6;
}

body:has(#hero.page-section--hero) #formats-showcase {
    order: 8;
}

body:has(#hero.page-section--hero) #contact {
    order: 9;
}

.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-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;
}

/* scroll-reveal removed — all sections render immediately */

.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;
}

section {
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.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: 106;
    pointer-events: none;

}

.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: 3.25rem;
    left: var(--page-gutter-x);
    z-index: 110;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

/* Top hover zone — reveals full-width nav bar (designUUUU pattern) */
.navbar-reveal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2rem;
    z-index: 105;
    pointer-events: auto;
}

.navbar-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.1875rem var(--page-gutter-x);
    background: color-mix(in srgb, #fff 94%, transparent);
    border: none;
    box-shadow: 0 8px 32px -8px rgba(15, 23, 42, 0.08);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition:
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-reveal:hover .navbar-bar,
.navbar-reveal:focus-within .navbar-bar,
.navbar-bar:hover,
.navbar-bar:focus-within,
.navbar-reveal.navbar-reveal--open .navbar-bar {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

@media (hover: none), (pointer: coarse) {
    .navbar-reveal {
        height: auto;
    }

    .navbar-bar {
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .navbar-bar {
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    pointer-events: auto;
    overflow: visible;
}

.logo a,
a.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    line-height: 0;
    transition: opacity 0.3s ease;
}

.logo__stack {
    --nav-logo-crop-width: 7rem;
    --nav-logo-crop-top: 0.34;
    --nav-logo-crop-visible: 0.26;
    position: relative;
    display: block;
    overflow: hidden;
    width: var(--nav-logo-crop-width);
    height: calc(var(--nav-logo-crop-width) * var(--nav-logo-crop-visible));
    line-height: 0;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.logo .logo-img,
.logo img {
    display: block;
    width: var(--nav-logo-crop-width);
    height: var(--nav-logo-crop-width);
    max-width: none;
    max-height: none;
    margin-top: calc(var(--nav-logo-crop-width) * var(--nav-logo-crop-top) * -1);
    object-fit: contain;
    object-position: left top;
}

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

.logo-img--hover {
    display: none !important;
}

/* Nav logo: same scroll blend tokens as .social-totem (--social-totem-capabilities 0 = rest, 1 = cap white) */
.navbar > a.logo {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-10px, 0);
}

.navbar > a.logo .logo__stack {
    --social-totem-capabilities: 0;
    --social-totem-color-rest: #1a1a1a;
    --social-totem-color-cap: #ffffff;
    --social-totem-hover-rest: #7b06cc;
    --social-totem-hover-cap: #ffffff;
    --nav-logo-crop-width: clamp(4.5rem, 6.5vw, 5.75rem);
    --nav-logo-crop-top: 0.326;
    --nav-logo-crop-visible: 0.279;
    position: relative;
    overflow: hidden;
    width: var(--nav-logo-crop-width);
    height: calc(var(--nav-logo-crop-width) * var(--nav-logo-crop-visible));
}

.navbar > a.logo .logo-img {
    display: block;
    width: var(--nav-logo-crop-width);
    height: var(--nav-logo-crop-width);
    max-width: none;
    max-height: none;
    margin-top: calc(var(--nav-logo-crop-width) * var(--nav-logo-crop-top) * -1);
    object-fit: contain;
    object-position: left top;
}

.navbar > a.logo .logo-img--dark {
    position: relative;
    z-index: 1;
    opacity: calc(1 - var(--social-totem-capabilities, 0));
    filter: brightness(0);
}

.navbar > a.logo .logo-img--dark-hover {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    filter: var(--nav-logo-purple-hover-filter);
}

.navbar > a.logo:hover .logo-img--dark {
    opacity: 0;
}

.navbar > a.logo:hover .logo-img--dark-hover {
    opacity: calc(1 - var(--social-totem-capabilities, 0));
}

.navbar > a.logo .logo-img--light {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    opacity: var(--social-totem-capabilities, 0);
    filter: brightness(0) invert(1);
    pointer-events: none;
}

.navbar.nav-moved .logo {
    left: var(--page-gutter-x);
}

body[data-active-nav="home"] .navbar:not(.nav-moved) > a.logo {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.desktop-nav a {
    font-family: var(--font-heading);
    color: rgb(71 85 105);
    text-decoration: none;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.15;
    padding: 0.3125rem 0;
    position: relative;
    display: inline-block;
    white-space: nowrap;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    isolation: auto;
    overflow: visible;
    z-index: 1;
    pointer-events: auto;
    cursor: pointer;
    transition:
        color 0.25s ease,
        transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    background: linear-gradient(to right, #7b06cd, #3630a7);
    pointer-events: none;
    transition: width 0.3s ease;
}

.desktop-nav a::before {
    content: none;
    display: none;
}

.desktop-nav a:hover {
    color: rgb(15 23 42);
    transform: scale(1.08) translateY(-1px);
    border-color: transparent;
    box-shadow: none;
}

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

.desktop-nav a:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--brand-violet) 55%, transparent);
    outline-offset: 3px;
}

.desktop-nav a.active {
    color: rgb(15 23 42);
    font-weight: 600;
    border-color: transparent;
    box-shadow: none;
}

.desktop-nav a.active::after {
    width: 100%;
}

@media (prefers-reduced-motion: reduce) {
    .desktop-nav a {
        transition: color 0.25s ease;
    }

    .desktop-nav a:hover {
        transform: none;
    }
}

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

@property --social-totem-capabilities {
    syntax: '<number>';
    inherits: true;
    initial-value: 0;
}

.social-totem {
    --social-totem-capabilities: 0;
    --social-totem-color-rest: #1a1a1a;
    --social-totem-color-cap: #ffffff;
    --social-totem-hover-rest: #7b06cc;
    --social-totem-hover-cap: #ffffff;
    --social-totem-gap: 0.75rem;
    --social-totem-icon-size: 0.8125rem;
    --social-totem-hit: 1.625rem;
    --social-totem-line-height: 48px;
    position: fixed;
    bottom: 0;
    left: 2rem;
    right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--social-totem-gap);
    z-index: 100;
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.social-totem a,
.social-totem .theme-toggle--totem,
.social-totem .lang-switcher__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--social-totem-hit);
    height: var(--social-totem-hit);
    padding: 0;
    text-decoration: none;
    border: none;
    box-shadow: none;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
}

.totem-blend {
    display: inline-grid;
    place-items: center;
    line-height: 1;
}

.totem-blend__layer {
    grid-area: 1 / 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.totem-blend__layer--rest {
    color: var(--social-totem-color-rest);
    opacity: calc(1 - var(--social-totem-capabilities, 0));
    pointer-events: none;
}

.totem-blend__layer--cap {
    color: var(--social-totem-color-cap);
    opacity: var(--social-totem-capabilities, 0);
    pointer-events: none;
}

.social-totem a:hover .totem-blend__layer--rest,
.social-totem .theme-toggle--totem:hover .totem-blend__layer--rest,
.social-totem .lang-switcher__btn:hover .totem-blend__layer--rest {
    color: var(--social-totem-hover-rest);
}

.social-totem a:hover .totem-blend__layer--cap,
.social-totem .theme-toggle--totem:hover .totem-blend__layer--cap,
.social-totem .lang-switcher__btn:hover .totem-blend__layer--cap {
    color: var(--social-totem-hover-cap);
}

.social-totem .totem-blend i,
.social-totem i,
.social-totem .theme-toggle__i {
    font-size: var(--social-totem-icon-size);
    line-height: 1;
    border: none;
    box-shadow: none;
    -webkit-text-stroke: 0;
}

.social-totem .lang-switcher__code {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1;
    color: inherit;
}

.social-totem a:focus-visible,
.social-totem .theme-toggle--totem:focus-visible,
.social-totem .lang-switcher__btn:focus-visible {
    outline: none;
}

body.contact-chrome-hidden .circular-badge--fixed-index {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Contact hero H1 — legacy; omni-platform__title uses Hitos-scale stack below */
body[data-active-nav="contact"] #main-content .careers-band h1:not(.omni-platform__title) {
    font-family: var(--font-h2);
    font-size: var(--type-home-section-h2-size);
    font-weight: 600;
    line-height: var(--type-home-section-h2-lh);
    letter-spacing: var(--type-home-section-h2-ls);
    color: var(--type-home-section-h2-color);
}

body[data-active-nav="contact"] #main-content .careers-band h1.omni-platform__title {
    font-family: var(--font-h2);
    color: var(--type-home-section-h2-color);
}

/* Contact form card: Lexend stack + site type scale (overrides global p { 24px }) */
#main-content.contact-page .careers-band .contact-form-panel,
#main-content.contact-page .careers-band .contact-form-panel input,
#main-content.contact-page .careers-band .contact-form-panel select,
#main-content.contact-page .careers-band .contact-form-panel textarea,
#main-content.contact-page .careers-band .contact-form-panel button,
#main-content.contact-page .careers-band .contact-form-panel label {
    font-family: var(--font-main);
}

#main-content.contact-page .careers-band .contact-form-panel label {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.01em;
    color: #0f172a;
}

html.dark #main-content.contact-page .careers-band .contact-form-panel label {
    color: #f1f5f9;
}

#main-content.contact-page .careers-band .contact-inquiry-form input,
#main-content.contact-page .careers-band .contact-inquiry-form select,
#main-content.contact-page .careers-band .contact-inquiry-form textarea {
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.625;
}

#main-content.contact-page .careers-band .contact-inquiry-form > p {
    font-size: 0.75rem;
    font-weight: 300;
    line-height: 1.625;
    color: #6b7280;
}

html.dark #main-content.contact-page .careers-band .contact-inquiry-form > p {
    color: #a1a1aa;
}

#main-content.contact-page .careers-band .contact-thank-you p {
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.625;
    color: #6b7280;
}

#main-content.contact-page .careers-band .contact-thank-you p:first-child {
    font-weight: 600;
    color: #0f172a;
}

html.dark #main-content.contact-page .careers-band .contact-thank-you p:first-child {
    color: #f1f5f9;
}

#main-content.contact-page .careers-band .contact-form-panel .text-gradient,
#main-content.contact-page .careers-band .contact-thank-you .text-gradient {
    background: linear-gradient(to right, #7b06cd, #3630a7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent !important;
}

#main-content.contact-page .careers-band .contact-form-submit {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--brand-white);
    background: linear-gradient(135deg, var(--brand-violet) 0%, #3630a7 100%);
    border: none;
    box-shadow: 0 6px 18px -4px color-mix(in srgb, var(--brand-violet) 55%, transparent);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

#main-content.contact-page .careers-band .contact-form-submit:hover {
    color: var(--brand-white);
    background: linear-gradient(135deg, #8a1ad4 0%, #4340b5 100%);
    box-shadow: 0 10px 24px -6px color-mix(in srgb, var(--brand-violet) 50%, transparent);
}

#main-content.contact-page .careers-band .contact-form-submit:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--brand-violet) 55%, transparent);
    outline-offset: 2px;
}

#main-content.contact-page .careers-band .text-left > p.text-lg.scroll-reveal {
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.75rem;
    color: #6b7280;
}

html.dark #main-content.contact-page .careers-band .text-left > p.text-lg.scroll-reveal {
    color: #a1a1aa;
}

#main-content.careers-page .careers-band__intro > p.text-lg.scroll-reveal {
    font-family: var(--font-main);
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.75rem;
    color: #6b7280;
}

html.dark #main-content.careers-page .careers-band__intro > p.text-lg.scroll-reveal {
    color: #a1a1aa;
}

/* Contact: hidden target iframe for Google Forms POST (no full-page navigation) */
.gf-hidden-iframe {
    position: absolute;
    width: 0;
    height: 0;
    border: 0;
    clip: rect(0, 0, 0, 0);
    overflow: hidden;
    visibility: hidden;
}

.social-totem .totem-line {
    position: relative;
    width: 1px;
    height: var(--social-totem-line-height);
}

.social-totem .totem-line::before,
.social-totem .totem-line::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
}

.social-totem .totem-line::before {
    opacity: calc(1 - var(--social-totem-capabilities, 0));
    background: linear-gradient(
        to bottom,
        color-mix(in srgb, var(--social-totem-color-rest) 55%, transparent),
        color-mix(in srgb, var(--social-totem-color-rest) 28%, transparent),
        transparent
    );
}

.social-totem .totem-line::after {
    opacity: var(--social-totem-capabilities, 0);
    background: linear-gradient(
        to bottom,
        color-mix(in srgb, var(--social-totem-color-cap) 55%, transparent),
        color-mix(in srgb, var(--social-totem-color-cap) 28%, transparent),
        transparent
    );
}

/* e.g. 1280×800: pull social rail in (half of default 3rem left inset) */
@media screen and (max-width: 1280px) and (max-height: 800px),
screen and (max-height: 720px) and (min-width: 900px) {
    .social-totem {
        left: 1rem;
        --social-totem-gap: 0.625rem;
        --social-totem-line-height: 40px;
    }
}

body[data-active-nav="home"] .hero.page-section--hero {
    background-color: transparent;
}

.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;
}

@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);
    }
}

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-copy {
    margin: 0;
    max-width: 100%;
    transform: none;
    position: relative;
    top: -10px;
    z-index: 3;
    padding-left: clamp(1.5rem, 6vw, 10rem);
    padding-right: clamp(1rem, 2vw, 2rem);
    border: none;
    outline: none;
    background: transparent;
    box-shadow: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 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: inherit;
}

/* Design mock: violet → fuchsia (Outfit mock .text-gradient) */
.text-gradient {
    background: linear-gradient(to right, #8b5cf6, #d946ef);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent !important;
    font-weight: inherit;
}

.hero-copy-rot {
    gap: 0.5rem;
}

.hero-rotator {
    position: relative;
    min-height: clamp(3.25rem, 8.5vw, 4.25rem);
}

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

    #logo-grid.brands-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: repeat(2, auto);
    }

    .logo-cell {
        border-right: 1px solid rgba(168, 168, 168, 0.55);
    }

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

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

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

    .contact-section.page-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .contact-section .contact-cta-card,
    #main-content #contact .contact-cta-card {
        padding: 2rem;
    }

    #main-content #contact.contact-section .contact-cta-card h2.home-contact__title {
        font-size: clamp(1.75rem, 3vw, 2.25rem);
    }

    #main-content #contact .contact-cta-card h2.font-headline {
        font-size: clamp(1.75rem, 3vw, 2.25rem);
    }

    .site-footer__bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.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.35;
    margin: 0;
    color: #4b5563;
    font-weight: var(--type-home-hero-rot-body-weight);
}

.hero-rot-backdrop {
    overflow: hidden;
    pointer-events: none;
    isolation: isolate;
}

.hero-media-stage {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden; /* replaces contain: layout paint — safe in WebKit */
}

/* Soft left scrim for legibility — no hard panel edge (old bordered box look) */
.hero-media-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        100deg,
        rgba(255, 255, 255, 0.42) 0%,
        rgba(255, 255, 255, 0.18) 28%,
        rgba(255, 255, 255, 0.06) 42%,
        transparent 58%
    );
}

/* Index hero — mobile only: calmer gallery, stronger scrim, richer title gradient, 3-line title (see index <br class="md:hidden">) */
@media (max-width: 767px) {
    body[data-active-nav="home"] #hero.page-section--hero .hero-media-stage::before {
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.35) 0%,
            rgba(255, 255, 255, 0.12) 42%,
            transparent 68%
        ),
        linear-gradient(
            100deg,
            rgba(255, 255, 255, 0.5) 0%,
            rgba(255, 255, 255, 0.22) 30%,
            rgba(255, 255, 255, 0.06) 46%,
            transparent 62%
        );
    }

    body[data-active-nav="home"] #hero.page-section--hero .hero-gallery-viewport {
        width: 123%;
        height: 123%;
        transform: translate3d(
            calc(-50% + var(--hero-gallery-shift-x)),
            -50%,
            0
        ) rotate(4deg);
        opacity: 0.58;
    }

    body[data-active-nav="home"] #hero.page-section--hero .hero-gallery-track--0 .track-inner {
        animation-duration: 312s;
    }

    body[data-active-nav="home"] #hero.page-section--hero .hero-gallery-track--1 .track-inner {
        animation-duration: 390s;
    }

    body[data-active-nav="home"] #hero.page-section--hero .hero-gallery-track--2 .track-inner {
        animation-duration: 350s;
    }

    body[data-active-nav="home"] #hero.page-section--hero .hero-gallery-track--3 .track-inner {
        animation-duration: 376s;
    }

    body[data-active-nav="home"] #hero.page-section--hero .hero-gallery-track--4 .track-inner {
        animation-duration: 336s;
    }

    body[data-active-nav="home"] #hero.page-section--hero .hero-gallery-track--5 .track-inner {
        animation-duration: 364s;
    }

    body[data-active-nav="home"] #hero.page-section--hero .hero-title {
        text-wrap: wrap;
        line-height: var(--type-home-section-h2-lh);
        filter: none;
    }

    body[data-active-nav="home"] #hero.page-section--hero .hero-title .text-gradient {
        font-weight: var(--type-home-section-h2-weight);
    }
}

.hero-gallery-viewport {
    --hero-gallery-gap: 14px;
    --hero-gallery-track-width: 200px;
    --hero-gallery-shift-cols: 2;
    --hero-gallery-shift-x: calc(
        var(--hero-gallery-shift-cols) *
            (var(--hero-gallery-track-width) + var(--hero-gallery-gap))
    );
    --scroll-speed: 100s;
    --play-state: running;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 162%;
    height: 162%;
    overflow: hidden;
    transform: translate3d(
        calc(-51.5% + var(--hero-gallery-shift-x)),
        -54%,
        0
    ) rotate(12deg);
    transform-origin: center center;
    mask-image: linear-gradient(to bottom, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 8%, black 92%, transparent);
    pointer-events: none;
}

.hero-gallery-viewport .grid-container {
    display: flex;
    gap: var(--hero-gallery-gap);
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0 8px;
}

.hero-gallery-viewport .grid-track {
    flex: 1 1 0;
    max-width: var(--hero-gallery-track-width);
    min-width: 0;
    overflow: hidden;
}

.hero-gallery-viewport .track-inner {
    display: flex;
    flex-direction: column;
    gap: var(--hero-gallery-gap);
    background: transparent;
    animation: hero-gallery-scroll-y var(--scroll-speed) linear infinite;
    animation-play-state: var(--play-state);
    will-change: transform;
}

#hero.hero-gallery--offscreen .hero-gallery-viewport .track-inner,
.hero-gallery-viewport.hero-gallery--paused .track-inner {
    animation-play-state: paused !important;
}

/* WebKit (Safari / Mac): same layout as Chrome — promote layers, drop constant will-change (scroll jank) */
html.hero-wk-perf #hero.page-section--hero .hero-media-stage {
    transform: translateZ(0);
    contain: paint;
}

html.hero-wk-perf .hero-gallery-viewport {
    transform: translate3d(
            calc(-51.5% + var(--hero-gallery-shift-x)),
            -54%,
            0
        )
        rotate(12deg) translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

html.hero-wk-perf .hero-gallery-viewport .track-inner {
    will-change: auto;
}

/* Safari: stop hero "vertical marquee" movement, keep tilt/visuals. */
html.hero-safari-static .hero-gallery-viewport .track-inner {
    animation: none !important;
    will-change: auto;
    transform: translate3d(0, 0, 0) !important;
}

@media (max-width: 767px) {
    html.hero-wk-perf body[data-active-nav="home"] #hero.page-section--hero .hero-gallery-viewport {
        transform: translate3d(
                calc(-50% + var(--hero-gallery-shift-x)),
                -50%,
                0
            )
            rotate(4deg) translateZ(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-gallery-viewport .track-inner {
        animation: none !important;
    }
}

.hero-gallery-viewport .hero-gallery-track:nth-child(even) .track-inner {
    animation-direction: reverse;
}

@keyframes hero-gallery-scroll-y {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(0, calc(-50% - 0.5 * var(--hero-gallery-gap)), 0);
    }
}

.hero-gallery-viewport .media-card {
    position: relative;
    flex-shrink: 0;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    background: #11081a;
    border: none;
    box-shadow: none;
    opacity: 1;
    pointer-events: none;
    cursor: default;
}

.hero-gallery-viewport .hero-gallery-track--0 .media-card:nth-child(even) {
    height: 180px;
}

.hero-gallery-viewport .hero-gallery-track--0 .media-card:nth-child(odd) {
    height: 250px;
}

.hero-gallery-viewport .hero-gallery-track--1 .media-card:nth-child(even) {
    height: 260px;
}

.hero-gallery-viewport .hero-gallery-track--1 .media-card:nth-child(odd) {
    height: 200px;
}

.hero-gallery-viewport .hero-gallery-track--2 .media-card:nth-child(even) {
    height: 210px;
}

.hero-gallery-viewport .hero-gallery-track--2 .media-card:nth-child(odd) {
    height: 235px;
}

.hero-gallery-viewport .hero-gallery-track--3 .media-card:nth-child(even) {
    height: 195px;
}

.hero-gallery-viewport .hero-gallery-track--3 .media-card:nth-child(odd) {
    height: 245px;
}

.hero-gallery-viewport .hero-gallery-track--4 .media-card:nth-child(even) {
    height: 240px;
}

.hero-gallery-viewport .hero-gallery-track--4 .media-card:nth-child(odd) {
    height: 190px;
}

.hero-gallery-viewport .hero-gallery-track--5 .media-card:nth-child(even) {
    height: 225px;
}

.hero-gallery-viewport .hero-gallery-track--5 .media-card:nth-child(odd) {
    height: 200px;
}

.hero-gallery-viewport .hero-gallery-track--0 .media-card.media-card--text,
.hero-gallery-viewport .hero-gallery-track--1 .media-card.media-card--text,
.hero-gallery-viewport .hero-gallery-track--2 .media-card.media-card--text,
.hero-gallery-viewport .hero-gallery-track--3 .media-card.media-card--text,
.hero-gallery-viewport .hero-gallery-track--4 .media-card.media-card--text,
.hero-gallery-viewport .hero-gallery-track--5 .media-card.media-card--text {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
}

.hero-gallery-viewport .hero-gallery-track--0 .media-card.media-card--mp4,
.hero-gallery-viewport .hero-gallery-track--1 .media-card.media-card--mp4,
.hero-gallery-viewport .hero-gallery-track--2 .media-card.media-card--mp4,
.hero-gallery-viewport .hero-gallery-track--3 .media-card.media-card--mp4,
.hero-gallery-viewport .hero-gallery-track--4 .media-card.media-card--mp4,
.hero-gallery-viewport .hero-gallery-track--5 .media-card.media-card--mp4 {
    width: 100%;
    height: auto;
}

.hero-gallery-viewport .card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.72) contrast(1.02) saturate(1.08);
    pointer-events: none;
}

.hero-gallery-viewport .card-image.card-image--mp4 {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    pointer-events: none;
    filter: brightness(0.72) contrast(1.02) saturate(1.08);
}

.hero-gallery-viewport .card-text-bg {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    background: radial-gradient(circle at center, #350a5e 0%, #11081a 100%);
}

.hero-gallery-viewport .card-text-bg .logo-text {
    color: #9d00ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.card-text-bg .main-title {
    font-family: var(--font-h2);
    font-weight: var(--type-home-section-h2-weight);
    letter-spacing: var(--type-home-section-h2-ls);
}

.hero-gallery-viewport .card-text-bg .main-title {
    font-size: 17px;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 6px;
}

.hero-gallery-viewport .card-text-bg .sub-title {
    font-size: 12px;
    color: #d1c4e9;
    font-weight: 500;
}

.hero-gallery-viewport .card-overlay,
.hero-gallery-viewport .card-indicator {
    display: none;
}

html.dark .hero-gallery-viewport .media-card {
    border: none;
    box-shadow: none;
}

body.page-is-loading {
    overflow: hidden;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 200000;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    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__inner--logo {
    gap: 0;
}

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

.page-loader .logo__stack {
    overflow: visible;
    height: auto;
}

.page-loader .logo__stack .logo-img,
.page-loader .logo__stack img {
    display: block;
    width: clamp(7.5rem, 32vw, 11rem);
    height: auto;
}

@media (prefers-reduced-motion: reduce) {
}

.hero-cta {
    --hero-cta-gradient: linear-gradient(to right, #7b06cd, #3630a7);
    position: relative;
    top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    align-self: flex-start;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.01em;
    background: var(--hero-cta-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    text-decoration: none;
    transition: filter 0.2s ease;
}

.hero-cta:hover,
.hero-cta:focus-visible {
    filter: brightness(1.12);
}

.hero-cta:focus-visible {
    outline: 2px solid #7b06cd;
    outline-offset: 4px;
}

.hero-cta__line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--hero-cta-gradient);
    transition: transform 0.3s ease-out;
    pointer-events: none;
}

.hero-cta:hover .hero-cta__line,
.hero-cta:focus-visible .hero-cta__line {
    transform: scaleX(1);
}

.hero-cta .material-symbols-outlined,
.hero-cta__icon {
    font-size: 1.25rem;
    line-height: 1;
    background: var(--hero-cta-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    transition: transform 0.3s ease;
}

.hero-cta:hover .material-symbols-outlined,
.hero-cta:hover .hero-cta__icon {
    transform: translateX(0.25rem);
}

html.dark .hero-cta {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: #fff;
    color: #fff;
}

html.dark .hero-cta:hover,
html.dark .hero-cta:focus-visible {
    color: #fff;
    -webkit-text-fill-color: #fff;
    filter: opacity(0.88);
}

html.dark .hero-cta:focus-visible {
    outline-color: rgba(255, 255, 255, 0.65);
}

html.dark .hero-cta__line {
    background: #fff;
}

html.dark .hero-cta .material-symbols-outlined,
html.dark .hero-cta__icon {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: #fff;
    color: #fff;
}

.circular-badge {
    position: absolute;
    right: 4rem;
    bottom: 4rem;
    width: 140px;
    height: 140px;
    z-index: 10;
    transition: transform 0.3s ease-out;

}

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

.circular-badge.circular-badge--fixed-index {
    /* Disabled — remove the next line to show the fixed rotating badge again */
    display: none !important;
    position: fixed;
    top: auto;
    left: auto;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 72px;
    height: 72px;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: all 0.5s ease;
}

.circular-badge.circular-badge--fixed-index text {
    font-size: 8.5px;
}

.circular-badge.circular-badge--fixed-index .star-center {
    font-size: 1.35rem;
}

.circular-badge--fixed-index {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.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);
    }
}

section.services-overlay--pillars,
#whatwedo.services-overlay--pillars {
    height: auto;
    min-height: 100vh;
    max-height: none;
    overflow: visible;
    justify-content: center;
}

#whatwedo.whatwedo-omnichannel {
    background: transparent;
    border-top: none;
}

#whatwedo.whatwedo-omnichannel .container.whatwedo {
    max-width: none;
}

/* “Nuestros diferenciales” — rhythm band (left-aligned grid; no full-viewport centering) */
#whatwedo.brxe-section--elevate {
    min-height: 0;
    box-sizing: border-box;
    display: block;
}

#whatwedo .whatwedo-pillars {
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    #whatwedo .whatwedo-pillars {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}
/* Esta sección: sin gutter izquierdo del sheet ni padding simétrico del inner */
.content-card > main > #whatwedo {
    padding-left: 0;
}

/* Pillar cards — violet gradient halo on hover (design333 .glow-border) */
#whatwedo.brxe-section--elevate .glow-border {
    position: relative;
    z-index: 0;
}

#whatwedo.brxe-section--elevate .glow-border::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        rgba(217, 70, 239, 0.3),
        rgba(139, 92, 246, 0.3)
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

#whatwedo.brxe-section--elevate .glow-border:hover::before {
    opacity: 1;
}

html.dark #whatwedo.brxe-section--elevate .glow-border::before {
    background: linear-gradient(
        135deg,
        rgba(217, 70, 239, 0.42),
        rgba(139, 92, 246, 0.42)
    );
}

/* Propuesta de valor — same vertical band / spacing rhythm as #whatwedo */
#value-prop {
    min-height: 100vh;
    min-height: 100svh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#value-prop > div:first-child {
    flex-shrink: 0;
    width: 100%;
}

/* Qué hacemos — full viewport band + padding rhythm like #formats-showcase / #value-prop */
#omni-differentials {
    --omni-section-pad-boost: 1.1;
    min-height: calc(100vh * var(--omni-section-pad-boost));
    min-height: calc(100svh * var(--omni-section-pad-boost));
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent !important;
}

html.dark #omni-differentials.omni-platform {
    background: transparent !important;
}

/* Match py-14 md:py-20, px-6 md:px-12 lg:px-24 — +10% bottom breathing room */
#omni-differentials.omni-platform {
    padding: 3.5rem 1.5rem calc(3.5rem * var(--omni-section-pad-boost, 1.1));
}

@media (min-width: 768px) {
    #omni-differentials.omni-platform {
        padding: 5rem 3rem calc(5rem * var(--omni-section-pad-boost, 1.1));
    }
}

@media (min-width: 1024px) {
    #omni-differentials.omni-platform {
        padding: 5rem 6rem calc(5rem * var(--omni-section-pad-boost, 1.1));
    }
}

#omni-differentials > .container {
    flex-shrink: 0;
    width: 100%;
}

/* Section already provides horizontal inset — avoid doubling .omni-platform .container clamp */
#omni-differentials.omni-platform .container {
    padding-left: 0;
    padding-right: 0;
}

#omni-differentials .hypeads-content-grid__intro,
#global-inventory .hypeads-content-grid__intro {
    margin-top: 60px;
}

/* Home section H2s — same scale as omni “Qué hacemos” (beats #main-content h2 + Tailwind text-4xl/5xl) */
#omni-differentials .omni-platform__title,
#global-inventory .hypeads-content-grid__intro .omni-platform__title {
    font-size: clamp(1.98rem, 4.5vw, 3.15rem);
    font-weight: 400;
}

#omni-differentials .hypeads-content-grid__intro-copy > .omni-platform__title {
    margin-bottom: 20px;
}

/* Inventario global — same outer padding + intro rhythm as #omni-differentials */
#global-inventory.home-global-map {
    padding: 3.5rem 1.5rem;
}

@media (min-width: 768px) {
    #global-inventory.home-global-map {
        padding: 5rem 3rem;
    }
}

@media (min-width: 1024px) {
    #global-inventory.home-global-map {
        padding: 5rem 6rem;
    }
}

#global-inventory > .container {
    flex-shrink: 0;
    width: 100%;
}

#global-inventory.home-global-map .container {
    padding-left: 0;
    padding-right: 0;
}

/* Region list — timeline-line look, right-aligned track (matches about-us milestones) */
#global-inventory .timeline-line--regions::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 15px;
    left: auto;
    width: 2px;
    transform: none;
    background: linear-gradient(to bottom, transparent, #e2e8f0 10%, #e2e8f0 90%, transparent);
    border-radius: 1px;
    z-index: 0;
}

html.dark #global-inventory .timeline-line--regions::after {
    background: linear-gradient(to bottom, transparent, #475569 10%, #475569 90%, transparent);
}

#value-prop .omni-platform__title,
.about-page .omni-platform__title,
.policy-page .omni-platform__title,
.solutions-page .omni-platform__title,
#brands-capabilities .omni-platform__title,
#hypeads-global-inventory-map .omni-platform__title,
.contact-page .omni-platform__title,
.blog-page .omni-platform__title,
.careers-page .omni-platform__title,
.creativity-page .omni-platform__title,
#formats-showcase .omni-platform__title {
    font-size: clamp(2rem, 5vw, 56px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: var(--type-home-section-h2-ls);
}

/* Home — marcas y anunciantes (post inventario global) */
#brands-capabilities.home-brands-capabilities {
    --brands-stack-anim-duration: 3.5s;
    background: linear-gradient(
        180deg,
        #111111 0%,
        #1a0f2e 32%,
        #3b2478 62%,
        #5b21b6 100%
    );
    border-block: 1px solid color-mix(in srgb, #111111 35%, #5b21b6 45%);
}

#brands-capabilities.home-brands-capabilities--extended {
    display: flex;
    flex-direction: column;
    overflow: visible;
    padding-top: calc(4rem * 1.05);
    padding-bottom: calc(8.5rem * 1.05 + 5px);
}

@media (min-width: 768px) {
    #brands-capabilities.home-brands-capabilities--extended {
        padding-top: calc(5.5rem * 1.05);
        padding-bottom: calc(10.5rem * 1.05 + 5px);
    }
}

#brands-capabilities .home-brands-capabilities__hero > .omni-platform__title {
    margin-top: 46px;
}

#brands-capabilities .home-brands-capabilities__logos {
    width: 100%;
    max-width: 100%;
    margin-top: 300px;
    margin-bottom: 0;
    margin-inline: 0;
    padding-top: clamp(1.5rem, 3vh, 2.5rem);
    padding-bottom: clamp(0.375rem, 1vw, 0.625rem);
    padding-inline: 0;
    transform: translateY(140px);
}

#brands-capabilities.home-brands-capabilities--extended > .container {
    margin-bottom: 0;
}

#brands-capabilities .brands-logo-band--light {
    --brands-logo-box-w: 90px;
    --brands-logo-box-h: 27px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 0%,
        #000 15%,
        #000 85%,
        transparent 100%
    );
    mask-image: linear-gradient(
        90deg,
        transparent 0%,
        #000 15%,
        #000 85%,
        transparent 100%
    );
}

#brands-capabilities .brands-logo-band--light .brands-logo-band__viewport {
    overflow: hidden;
    -webkit-mask-image: inherit;
    mask-image: inherit;
}

#brands-capabilities .brands-logo-band--light .brands-logo-band__track {
    gap: clamp(3rem, 8vw, 5.5rem);
    padding: clamp(0.75rem, 2vw, 1.25rem) 0;
}

#brands-capabilities .brands-logo-band__track:hover {
    animation-play-state: running;
}

#brands-capabilities .brands-logo-band--light .brands-logo-band__logo {
    width: var(--brands-logo-box-w);
    height: var(--brands-logo-box-h);
    max-width: var(--brands-logo-box-w);
    object-fit: contain;
    opacity: 0.88;
    filter: none;
}

#brands-capabilities .brands-logo-band--light .brands-logo-band__logo--wide {
    --brands-logo-box-w: 124px;
    --brands-logo-box-h: 36px;
    width: var(--brands-logo-box-w);
    max-width: var(--brands-logo-box-w);
    height: var(--brands-logo-box-h);
}

#brands-capabilities .brands-logo-band--light .brands-logo-band__logo--extra-wide {
    --brands-logo-box-w: 176px;
    --brands-logo-box-h: 46px;
    width: var(--brands-logo-box-w);
    max-width: var(--brands-logo-box-w);
    height: var(--brands-logo-box-h);
}

#brands-capabilities .brands-logo-band--light .brands-logo-band__item:hover .brands-logo-band__logo {
    opacity: 1;
    filter: none;
}

html.dark #brands-capabilities .brands-logo-band--light .brands-logo-band__logo,
html.dark #brands-capabilities .brands-logo-band--light .brands-logo-band__item:hover .brands-logo-band__logo {
    opacity: 0.92;
    filter: none;
}

#brands-capabilities .omni-platform__title .text-gradient {
    background: linear-gradient(to right, #ffffff, #e9d5ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent !important;
}

#brands-capabilities > .container.max-w-6xl {
    max-width: 88rem;
    overflow: visible;
}

#brands-capabilities .home-brands-capabilities__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(0.5rem, 1vw, 0.875rem);
    align-items: stretch;
    min-height: clamp(11.5rem, 20vw, 15.5rem);
    margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

@media (max-width: 1023px) {
    #brands-capabilities .home-brands-capabilities__grid {
        grid-template-columns: repeat(6, minmax(14.5rem, 1fr));
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.35rem;
        scrollbar-width: thin;
    }

    #brands-capabilities .home-brands-capabilities__card {
        scroll-snap-align: start;
        min-height: 12.5rem;
    }

    #brands-capabilities .home-brands-capabilities__grid {
        min-height: 12.5rem;
    }
}

#brands-capabilities .home-brands-capabilities__card {
    display: flex;
    flex-direction: column;
    min-height: clamp(11.5rem, 20vw, 15.5rem);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 1rem;
    padding: clamp(1.125rem, 1.6vw, 1.5rem);
    contain: layout paint style;
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease;
}

@media (min-width: 768px) {
    #brands-capabilities .home-brands-capabilities__card {
        border-radius: 0.875rem;
    }
}

#brands-capabilities .home-brands-capabilities__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}

#brands-capabilities .home-brands-capabilities__card-title {
    font-family: var(--font-main);
    font-size: clamp(0.9375rem, 1.05vw, 1.0625rem);
    font-weight: 600;
    line-height: 1.35;
    color: #fff;
    margin-bottom: 0.625rem;
}

#brands-capabilities .home-brands-capabilities__card-desc {
    font-size: clamp(0.8125rem, 0.95vw, 0.875rem);
    font-weight: 300;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
    margin-top: auto;
}

/* design1AA — text tiles (Attention Metrics, BRANDLIFT, …) */
#brands-capabilities .home-brands-capabilities__card--text-tile {
    padding: 0;
    overflow: hidden;
    background: transparent;
    border: none;
}

#brands-capabilities .home-brands-capabilities__card--text-tile .card-text-bg {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(1.125rem, 1.6vw, 1.5rem);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: inherit;
    box-sizing: border-box;
    transition:
        transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
        background 0.5s ease,
        border-color 0.5s ease;
}

#brands-capabilities .home-brands-capabilities__card--text-tile .card-text-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMDUiLz4KPC9zdmc+")
        repeat;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

#brands-capabilities .home-brands-capabilities__card--text-tile .card-text-bg .logo-text {
    position: relative;
    z-index: 1;
    color: #9d00ff;
    font-family: var(--font-main);
    font-size: clamp(0.6875rem, 0.85vw, 0.875rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    margin-bottom: clamp(0.75rem, 1.2vw, 1.25rem);
    text-transform: uppercase;
}

#brands-capabilities .home-brands-capabilities__card--text-tile .card-text-bg .main-title,
#brands-capabilities .home-brands-capabilities__card--media .card-text-bg .main-title {
    font-size: clamp(0.9375rem, 1.35vw, 1.4375rem);
    line-height: 1.15;
}

#brands-capabilities .home-brands-capabilities__card--text-tile .card-text-bg .main-title {
    position: relative;
    z-index: 1;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: none;
}

#brands-capabilities .home-brands-capabilities__card--text-tile .card-text-bg .sub-title {
    position: relative;
    z-index: 1;
    font-family: var(--font-main);
    font-size: clamp(0.75rem, 0.9vw, 0.9375rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

#brands-capabilities .home-brands-capabilities__card--text-tile:hover {
    transform: translateY(-6px);
}

#brands-capabilities .home-brands-capabilities__card--text-tile:hover .card-text-bg {
    transform: scale(1.03);
    background: radial-gradient(circle at center, #4a1080 0%, #150a22 100%);
}

#brands-capabilities .home-brands-capabilities__card--text-tile:hover .card-text-bg::after {
    opacity: 0.3;
}

#brands-capabilities .home-brands-capabilities__card--text-tile:hover .card-text-bg .main-title {
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

#brands-capabilities .home-brands-capabilities__card--text-tile:hover .card-text-bg .sub-title {
    color: #d1c4e9;
}

/* design1AA — GEO HISTORIC media-card tile */
#brands-capabilities .home-brands-capabilities__card--media {
    padding: 0;
    overflow: hidden;
    background: transparent;
    border: none;
}

#brands-capabilities .home-brands-capabilities__card--media .media-card,
#brands-capabilities .home-brands-capabilities__card--media a.media-card {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    min-height: 100%;
    height: 100%;
    border-radius: inherit;
    overflow: hidden;
    background: transparent;
    border: none;
    box-shadow: none;
    cursor: pointer;
    transition:
        transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

#brands-capabilities a.home-brands-capabilities__card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

#brands-capabilities a.home-brands-capabilities__card-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 3px;
}

#brands-capabilities .home-brands-capabilities__card--media .card-text-bg {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(1.125rem, 1.6vw, 1.5rem);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: inherit;
    box-sizing: border-box;
    transition:
        transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
        background 0.5s ease,
        border-color 0.5s ease;
}

#brands-capabilities .home-brands-capabilities__card--media .card-text-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMDUiLz4KPC9zdmc+")
        repeat;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

#brands-capabilities .home-brands-capabilities__card--media .card-text-bg .logo-text,
#brands-capabilities .home-brands-capabilities__card--media .card-text-bg .main-title,
#brands-capabilities .home-brands-capabilities__card--media .card-text-bg .sub-title {
    position: relative;
    z-index: 1;
}

#brands-capabilities .home-brands-capabilities__card--media .card-text-bg .logo-text {
    color: #9d00ff;
    font-family: var(--font-main);
    font-size: clamp(0.6875rem, 0.85vw, 0.875rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    margin-bottom: clamp(0.75rem, 1.2vw, 1.25rem);
    text-transform: uppercase;
}

#brands-capabilities .home-brands-capabilities__card--media .card-text-bg .main-title {
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: none;
}

#brands-capabilities .home-brands-capabilities__card--media .card-text-bg .sub-title {
    font-family: var(--font-main);
    font-size: clamp(0.75rem, 0.9vw, 0.9375rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

#brands-capabilities .home-brands-capabilities__card--media .card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(11, 7, 20, 0.95) 0%, rgba(11, 7, 20, 0.4) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(1rem, 1.4vw, 1.25rem);
    pointer-events: none;
}

#brands-capabilities .home-brands-capabilities__card--media .card-indicator {
    position: absolute;
    top: clamp(0.75rem, 1.2vw, 1rem);
    right: clamp(0.75rem, 1.2vw, 1rem);
    z-index: 3;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8) rotate(-45deg);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

#brands-capabilities .home-brands-capabilities__card--media .card-indicator svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #fff;
}

#brands-capabilities .home-brands-capabilities__card--media .meta-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0.75rem;
    transform: translateY(1rem);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s;
}

#brands-capabilities .home-brands-capabilities__card--media .meta-title {
    font-family: var(--font-main);
    font-size: clamp(0.875rem, 1.05vw, 1rem);
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #fff;
    letter-spacing: -0.02em;
}

#brands-capabilities .home-brands-capabilities__card--media .meta-subtitle {
    font-family: var(--font-main);
    font-size: clamp(0.6875rem, 0.8vw, 0.8125rem);
    color: #958baa;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#brands-capabilities .home-brands-capabilities__card--media .meta-subtitle::before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ff007f;
    box-shadow: 0 0 8px #ff007f;
    flex-shrink: 0;
}

#brands-capabilities .home-brands-capabilities__card--media .meta-badge {
    flex-shrink: 0;
    background: rgba(157, 0, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(157, 0, 255, 0.3);
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 0.625rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

#brands-capabilities .home-brands-capabilities__card--media:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}

#brands-capabilities .home-brands-capabilities__card--media:hover .media-card,
#brands-capabilities .home-brands-capabilities__card--media:focus-within .media-card {
    box-shadow: 0 0 0 2px #9d00ff;
}

#brands-capabilities .home-brands-capabilities__card--media:hover .card-text-bg {
    transform: scale(1.03);
    background: radial-gradient(circle at center, #4a1080 0%, #150a22 100%);
}

#brands-capabilities .home-brands-capabilities__card--media:hover .card-text-bg::after {
    opacity: 0.3;
}

#brands-capabilities .home-brands-capabilities__card--media:hover .card-text-bg .main-title {
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

#brands-capabilities .home-brands-capabilities__card--media:hover .card-text-bg .sub-title {
    color: #d1c4e9;
}

#brands-capabilities .home-brands-capabilities__card--media:hover .card-overlay,
#brands-capabilities .home-brands-capabilities__card--media:hover .card-indicator {
    opacity: 1;
}

#brands-capabilities .home-brands-capabilities__card--media:hover .card-indicator {
    transform: scale(1) rotate(0);
}

#brands-capabilities .home-brands-capabilities__card--media:hover .meta-header {
    transform: translateY(0);
    opacity: 1;
}

html.dark #brands-capabilities .home-brands-capabilities__card--text-tile,
html.dark #brands-capabilities .home-brands-capabilities__card--media {
    background: transparent;
    border: none;
}

html.dark #brands-capabilities.home-brands-capabilities {
    background: linear-gradient(
        180deg,
        #111111 0%,
        #140c22 30%,
        #352066 58%,
        #6d28d9 100%
    );
    border-block-color: rgba(255, 255, 255, 0.08);
}

html.dark #brands-capabilities .home-brands-capabilities__card {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.12);
}

#brands-capabilities .home-brands-capabilities__hero-subtitle {
    opacity: 0;
    transform: translateY(10px);
}

#brands-capabilities:has(.home-brands-capabilities__stack.is-active) .home-brands-capabilities__hero-subtitle {
    animation: brands-capabilities-subtitle-in 0.8s ease-out forwards;
    animation-delay: var(--brands-stack-anim-duration);
}

@keyframes brands-capabilities-subtitle-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Animated capability card stack — phone mockups (design export) */
#brands-capabilities .home-brands-capabilities__stack {
    --brands-stack-gather-x: 0px;
    --brands-stack-gather-y: 10px;
    --brands-stack-gather-rot: 0deg;
    --brands-stack-card-width: 160px;
    --brands-stack-card-height: 320px;
    --brands-stack-fan-step: 170px;
    --brands-stack-fan-1-x: calc(var(--brands-stack-fan-step) * -3);
    --brands-stack-fan-2-x: calc(var(--brands-stack-fan-step) * -2);
    --brands-stack-fan-3-x: calc(var(--brands-stack-fan-step) * -1);
    --brands-stack-fan-4-x: 0px;
    --brands-stack-fan-5-x: var(--brands-stack-fan-step);
    --brands-stack-fan-6-x: calc(var(--brands-stack-fan-step) * 2);
    --brands-stack-fan-7-x: calc(var(--brands-stack-fan-step) * 3);
    --brands-stack-fan-1-y: 0px;
    --brands-stack-fan-2-y: 0px;
    --brands-stack-fan-3-y: 0px;
    --brands-stack-fan-4-y: 0px;
    --brands-stack-fan-5-y: 0px;
    --brands-stack-fan-6-y: 0px;
    --brands-stack-fan-7-y: 0px;
    --brands-stack-fan-1-rot: 0deg;
    --brands-stack-fan-2-rot: 0deg;
    --brands-stack-fan-3-rot: 0deg;
    --brands-stack-fan-4-rot: 0deg;
    --brands-stack-fan-5-rot: 0deg;
    --brands-stack-fan-6-rot: 0deg;
    --brands-stack-fan-7-rot: 0deg;
    position: relative;
    top: 170px;
    z-index: 5;
    margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

#brands-capabilities a.home-brands-capabilities__stack-card {
    position: absolute;
    width: var(--brands-stack-card-width);
    height: var(--brands-stack-card-height);
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    will-change: transform, opacity;
    transform-origin: center center;
    opacity: 0;
    transform: translate(var(--brands-stack-gather-x), var(--brands-stack-gather-y)) rotate(var(--brands-stack-gather-rot));
    animation-name: none;
    animation-duration: var(--brands-stack-anim-duration);
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

#brands-capabilities a.home-brands-capabilities__stack-card:hover,
#brands-capabilities a.home-brands-capabilities__stack-card:focus-visible {
    z-index: 10;
}

#brands-capabilities .brands-stack-mockup {
    position: relative;
    width: 100%;
    height: 100%;
}

#brands-capabilities .brands-stack-mockup__screen {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    box-shadow:
        0 20px 40px -10px rgba(0, 0, 0, 0.35),
        0 10px 20px -5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    isolation: isolate;
    border: 6px solid #111;
    background-color: #fff;
    transition:
        transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#brands-capabilities a.home-brands-capabilities__stack-card:hover .brands-stack-mockup__screen,
#brands-capabilities a.home-brands-capabilities__stack-card:focus-visible .brands-stack-mockup__screen {
    transform: translateY(-16px);
    box-shadow:
        0 30px 60px -15px rgba(0, 0, 0, 0.4),
        0 15px 30px -10px rgba(0, 0, 0, 0.25);
}

#brands-capabilities .brands-stack-mockup__screen--data {
    background: linear-gradient(165deg, #f8f5ff 0%, #ede9fe 45%, #ddd6fe 100%);
}

#brands-capabilities .brands-stack-mockup__screen--products {
    background: #beff48;
}

#brands-capabilities .brands-stack-mockup__screen--sports {
    background: #00D4FF;
}

#brands-capabilities .brands-stack-mockup__chrome {
    display: flex;
    justify-content: center;
    padding: 10px 0 6px;
}

#brands-capabilities .brands-stack-mockup__notch {
    width: 36%;
    height: 5px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.12);
}

#brands-capabilities .brands-stack-mockup__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.75rem 1rem 1rem;
    min-height: 0;
    flex: 1;
}

#brands-capabilities .brands-stack-mockup__body .main-title {
    font-size: 0.6875rem;
    line-height: 1.2;
    letter-spacing: 0.04em;
    font-weight: 700;
    color: #111;
    text-transform: uppercase;
}

#brands-capabilities .brands-stack-mockup__body .sub-title {
    font-size: 0.5625rem;
    line-height: 1.3;
    font-weight: 500;
    color: rgba(17, 17, 17, 0.55);
}

#brands-capabilities .brands-stack-mockup__body .meta-badge {
    margin-top: 0.25rem;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.08);
    color: #111;
}

#brands-capabilities #brands-stack-card-1 .brands-stack-mockup__badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

#brands-capabilities #brands-stack-card-1 .brands-stack-mockup__badge-row .meta-badge {
    margin-top: 0;
}

#brands-capabilities #brands-stack-card-1 .brands-stack-mockup__ui {
    position: relative;
}

#brands-capabilities #brands-stack-card-1 .brands-stack-mockup__ai-icon {
    position: absolute;
    right: -6px;
    bottom: -7px;
    width: 34px;
    height: 34px;
    color: rgba(17, 17, 17, 0.08);
    pointer-events: none;
    z-index: 1;
}

#brands-capabilities #brands-stack-card-1 .brands-stack-mockup__ai-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

#brands-capabilities .brands-stack-mockup__ui {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    margin-top: auto;
    padding-top: 1rem;
}

#brands-capabilities .brands-stack-mockup__ui span {
    display: block;
    height: 8px;
    border-radius: 4px;
    background: rgba(17, 17, 17, 0.08);
}

#brands-capabilities .brands-stack-mockup__ui span:nth-child(1) { width: 88%; }
#brands-capabilities .brands-stack-mockup__ui span:nth-child(2) { width: 72%; }
#brands-capabilities .brands-stack-mockup__ui span:nth-child(3) { width: 56%; }

#brands-capabilities .brands-stack-mockup__ui--chart {
    flex-direction: row;
    align-items: flex-end;
    gap: 5px;
    height: 72px;
    padding-top: 0.75rem;
}

#brands-capabilities .brands-stack-mockup__ui--chart span {
    flex: 1;
    height: auto;
    min-height: 18px;
    border-radius: 3px 3px 0 0;
    background: rgba(17, 17, 17, 0.1);
}

#brands-capabilities .brands-stack-mockup__ui--chart span:nth-child(1) { height: 38%; }
#brands-capabilities .brands-stack-mockup__ui--chart span:nth-child(2) { height: 62%; }
#brands-capabilities .brands-stack-mockup__ui--chart span:nth-child(3) { height: 48%; }

#brands-capabilities #brands-stack-card-6 .brands-stack-mockup__ui--logo,
#brands-capabilities #brands-stack-card-7 .brands-stack-mockup__ui--logo {
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    min-height: 72px;
    padding-top: 0.75rem;
    padding-bottom: 0;
}

#brands-capabilities #brands-stack-card-6 .brands-stack-mockup__logo,
#brands-capabilities #brands-stack-card-7 .brands-stack-mockup__logo {
    display: block;
    width: auto;
    max-width: 36px;
    max-height: 36px;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.25s ease;
}

#brands-capabilities #brands-stack-card-6:hover .brands-stack-mockup__logo,
#brands-capabilities #brands-stack-card-7:hover .brands-stack-mockup__logo,
#brands-capabilities #brands-stack-card-6:focus-visible .brands-stack-mockup__logo,
#brands-capabilities #brands-stack-card-7:focus-visible .brands-stack-mockup__logo {
    opacity: 1;
}

#brands-capabilities .brands-stack-mockup__shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    opacity: 0;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.45) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-120%) skewX(-25deg);
    pointer-events: none;
    z-index: 10;
}

#brands-capabilities a.home-brands-capabilities__stack-card:hover .brands-stack-mockup__shine,
#brands-capabilities a.home-brands-capabilities__stack-card:focus-visible .brands-stack-mockup__shine {
    animation: brands-stack-shine-sweep 0.75s ease-in-out forwards;
}

@keyframes brands-stack-shine-sweep {
    0% { transform: translateX(-120%) skewX(-25deg); opacity: 0; }
    12% { opacity: 1; }
    88% { opacity: 1; }
    100% { transform: translateX(280%) skewX(-25deg); opacity: 0; }
}

@keyframes brands-stack-card-1 {
    0% { transform: translate(var(--brands-stack-gather-x), 120px) rotate(var(--brands-stack-gather-rot)); opacity: 0; }
    5% { opacity: 1; }
    25% { transform: translate(var(--brands-stack-gather-x), var(--brands-stack-gather-y)) rotate(var(--brands-stack-gather-rot)); opacity: 1; }
    35% { transform: translate(var(--brands-stack-gather-x), var(--brands-stack-gather-y)) rotate(var(--brands-stack-gather-rot)); opacity: 1; }
    100% { transform: translate(var(--brands-stack-fan-1-x), var(--brands-stack-fan-1-y)) rotate(var(--brands-stack-fan-1-rot)); opacity: 1; }
}

@keyframes brands-stack-card-2 {
    0%, 34% { transform: translate(var(--brands-stack-gather-x), var(--brands-stack-gather-y)) rotate(var(--brands-stack-gather-rot)); opacity: 0; }
    35% { transform: translate(var(--brands-stack-gather-x), var(--brands-stack-gather-y)) rotate(var(--brands-stack-gather-rot)); opacity: 1; }
    100% { transform: translate(var(--brands-stack-fan-2-x), var(--brands-stack-fan-2-y)) rotate(var(--brands-stack-fan-2-rot)); opacity: 1; }
}

@keyframes brands-stack-card-3 {
    0%, 34% { transform: translate(var(--brands-stack-gather-x), var(--brands-stack-gather-y)) rotate(var(--brands-stack-gather-rot)); opacity: 0; }
    35% { transform: translate(var(--brands-stack-gather-x), var(--brands-stack-gather-y)) rotate(var(--brands-stack-gather-rot)); opacity: 1; }
    100% { transform: translate(var(--brands-stack-fan-3-x), var(--brands-stack-fan-3-y)) rotate(var(--brands-stack-fan-3-rot)); opacity: 1; }
}

@keyframes brands-stack-card-4 {
    0%, 34% { transform: translate(var(--brands-stack-gather-x), var(--brands-stack-gather-y)) rotate(var(--brands-stack-gather-rot)); opacity: 0; }
    35% { transform: translate(var(--brands-stack-gather-x), var(--brands-stack-gather-y)) rotate(var(--brands-stack-gather-rot)); opacity: 1; }
    100% { transform: translate(var(--brands-stack-fan-4-x), var(--brands-stack-fan-4-y)) rotate(var(--brands-stack-fan-4-rot)); opacity: 1; }
}

@keyframes brands-stack-card-5 {
    0%, 34% { transform: translate(var(--brands-stack-gather-x), var(--brands-stack-gather-y)) rotate(var(--brands-stack-gather-rot)); opacity: 0; }
    35% { transform: translate(var(--brands-stack-gather-x), var(--brands-stack-gather-y)) rotate(var(--brands-stack-gather-rot)); opacity: 1; }
    100% { transform: translate(var(--brands-stack-fan-5-x), var(--brands-stack-fan-5-y)) rotate(var(--brands-stack-fan-5-rot)); opacity: 1; }
}

@keyframes brands-stack-card-6 {
    0%, 34% { transform: translate(var(--brands-stack-gather-x), var(--brands-stack-gather-y)) rotate(var(--brands-stack-gather-rot)); opacity: 0; }
    35% { transform: translate(var(--brands-stack-gather-x), var(--brands-stack-gather-y)) rotate(var(--brands-stack-gather-rot)); opacity: 1; }
    100% { transform: translate(var(--brands-stack-fan-6-x), var(--brands-stack-fan-6-y)) rotate(var(--brands-stack-fan-6-rot)); opacity: 1; }
}

@keyframes brands-stack-card-7 {
    0%, 34% { transform: translate(var(--brands-stack-gather-x), var(--brands-stack-gather-y)) rotate(var(--brands-stack-gather-rot)); opacity: 0; }
    35% { transform: translate(var(--brands-stack-gather-x), var(--brands-stack-gather-y)) rotate(var(--brands-stack-gather-rot)); opacity: 1; }
    100% { transform: translate(var(--brands-stack-fan-7-x), var(--brands-stack-fan-7-y)) rotate(var(--brands-stack-fan-7-rot)); opacity: 1; }
}

#brands-capabilities #brands-stack-card-1 { z-index: 7; }
#brands-capabilities #brands-stack-card-7 { z-index: 1; }
#brands-capabilities #brands-stack-card-2 { z-index: 2; }
#brands-capabilities #brands-stack-card-3 { z-index: 3; }
#brands-capabilities #brands-stack-card-4 { z-index: 4; }
#brands-capabilities #brands-stack-card-5 { z-index: 5; }
#brands-capabilities #brands-stack-card-6 { z-index: 6; }

#brands-capabilities .home-brands-capabilities__stack.is-active #brands-stack-card-7 { animation-name: brands-stack-card-7; }
#brands-capabilities .home-brands-capabilities__stack.is-active #brands-stack-card-1 { animation-name: brands-stack-card-1; }
#brands-capabilities .home-brands-capabilities__stack.is-active #brands-stack-card-2 { animation-name: brands-stack-card-2; }
#brands-capabilities .home-brands-capabilities__stack.is-active #brands-stack-card-3 { animation-name: brands-stack-card-3; }
#brands-capabilities .home-brands-capabilities__stack.is-active #brands-stack-card-4 { animation-name: brands-stack-card-4; }
#brands-capabilities .home-brands-capabilities__stack.is-active #brands-stack-card-5 { animation-name: brands-stack-card-5; }
#brands-capabilities .home-brands-capabilities__stack.is-active #brands-stack-card-6 { animation-name: brands-stack-card-6; }

@media (max-width: 1023px) {
    #brands-capabilities .home-brands-capabilities__stack {
        --brands-stack-card-width: 140px;
        --brands-stack-card-height: 280px;
        --brands-stack-fan-step: 150px;
    }
}

@media (max-width: 639px) {
    #brands-capabilities .home-brands-capabilities__stack {
        --brands-stack-card-width: 112px;
        --brands-stack-card-height: 224px;
        --brands-stack-fan-step: 108px;
        height: 320px;
    }

    #brands-capabilities .brands-stack-mockup__screen {
        border-width: 4px;
        border-radius: 18px;
    }

    #brands-capabilities .brands-stack-mockup__chrome {
        padding: 7px 0 4px;
    }

    #brands-capabilities .brands-stack-mockup__body {
        padding: 0.5rem 0.625rem 0.625rem;
        gap: 0.2rem;
    }

    #brands-capabilities .brands-stack-mockup__body .main-title {
        font-size: 0.5625rem;
    }

    #brands-capabilities .brands-stack-mockup__body .sub-title {
        font-size: 0.5rem;
    }

    #brands-capabilities .brands-stack-mockup__body .meta-badge {
        font-size: 0.4375rem;
        padding: 0.15rem 0.35rem;
    }

    #brands-capabilities #brands-stack-card-1 .brands-stack-mockup__ai-icon {
        width: 26px;
        height: 26px;
        bottom: -6px;
    }

    #brands-capabilities .brands-stack-mockup__ui {
        gap: 4px;
        padding-top: 0.5rem;
    }

    #brands-capabilities .brands-stack-mockup__ui span {
        height: 6px;
    }

    #brands-capabilities .brands-stack-mockup__ui--chart {
        height: 48px;
    }

    #brands-capabilities #brands-stack-card-6 .brands-stack-mockup__ui--logo,
    #brands-capabilities #brands-stack-card-7 .brands-stack-mockup__ui--logo {
        min-height: 48px;
        padding-top: 0.5rem;
    }

    #brands-capabilities #brands-stack-card-6 .brands-stack-mockup__logo,
    #brands-capabilities #brands-stack-card-7 .brands-stack-mockup__logo {
        max-width: 28px;
        max-height: 28px;
    }

    #brands-capabilities a.home-brands-capabilities__stack-card:hover .brands-stack-mockup__screen,
    #brands-capabilities a.home-brands-capabilities__stack-card:focus-visible .brands-stack-mockup__screen {
        transform: translateY(-10px);
    }
}

@media (prefers-reduced-motion: reduce) {
    #brands-capabilities:has(.home-brands-capabilities__stack.is-active) .home-brands-capabilities__hero-subtitle {
        animation: none;
        opacity: 1;
        transform: none;
    }

    #brands-capabilities .home-brands-capabilities__stack.is-active a.home-brands-capabilities__stack-card {
        animation: none !important;
        opacity: 1 !important;
    }

    #brands-capabilities .home-brands-capabilities__stack.is-active #brands-stack-card-1 { transform: translate(var(--brands-stack-fan-1-x), var(--brands-stack-fan-1-y)) rotate(var(--brands-stack-fan-1-rot)); }
    #brands-capabilities .home-brands-capabilities__stack.is-active #brands-stack-card-2 { transform: translate(var(--brands-stack-fan-2-x), var(--brands-stack-fan-2-y)) rotate(var(--brands-stack-fan-2-rot)); }
    #brands-capabilities .home-brands-capabilities__stack.is-active #brands-stack-card-3 { transform: translate(var(--brands-stack-fan-3-x), var(--brands-stack-fan-3-y)) rotate(var(--brands-stack-fan-3-rot)); }
    #brands-capabilities .home-brands-capabilities__stack.is-active #brands-stack-card-4 { transform: translate(var(--brands-stack-fan-4-x), var(--brands-stack-fan-4-y)) rotate(var(--brands-stack-fan-4-rot)); }
    #brands-capabilities .home-brands-capabilities__stack.is-active #brands-stack-card-5 { transform: translate(var(--brands-stack-fan-5-x), var(--brands-stack-fan-5-y)) rotate(var(--brands-stack-fan-5-rot)); }
    #brands-capabilities .home-brands-capabilities__stack.is-active #brands-stack-card-6 { transform: translate(var(--brands-stack-fan-6-x), var(--brands-stack-fan-6-y)) rotate(var(--brands-stack-fan-6-rot)); }
    #brands-capabilities .home-brands-capabilities__stack.is-active #brands-stack-card-7 { transform: translate(var(--brands-stack-fan-7-x), var(--brands-stack-fan-7-y)) rotate(var(--brands-stack-fan-7-rot)); }
}

/* Map section over fixed footer — sheet bottom radius like other pages */
#page-wrapper:has(#hypeads-global-inventory-map),
.content-card:has(#hypeads-global-inventory-map) {
    overflow: hidden;
    border-bottom-left-radius: var(--page-sheet-radius);
    border-bottom-right-radius: var(--page-sheet-radius);
}

.content-card > main:has(#hypeads-global-inventory-map) {
    overflow: visible;
}

body:has(#hypeads-global-inventory-map) .site-footer.site-footer--brand-gradient {
    z-index: 0;
    box-shadow: inset 0 3.5rem 4.5rem -1.5rem rgba(0, 0, 0, 0.55);
}

#hypeads-global-inventory-map.hypeads-global-inventory-map {
    isolation: auto;
    position: relative;
    z-index: 2;
    overflow-x: visible;
    overflow-y: hidden;
    margin-bottom: -2.5rem;
    padding-bottom: calc(3.5rem + 2.5rem);
    border-bottom-left-radius: var(--page-sheet-radius);
    border-bottom-right-radius: var(--page-sheet-radius);
    box-shadow:
        0 40px 72px 0 rgba(15, 23, 42, 0.48),
        0 14px 28px 0 rgba(15, 23, 42, 0.3);
}

@media (min-width: 768px) {
    #hypeads-global-inventory-map.hypeads-global-inventory-map {
        padding-bottom: calc(5rem + 2.5rem);
    }
}

#hypeads-global-inventory-map.hypeads-global-inventory-map::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    pointer-events: none;
    box-shadow: 0 36px 64px 28px rgba(15, 23, 42, 0.42);
}

html.dark body:has(#hypeads-global-inventory-map) .site-footer.site-footer--brand-gradient {
    box-shadow: inset 0 3.5rem 4.5rem -1.5rem rgba(0, 0, 0, 0.72);
}

html.dark #hypeads-global-inventory-map.hypeads-global-inventory-map {
    box-shadow:
        0 44px 80px 0 rgba(0, 0, 0, 0.78),
        0 16px 32px 0 rgba(0, 0, 0, 0.52);
}

html.dark #hypeads-global-inventory-map.hypeads-global-inventory-map::after {
    box-shadow: 0 40px 72px 32px rgba(0, 0, 0, 0.65);
}

.hypeads-global-inventory-map__embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: min(72vw, 520px);
    max-height: 640px;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow:
        0 4px 24px rgba(15, 23, 42, 0.06),
        0 1px 0 rgba(255, 255, 255, 0.6) inset;
    background: #f1f5f9;
}

.hypeads-global-inventory-map__iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    clip-path: polygon(
        0 0,
        100% 0,
        100% 100%,
        6.75rem 100%,
        6.75rem calc(100% - 2.125rem),
        0 calc(100% - 2.125rem)
    );
}

html.dark .hypeads-global-inventory-map__embed {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    background: #18181b;
}

.about-page .team-role-label {
    background: linear-gradient(to right, #7b06cd, #3630a7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent !important;
}

/* About timeline milestones — dot color steps along brand gradient (first → last) */
.about-page .timeline-line > div:nth-child(1) {
    --timeline-legend: #7b06cd;
}

.about-page .timeline-line > div:nth-child(1) .about-timeline-dot {
    background: #7b06cd;
}

.about-page .timeline-line > div:nth-child(2) {
    --timeline-legend: color-mix(in srgb, #7b06cd 67%, #3630a7);
}

.about-page .timeline-line > div:nth-child(2) .about-timeline-dot {
    background: color-mix(in srgb, #7b06cd 67%, #3630a7);
}

.about-page .timeline-line > div:nth-child(3) {
    --timeline-legend: color-mix(in srgb, #7b06cd 50%, #3630a7);
}

.about-page .timeline-line > div:nth-child(3) .about-timeline-dot {
    background: color-mix(in srgb, #7b06cd 33%, #3630a7);
}

.about-page .timeline-line > div:nth-child(4) {
    --timeline-legend: color-mix(in srgb, #7b06cd 33%, #3630a7);
}

.about-page .timeline-line > div:nth-child(4) .about-timeline-dot {
    background: #3630a7;
}

.about-page .timeline-line > div:nth-child(5),
.about-page .timeline-line > div:nth-child(6),
.about-page .timeline-line > div:nth-child(7) {
    --timeline-legend: #3630a7;
}

.about-page .timeline-line > div:nth-child(5) .about-timeline-dot,
.about-page .timeline-line > div:nth-child(6) .about-timeline-dot,
.about-page .timeline-line > div:nth-child(7) .about-timeline-dot {
    background: #3630a7;
}

/* About timeline hover — same as #global-inventory region legend */
.about-page .about-timeline-item {
    border-radius: 0.5rem;
    outline: none;
    cursor: pointer;
    transition: background-color 0.32s ease;
}

.about-page .about-timeline-item:hover {
    background-color: rgb(148 163 184 / 0.04);
}

html.dark .about-page .about-timeline-item:hover {
    background-color: rgb(255 255 255 / 0.03);
}

.about-page .about-timeline-item:hover h4,
.about-page .about-timeline-item:hover .font-headline {
    color: var(--timeline-legend, #7c3aed);
}

.about-page .about-timeline-dot {
    transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.about-page .about-timeline-item:hover .about-timeline-dot {
    transform: translateX(-50%) scale(1.08);
    box-shadow:
        0 0 0 2px color-mix(in srgb, var(--timeline-legend, #7c3aed) 22%, transparent),
        0 2px 8px color-mix(in srgb, var(--timeline-legend, #7c3aed) 20%, transparent);
}

/* Region legend — Lexend stack */
#global-inventory .timeline-line--regions h4,
#global-inventory .timeline-line--regions .font-headline {
    font-family: var(--font-main);
}

/* Region dots — position + purple scale from inventory (set in JS) */
#global-inventory .timeline-line--regions .global-inventory-region__dot {
    right: 0.5rem;
    background-color: var(--region-dot-color, #7c3aed);
}

#global-inventory .global-inventory-region:hover h4,
#global-inventory .global-inventory-region:hover .font-headline,
#global-inventory .global-inventory-region.is-region-highlighted h4,
#global-inventory .global-inventory-region.is-region-highlighted .font-headline {
    color: var(--region-legend, #7c3aed);
}

/* Alcance / marcas — full viewport band + padding rhythm like #formats-showcase */
#reach.hypeads-reach.brands-platforms-section {
    min-height: 100vh;
    min-height: 100svh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.5rem 1.5rem;
}

@media (min-width: 768px) {
    #reach.hypeads-reach.brands-platforms-section {
        padding: 5rem 3rem;
    }
}

@media (min-width: 1024px) {
    #reach.hypeads-reach.brands-platforms-section {
        padding: 5rem 6rem;
    }
}

#reach > .max-w-7xl {
    flex-shrink: 0;
    width: 100%;
}

/* Contacto (home) — full viewport band + padding rhythm */
#contact.contact-section.page-section {
    min-height: 100vh;
    min-height: 100svh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.5rem 1.5rem;
}

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

@media (min-width: 1024px) {
    #contact.contact-section.page-section {
        padding: 5rem 6rem;
    }

    #contact.contact-section .container {
        width: 100%;
        max-width: min(80rem, 100%);
    }
}

#contact > .container {
    flex-shrink: 0;
    width: 100%;
}

/* Elevate pillars cards: subtle purple polish */
#elevate-pillars-track > article {
    background: linear-gradient(180deg, rgba(123, 6, 204, 0.06) 0%, rgba(255, 255, 255, 0.96) 68%);
    border-color: rgba(123, 6, 204, 0.16) !important;
    box-shadow:
        0 10px 24px rgba(30, 20, 60, 0.06),
        0 2px 6px rgba(123, 6, 204, 0.06);
    transition:
        transform 0.24s ease,
        box-shadow 0.24s ease,
        border-color 0.24s ease,
        background 0.24s ease;
}

#elevate-pillars-track > article h3 {
    color: #33224f;
}

#elevate-pillars-track > article p {
    color: #5d6173;
}

@media (hover: hover) and (pointer: fine) {
    #elevate-pillars-track > article:hover {
        transform: translateY(-4px);
        background: linear-gradient(180deg, rgba(123, 6, 204, 0.1) 0%, rgba(255, 255, 255, 0.98) 72%);
        border-color: rgba(123, 6, 204, 0.28) !important;
        box-shadow:
            0 16px 34px rgba(30, 20, 60, 0.1),
            0 4px 12px rgba(123, 6, 204, 0.12);
    }
}

.brands-platforms-section {
    position: relative;
    z-index: 2;
    min-height: auto;
    padding: clamp(1.4rem, 3.15vw, 2.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;
}

#reach .brands-platforms-section__header {
    margin-bottom: 0;
}

.brands-platforms-section__title {
    margin: 0;
    font-family: var(--font-h2);
}

html.dark #reach .brands-platforms-section__title {
    color: #f1f5f9;
}

.brands-platforms-section__sub {
    margin: 1.25rem auto 0;
    max-width: 40rem;
}

/* Partner logos — infinite marquee */
.brands-logo-band {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 0%,
        #000 8%,
        #000 92%,
        transparent 100%
    );
    mask-image: linear-gradient(
        90deg,
        transparent 0%,
        #000 8%,
        #000 92%,
        transparent 100%
    );
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.brands-logo-band__viewport {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.brands-logo-band__track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(2.5rem, 6vw, 4.5rem);
    width: max-content;
    margin: 0;
    padding: clamp(1.25rem, 3vw, 2rem) 0;
    list-style: none;
    animation: brands-logo-scroll 65s linear infinite;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.brands-logo-band__item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brands-logo-band__logo {
    display: block;
    width: auto;
    height: clamp(2rem, 4.5vw, 3rem);
    max-width: min(10rem, 28vw);
    object-fit: contain;
    opacity: 0.72;
    filter: grayscale(1);
    transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.brands-logo-band__logo--wide {
    height: clamp(2.35rem, 5vw, 3.35rem);
    max-width: min(12.5rem, 34vw);
}

.brands-logo-band__logo--extra-wide {
    height: clamp(2.75rem, 6.25vw, 4rem);
    max-width: min(17.5rem, 44vw);
}

.brands-logo-band__item:hover .brands-logo-band__logo {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.05);
}

@keyframes brands-logo-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


.brands-logo-band__track--raf {
    animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .brands-logo-band__track {
        animation: none !important;
    }
}

html.dark .brands-logo-band__logo {
    opacity: 0.85;
    filter: grayscale(1) brightness(1.15);
}

html.dark .brands-logo-band__item:hover .brands-logo-band__logo {
    filter: grayscale(0) brightness(1);
}

#logo-grid.brands-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, auto);
    gap: 0;
    border: 1px solid rgba(168, 168, 168, 0.65);
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.45);

}

.logo-cell {
    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:nth-child(2n) {
    border-right: none;
}

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

.logo-cell__viewport {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 161 / 83;
    min-height: 112px;
    max-height: 168px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-brand {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    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;

    opacity: 0.92;
    transition: filter 0.35s ease, color 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}

.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;
}

.logo-slide__icon--img {
    display: block;
    width: auto;
    max-width: min(200px, 100%);
    height: clamp(1.35rem, 3.2vw, 2.35rem);
    object-fit: contain;
}

.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 .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:hover .logo-view__icon {
    opacity: 0;
}

.logo-cell: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;
}

@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__sub {
        margin-top: 0.65rem;
    }

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

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

    .logo-brand {
        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-slide__icon--img {
        max-width: min(160px, 100%);
        height: clamp(1.05rem, 3.4vw, 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;
    }
}

.contact-section {
    color: #1a1a1a;
    padding: 0 4rem;
    position: relative;
    z-index: 10;
    min-height: auto;
}

.contact-section.page-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

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

.contact-section .contact-cta-card>.grid,
#main-content #contact .contact-cta-card>.grid {
    gap: 2rem;
}

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

    .value-bento-tile--brands-wide {
        flex-direction: column;
        align-items: stretch;
        height: 100%;
    }

}

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

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

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

#main-content #contact .contact-cta-card>.grid>div:first-child p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

.contact-section .contact-form-stack,
#main-content #contact .contact-form-stack {
    gap: 0.75rem;
}

.contact-section .contact-inquiry-form,
#main-content #contact .contact-inquiry-form {
    gap: 0.75rem;
}

.contact-section .contact-inquiry-form>.grid,
#main-content #contact .contact-inquiry-form>.grid {
    gap: 0.75rem;
}

.contact-section .contact-inquiry-form .flex.flex-col.gap-2,
#main-content #contact .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,
#main-content #contact .contact-inquiry-form input,
#main-content #contact .contact-inquiry-form select,
#main-content #contact .contact-inquiry-form textarea {
    padding: 0.5rem 0.75rem;
}

.contact-section .contact-inquiry-form textarea,
#main-content #contact .contact-inquiry-form textarea {
    min-height: 5.5rem;
}

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

.contact-section .contact-thank-you,
#main-content #contact .contact-thank-you {
    padding: 1rem 1.25rem;
}

.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: var(--section-block-pad-y) 0;
}

.omni-platform__title {
    font-family: var(--font-h2);
    letter-spacing: var(--type-home-section-h2-ls);
    line-height: var(--type-home-section-h2-lh);
}

.omni-platform__title .text-gradient {
    background: linear-gradient(to right, #7b06cd, #3630a7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent !important;
}

.omni-platform__sub {
    max-width: 40rem;
    margin: 0 auto;
}

.formats-showcase {
    padding: var(--section-block-pad-y) 0;
}

/* Shared dimensions: 3×5 button grid = same fixed block as sidebar + info card (≥769px) */
#formats-showcase {
    min-height: 100vh;
    min-height: 100svh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* ~15% smaller UI in this block (restore 1 to match pre-shrink) */
    --fmt-ui-scale: 0.85;
    --fmt-tab: calc(5.25rem * var(--fmt-ui-scale));
    --fmt-gap: calc(0.65rem * var(--fmt-ui-scale));
    --fmt-pad: calc(1.25rem * var(--fmt-ui-scale));
    --fmt-tab-cols: 3;
    /* 14 tab buttons → 5 filas en grilla 3 columnas */
    --fmt-tab-rows: 5;
    --fmt-tab-block-w: calc(
        var(--fmt-tab-cols) * var(--fmt-tab) + (var(--fmt-tab-cols) - 1) * var(--fmt-gap) + 2 * var(--fmt-pad)
    );
    --fmt-tab-block-h: calc(
        var(--fmt-tab-rows) * var(--fmt-tab) + (var(--fmt-tab-rows) - 1) * var(--fmt-gap) + 2 * var(--fmt-pad)
    );
}

/* Match #whatwedo / #value-prop: py-14 md:py-20, px-6 md:px-12 lg:px-24 */
#formats-showcase.formats-showcase {
    padding: 3.5rem 1.5rem;
}

@media (min-width: 768px) {
    #formats-showcase.formats-showcase {
        padding: 5rem 3rem;
    }
}

@media (min-width: 1024px) {
    #formats-showcase.formats-showcase {
        padding: 5rem 6rem;
    }
}

#formats-showcase > .container {
    flex-shrink: 0;
    width: 100%;
}

#formats-showcase .formats-showcase__main {
    gap: calc(1.5rem * var(--fmt-ui-scale)) !important;
    padding: calc(1rem * var(--fmt-ui-scale)) !important;
    border-radius: calc(2.5rem * var(--fmt-ui-scale)) !important;
}

@media (min-width: 768px) {
    #formats-showcase .formats-showcase__main {
        gap: calc(2rem * var(--fmt-ui-scale)) !important;
        padding: calc(2rem * var(--fmt-ui-scale)) !important;
    }
}

@media (min-width: 1024px) {
    #formats-showcase .formats-showcase__main {
        gap: calc(2.5rem * var(--fmt-ui-scale)) !important;
        padding: calc(2.5rem * var(--fmt-ui-scale)) !important;
    }
}

#formats-showcase .formats-showcase__tabs--sidebar {
    gap: calc(0.75rem * var(--fmt-ui-scale)) !important;
}

#formats-showcase .formats-panel__device {
    border-radius: calc(1rem * var(--fmt-ui-scale));
}

#formats-showcase .formats-panel__device--desktop {
    max-width: calc(22rem * var(--fmt-ui-scale));
    border-radius: calc(0.75rem * var(--fmt-ui-scale));
}

#formats-showcase .formats-panel__device--tablet {
    max-width: calc(18rem * var(--fmt-ui-scale));
    border-radius: calc(1rem * var(--fmt-ui-scale));
}

#formats-showcase .formats-panel__device--phone {
    max-width: calc(12rem * var(--fmt-ui-scale));
    border-radius: calc(1.5rem * var(--fmt-ui-scale));
}

#formats-showcase .formats-panel__device--tv {
    max-width: calc(24rem * var(--fmt-ui-scale));
    border-radius: calc(0.5rem * var(--fmt-ui-scale));
}

#formats-showcase .formats-panel__device--billboard {
    max-width: calc(22rem * var(--fmt-ui-scale));
    border-radius: calc(0.5rem * var(--fmt-ui-scale));
}

#formats-showcase .formats-panel__placeholder {
    width: calc(4rem * var(--fmt-ui-scale));
    height: calc(4rem * var(--fmt-ui-scale));
    font-size: calc(1.4rem * var(--fmt-ui-scale));
}

#formats-showcase .formats-panel__cell--visual {
    min-height: calc(200px * var(--fmt-ui-scale));
}

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

.formats-showcase__title.omni-platform__title {
    font-family: var(--font-h2);
    color: var(--type-home-section-h2-color);
    text-wrap: balance;
}

.formats-showcase__title .formats-showcase__title-line {
    white-space: nowrap;
}

.formats-showcase__sub {
    max-width: 38rem;
    margin: 0 auto;
}

/* Creativity formats intro lede — same as solutions hero paragraph */
.creativity-page #formats-showcase .formats-showcase__sub.text-lg.scroll-reveal {
    font-family: var(--font-main);
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.75rem;
    color: #6b7280;
}

html.dark .creativity-page #formats-showcase .formats-showcase__sub.text-lg.scroll-reveal {
    color: #a1a1aa;
}

.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;

}

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

/* Compact tiles for long formats list */
@media (min-width: 769px) {
    #formats-showcase .formats-showcase__tabs--sidebar {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, var(--fmt-tab)));
        gap: var(--fmt-gap);
        justify-content: center;
        align-content: center;
        padding: var(--fmt-pad);
        width: var(--fmt-tab-block-w);
        min-width: var(--fmt-tab-block-w);
        max-width: var(--fmt-tab-block-w);
        height: var(--fmt-tab-block-h);
        min-height: var(--fmt-tab-block-h);
        max-height: var(--fmt-tab-block-h);
        box-sizing: border-box;
        background: rgba(255, 255, 255, 0.4);
        border-radius: calc(1.75rem * var(--fmt-ui-scale));
        border: 1px solid rgba(0, 0, 0, 0.03);
        align-self: start;
    }

    #formats-showcase .formats-tab--sidebar {
        width: var(--fmt-tab);
        aspect-ratio: 1 / 1;
        min-height: 0;
        padding: calc(0.35rem * var(--fmt-ui-scale)) calc(0.3rem * var(--fmt-ui-scale)) !important;
        border-radius: calc(0.8rem * var(--fmt-ui-scale));
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: calc(0.25rem * var(--fmt-ui-scale));
        font-size: calc(0.66rem * var(--fmt-ui-scale)) !important;
        line-height: 1.15;
    }

    #formats-showcase .formats-tab--sidebar .formats-tab__icon {
        order: -1;
        font-size: calc(1.15rem * var(--fmt-ui-scale));
    }

    #formats-showcase .formats-panel-grid--md-split {
        display: grid;
        grid-template-columns: var(--fmt-tab-block-w) minmax(0, 1fr);
        column-gap: calc(1.5rem * var(--fmt-ui-scale));
        row-gap: calc(1.5rem * var(--fmt-ui-scale));
        align-items: stretch;
    }

    #formats-showcase .formats-panel__cell--info {
        width: var(--fmt-tab-block-w);
        min-width: var(--fmt-tab-block-w);
        max-width: var(--fmt-tab-block-w);
        height: var(--fmt-tab-block-h);
        min-height: var(--fmt-tab-block-h);
        max-height: var(--fmt-tab-block-h);
        box-sizing: border-box;
        padding: calc(0.85rem * var(--fmt-ui-scale)) calc(0.9rem * var(--fmt-ui-scale));
        border-radius: calc(1.75rem * var(--fmt-ui-scale));
        align-self: start;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    #formats-showcase .formats-panel__cell--info .formats-panel__info-content h3 {
        font-size: clamp(0.9rem, 2.04vw, 1.105rem) !important;
        line-height: 1.18;
        margin-bottom: calc(0.4rem * var(--fmt-ui-scale)) !important;
    }

    #formats-showcase .formats-panel__cell--info p {
        font-size: calc(0.72rem * var(--fmt-ui-scale)) !important;
        line-height: 1.38;
    }

    #formats-showcase .formats-panel__cell--info .formats-panel__info-content p {
        margin-bottom: 0;
    }

    #formats-showcase .formats-panel__cell--info .formats-panel__metrics--cards {
        padding-top: 0.65rem;
        margin-top: auto;
    }

    #formats-showcase .formats-panel__cell--visual {
        min-height: var(--fmt-tab-block-h) !important;
    }
}

.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;
}

#formats-showcase .formats-showcase__panels--split .formats-panel.is-active {
    min-height: 100%;
}

.formats-panel__cell--info {
    min-width: 0;
}

#formats-showcase .formats-panel__info-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
}

#formats-showcase .formats-panel__info-content h3,
#formats-showcase .formats-panel__info-content p {
    width: 100%;
    text-align: center;
}

#formats-showcase .formats-panel__info-content p {
    margin-bottom: 0;
}

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

#formats-showcase .formats-panel__cell--info .formats-panel__metrics--cards {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: calc(0.65rem * var(--fmt-ui-scale));
    width: 100%;
    max-width: 100%;
    margin-top: auto;
    padding-top: calc(1rem * var(--fmt-ui-scale));
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

#formats-showcase .formats-panel__cell--info .formats-metric--card {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: calc(0.35rem * var(--fmt-ui-scale));
    padding: calc(0.65rem * var(--fmt-ui-scale)) calc(0.5rem * var(--fmt-ui-scale)) calc(0.55rem * var(--fmt-ui-scale));
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: calc(0.65rem * var(--fmt-ui-scale));
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    text-align: center;
}

#formats-showcase .formats-panel__cell--info .formats-metric--card .formats-metric__value {
    display: block;
    width: 100%;
    font-size: calc(0.95rem * var(--fmt-ui-scale));
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #7B06CC;
    white-space: nowrap;
    flex-shrink: 0;
}

#formats-showcase .formats-panel__cell--info .formats-metric--card .formats-metric__label {
    display: block;
    width: 100%;
    font-size: calc(0.75rem * var(--fmt-ui-scale));
    font-weight: 500;
    line-height: 1.25;
    color: #4b5563;
    margin-top: 0;
    white-space: normal;
    text-align: center;
    word-break: break-word;
    hyphens: auto;
    min-width: 0;
}

#formats-showcase .formats-panel__cell--info p {
    margin-bottom: 0;
}

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

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

@keyframes formatsFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.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;

}

.formats-panel__device--tablet {
    width: 80%;
    max-width: 18rem;
    aspect-ratio: 4 / 3;
    border-radius: 1rem;

}

.formats-panel__device--phone {
    width: 50%;
    max-width: 12rem;
    aspect-ratio: 9 / 16;
    border-radius: 1.5rem;

}

.formats-panel__device--tv {
    width: 100%;
    max-width: 24rem;
    aspect-ratio: 16 / 9;
    border-radius: 0.5rem;

}

.formats-panel__device--billboard {
    width: 100%;
    max-width: 22rem;
    aspect-ratio: 2 / 1;
    border-radius: 0.5rem;

}

.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;
}

.formats-panel__info h3 {
    font-family: var(--font-h3);
    font-size: var(--type-home-card-h3-size);
    font-weight: var(--type-home-card-h3-weight);
    letter-spacing: var(--type-home-card-h3-ls);
    line-height: var(--type-home-card-h3-lh);
    color: var(--type-home-card-h3-color);
    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;
}

@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) 1.5rem;
    }

    #reach.hypeads-reach.brands-platforms-section {
        padding: clamp(0.85rem, 2.2vh, 1.5rem) 1.5rem;
    }

    #contact.contact-section.page-section {
        padding: clamp(0.85rem, 2.2vh, 1.5rem) 1.5rem;
    }

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

    #formats-showcase .formats-showcase__main {
        gap: calc(0.85rem * var(--fmt-ui-scale));
    }

    @media (min-width: 1024px) {
        #formats-showcase .formats-showcase__main {
            gap: calc(1.1rem * var(--fmt-ui-scale));
        }
    }

    #formats-showcase .formats-showcase__tabs--sidebar {
        gap: calc(0.3rem * var(--fmt-ui-scale));
    }

    #formats-showcase .formats-tab--sidebar {
        padding: calc(0.5rem * var(--fmt-ui-scale)) calc(0.95rem * var(--fmt-ui-scale));
        font-size: calc(0.8125rem * var(--fmt-ui-scale));
        border-radius: calc(0.75rem * var(--fmt-ui-scale));
    }

    #formats-showcase .formats-tab__icon {
        font-size: calc(1.05rem * var(--fmt-ui-scale));
    }

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

    #formats-showcase .formats-panel>.formats-panel-grid {
        gap: calc(0.65rem * var(--fmt-ui-scale));
    }

    #formats-showcase .formats-panel>.formats-panel-grid>.formats-panel__cell--info {
        padding: calc(0.85rem * var(--fmt-ui-scale)) calc(1rem * var(--fmt-ui-scale)) !important;
        border-radius: calc(1.1rem * var(--fmt-ui-scale));
    }

    #formats-showcase .formats-panel>.formats-panel-grid>div:not(.formats-panel__cell--info) {
        border-radius: calc(1.1rem * var(--fmt-ui-scale));
    }

    #formats-showcase .formats-panel .formats-panel__device--desktop {
        max-width: calc(13.5rem * var(--fmt-ui-scale));
    }

    #formats-showcase .formats-panel .formats-panel__device--tablet {
        max-width: calc(11.5rem * var(--fmt-ui-scale));
    }

    #formats-showcase .formats-panel .formats-panel__device--phone {
        max-width: calc(6.75rem * var(--fmt-ui-scale));
    }

    #formats-showcase .formats-panel .formats-panel__device--tv {
        max-width: calc(14.5rem * var(--fmt-ui-scale));
    }

    #formats-showcase .formats-panel .formats-panel__device--billboard {
        max-width: calc(13.5rem * var(--fmt-ui-scale));
    }

    #formats-showcase .formats-panel__info h3 {
        font-size: calc(1.1rem * var(--fmt-ui-scale)) !important;
        margin-bottom: calc(0.4rem * var(--fmt-ui-scale));
    }

    #formats-showcase .formats-panel__info p {
        font-size: calc(0.78rem * var(--fmt-ui-scale));
        line-height: 1.42;
        margin-bottom: 0;
    }

    #formats-showcase .formats-panel__cell--info .formats-panel__metrics--cards {
        gap: calc(0.45rem * var(--fmt-ui-scale));
        padding-top: calc(0.65rem * var(--fmt-ui-scale));
    }

    #formats-showcase .formats-panel__cell--info .formats-metric--card {
        padding: calc(0.45rem * var(--fmt-ui-scale)) calc(0.4rem * var(--fmt-ui-scale)) !important;
    }

    #formats-showcase .formats-panel__cell--info .formats-metric__value {
        font-size: calc(0.78rem * var(--fmt-ui-scale));
    }

    #formats-showcase .formats-panel__cell--info .formats-metric__label {
        font-size: calc(0.68rem * var(--fmt-ui-scale));
    }

    #formats-showcase .formats-panel .formats-panel__cell--visual.bg-surface-dark {
        min-height: calc(7rem * var(--fmt-ui-scale)) !important;
    }

    #formats-showcase .formats-panel .material-symbols-outlined.text-4xl {
        font-size: calc(1.6rem * var(--fmt-ui-scale)) !important;
        margin-bottom: calc(0.4rem * var(--fmt-ui-scale)) !important;
    }

    #formats-showcase .formats-panel .font-headline.font-bold.text-surface-dark.leading-snug {
        font-size: calc(0.78rem * var(--fmt-ui-scale));
        line-height: 1.32;
    }

    #formats-showcase .formats-panel .text-text-body.font-medium.leading-relaxed {
        font-size: calc(0.78rem * var(--fmt-ui-scale));
        line-height: 1.4;
    }

    #formats-showcase .formats-panel .rounded-full.bg-surface-low.shrink-0 {
        width: calc(2.35rem * var(--fmt-ui-scale)) !important;
        height: calc(2.35rem * var(--fmt-ui-scale)) !important;
    }

    #formats-showcase .formats-panel .rounded-full.bg-surface-low .fa-solid {
        font-size: calc(0.95rem * var(--fmt-ui-scale)) !important;
    }

    #formats-showcase .formats-panel__placeholder {
        width: calc(2.65rem * var(--fmt-ui-scale));
        height: calc(2.65rem * var(--fmt-ui-scale));
        font-size: calc(0.95rem * var(--fmt-ui-scale));
    }
}

@media (max-width: 768px) {
    #formats-showcase.formats-showcase {
        padding: 3.5rem 1.5rem;
    }

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

    #formats-showcase .formats-showcase__main {
        gap: calc(0.75rem * var(--fmt-ui-scale)) !important;
    }

    #formats-showcase .formats-showcase__tabs--sidebar {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: stretch;
        gap: calc(0.45rem * var(--fmt-ui-scale)) !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: transparent 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: calc(0.35rem * var(--fmt-ui-scale));
    }

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

    #formats-showcase .formats-showcase__tabs--sidebar::-webkit-scrollbar-thumb {
        background: transparent;
        border-radius: 999px;
    }

    #formats-showcase .formats-tab--sidebar {
        flex: 0 0 auto !important;
        width: calc(4.25rem * var(--fmt-ui-scale)) !important;
        aspect-ratio: 1 / 1;
        min-width: 0;
        min-height: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: calc(0.28rem * var(--fmt-ui-scale));
        padding: calc(0.3rem * var(--fmt-ui-scale)) calc(0.22rem * var(--fmt-ui-scale)) !important;
        font-size: calc(0.66rem * var(--fmt-ui-scale)) !important;
        font-weight: 600;
        border-radius: calc(0.7rem * var(--fmt-ui-scale)) !important;
        text-align: center;
        scroll-snap-align: start;
    }

    #formats-showcase .formats-tab__icon {
        font-size: calc(0.95rem * var(--fmt-ui-scale));
    }

    #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: calc(0.65rem * var(--fmt-ui-scale)) !important;
    }

    #formats-showcase .formats-panel>.formats-panel-grid>div {
        border-radius: calc(1rem * var(--fmt-ui-scale)) !important;
    }

    #formats-showcase .formats-panel>.formats-panel-grid>.formats-panel__cell--info {
        padding: calc(0.85rem * var(--fmt-ui-scale)) calc(1rem * var(--fmt-ui-scale)) !important;
    }

    #formats-showcase .formats-panel>.formats-panel-grid>.formats-panel__cell--visual {
        padding: calc(0.6rem * var(--fmt-ui-scale)) calc(0.55rem * var(--fmt-ui-scale)) !important;
    }

    #formats-showcase .formats-panel>.formats-panel-grid>.formats-panel__cell--footer {
        padding: calc(0.55rem * var(--fmt-ui-scale)) calc(0.75rem * var(--fmt-ui-scale)) !important;
    }

    #formats-showcase .formats-panel .formats-panel__device--desktop {
        max-width: calc(12.5rem * var(--fmt-ui-scale));
    }

    #formats-showcase .formats-panel .formats-panel__device--tablet {
        max-width: calc(10.5rem * var(--fmt-ui-scale));
    }

    #formats-showcase .formats-panel .formats-panel__device--phone {
        max-width: calc(6.25rem * var(--fmt-ui-scale));
    }

    #formats-showcase .formats-panel .formats-panel__device--tv {
        max-width: calc(13rem * var(--fmt-ui-scale));
    }

    #formats-showcase .formats-panel .formats-panel__device--billboard {
        max-width: calc(12.5rem * var(--fmt-ui-scale));
    }

    #formats-showcase .formats-panel__info h3 {
        font-size: calc(1.05rem * var(--fmt-ui-scale)) !important;
        margin-bottom: calc(0.35rem * var(--fmt-ui-scale)) !important;
    }

    #formats-showcase .formats-panel__info p {
        font-size: calc(0.8125rem * var(--fmt-ui-scale));
        line-height: 1.45;
        margin-bottom: 0;
    }

    #formats-showcase .formats-panel__cell--info .formats-panel__metrics--cards {
        gap: calc(0.45rem * var(--fmt-ui-scale));
        padding-top: calc(0.6rem * var(--fmt-ui-scale));
    }

    #formats-showcase .formats-panel__cell--info .formats-metric--card {
        padding: calc(0.45rem * var(--fmt-ui-scale)) calc(0.4rem * var(--fmt-ui-scale)) !important;
    }

    #formats-showcase .formats-panel__cell--info .formats-metric__value {
        font-size: calc(0.78rem * var(--fmt-ui-scale));
    }

    #formats-showcase .formats-panel__cell--info .formats-metric__label {
        font-size: calc(0.68rem * var(--fmt-ui-scale));
    }

    #formats-showcase .formats-panel .formats-panel__cell--visual.bg-surface-dark {
        min-height: calc(7.5rem * var(--fmt-ui-scale)) !important;
    }

    #formats-showcase .formats-panel .formats-panel__cell--footer .material-symbols-outlined {
        font-size: calc(1.25rem * var(--fmt-ui-scale)) !important;
    }

    #formats-showcase .formats-panel .formats-panel__cell--footer .font-headline.font-bold.text-surface-dark.leading-snug {
        font-size: calc(0.8rem * var(--fmt-ui-scale));
        line-height: 1.35;
    }

    #formats-showcase .formats-panel .formats-panel__cell--footer .text-text-body.font-medium {
        font-size: calc(0.8rem * var(--fmt-ui-scale));
        line-height: 1.4;
    }

    #formats-showcase .formats-panel .rounded-full.bg-surface-low.shrink-0 {
        width: calc(2.25rem * var(--fmt-ui-scale)) !important;
        height: calc(2.25rem * var(--fmt-ui-scale)) !important;
    }

    #formats-showcase .formats-panel .rounded-full.bg-surface-low .fa-solid {
        font-size: calc(0.85rem * var(--fmt-ui-scale)) !important;
    }

    #formats-showcase .formats-panel__placeholder {
        width: calc(2.35rem * var(--fmt-ui-scale));
        height: calc(2.35rem * var(--fmt-ui-scale));
        font-size: calc(0.85rem * var(--fmt-ui-scale));
    }

    .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;
    }

    @media (max-width: 767px) {
        #formats-showcase .formats-panel>.formats-panel-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: calc(0.5rem * var(--fmt-ui-scale)) !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: calc(7.5rem * var(--fmt-ui-scale)) !important;
            align-self: stretch;
        }

        #formats-showcase .formats-panel>.formats-panel-grid>.formats-panel__cell--footer {
            grid-column: 1 / -1;
            padding: calc(0.5rem * var(--fmt-ui-scale)) calc(0.65rem * var(--fmt-ui-scale)) !important;
            gap: calc(0.5rem * var(--fmt-ui-scale)) !important;
        }

        #formats-showcase .formats-panel>.formats-panel-grid>.formats-panel__cell--footer .material-symbols-outlined {
            font-size: calc(1.1rem * var(--fmt-ui-scale)) !important;
        }

        #formats-showcase .formats-panel>.formats-panel-grid>.formats-panel__cell--footer .font-headline {
            font-size: calc(0.72rem * var(--fmt-ui-scale)) !important;
            line-height: 1.32 !important;
        }

        #formats-showcase .formats-panel>.formats-panel-grid>.formats-panel__cell--footer .rounded-full.bg-surface-low {
            width: calc(2rem * var(--fmt-ui-scale)) !important;
            height: calc(2rem * var(--fmt-ui-scale)) !important;
        }

        #formats-showcase .formats-panel>.formats-panel-grid>.formats-panel__cell--footer .fa-solid {
            font-size: calc(0.8rem * var(--fmt-ui-scale)) !important;
        }

        #formats-showcase .formats-panel>.formats-panel-grid>.formats-panel__cell--footer .text-text-body {
            font-size: calc(0.78rem * var(--fmt-ui-scale)) !important;
            line-height: 1.38 !important;
        }
    }

    .logo__stack {
        --nav-logo-crop-width: clamp(5rem, 11vw, 6.5rem);
    }

    .navbar > a.logo .logo__stack {
        --nav-logo-crop-width: clamp(4rem, 18vw, 5rem);
    }

    .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;
    }

    .star-center {
        font-size: 1.2rem;
    }

    section {
        height: auto;
        min-height: 100vh;
        padding: 5rem 1.5rem 3rem;
        overflow: visible;
    }

    .content-card>main>section:not(#hero) {
        padding-left: var(--page-gutter-x);
        padding-right: var(--page-gutter-x);
    }

    section#whatwedo.whatwedo-omnichannel {
        padding: 1rem 2rem 1.25rem;
        min-height: 100svh;
        min-height: 100dvh;
    }

    section#whatwedo.whatwedo-omnichannel.services-overlay {
        padding-top: 1rem;
    }

    #whatwedo.whatwedo-omnichannel.services-overlay.services-overlay--pillars {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .contact-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .contact-section.page-section {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    #contact.contact-section .contact-cta-card,
    #main-content #contact .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,
    #main-content #contact .contact-cta-card>.grid {
        gap: 1.5rem !important;
    }

    #contact.contact-section .contact-cta-card>.grid>div.flex.flex-col.gap-5,
    #main-content #contact .contact-cta-card>.grid>div.flex.flex-col.gap-5 {
        gap: 0.9rem !important;
    }

    #main-content #contact.contact-section .contact-cta-card h2.home-contact__title {
        font-size: clamp(1.15rem, 4.8vw, 1.5rem);
    }

    #main-content #contact .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,
    #main-content #contact .contact-cta-card>.grid>div:first-child p.text-base {
        font-size: 0.875rem;
        line-height: 1.55;
    }

    #contact.contact-section .contact-form-stack,
    #main-content #contact .contact-form-stack {
        gap: 0.65rem !important;
    }

    #contact.contact-section .contact-inquiry-form,
    #main-content #contact .contact-inquiry-form {
        gap: 0.65rem !important;
    }

    #contact.contact-section .contact-inquiry-form>.grid,
    #main-content #contact .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,
    #main-content #contact .contact-inquiry-form input,
    #main-content #contact .contact-inquiry-form select,
    #main-content #contact .contact-inquiry-form textarea {
        padding: 0.45rem 0.65rem;
        font-size: 0.8125rem;
    }

    #contact.contact-section .contact-inquiry-form textarea,
    #main-content #contact .contact-inquiry-form textarea {
        min-height: 4.25rem;
    }

    #contact.contact-section .contact-inquiry-form button[type="submit"],
    #main-content #contact .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,
    #main-content #contact .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,
    #main-content #contact .contact-cta-card .mt-2 .h-9.w-9 {
        width: 2rem;
        height: 2rem;
    }

    #contact.contact-section .contact-cta-card .mt-2 .fa-solid,
    #main-content #contact .contact-cta-card .mt-2 .fa-solid {
        font-size: 0.8rem;
    }

    #contact.contact-section .contact-thank-you,
    #main-content #contact .contact-thank-you {
        padding: 0.85rem 1rem;
        font-size: 0.8125rem;
    }

    .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));
    }

    .site-footer__grid {
        gap: clamp(1.35rem, 4vw, 1.85rem);
    }

    .site-footer__bottom {
        align-items: center;
        gap: 0.75rem;
        padding-top: 1.25rem;
    }

    .site-footer__legal {
        justify-content: center;
    }
}

.value-prop {
    padding: var(--section-block-pad-y) 0;
}

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

.value-prop__title {
    font-family: var(--font-h2);
    font-size: var(--type-home-section-h2-size);
    font-weight: var(--type-home-section-h2-weight);
    letter-spacing: var(--type-home-section-h2-ls);
    line-height: var(--type-home-section-h2-lh);
    color: var(--type-home-section-h2-color);
    margin-bottom: 1.25rem;
}

.value-prop__sub {
    max-width: 38rem;
    margin: 0 auto;
}

.value-prop__bento {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
    gap: clamp(1.25rem, 3vw, 1.5rem);
    max-width: 72rem;
    margin: 0 auto;
    grid-auto-rows: minmax(0, auto);
}

.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);

}

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

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

.value-bento-tile__title {
    font-family: var(--font-h3);
    font-size: var(--type-home-card-h3-size);
    font-weight: var(--type-home-card-h3-weight);
    letter-spacing: var(--type-home-card-h3-ls);
    line-height: var(--type-home-card-h3-lh);
    color: var(--type-home-card-h3-color);
    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;

    padding: clamp(2rem, 4vw, 3rem);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.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: var(--type-home-card-h3-size);
    line-height: var(--type-home-card-h3-lh);
    font-weight: 400;
    color: var(--text-muted);
}

/* Second line of title — same gray as “Para …” (no .gradient-text: it uses transparent !important) */
.value-bento-tile--publishers .value-bento-tile__title .value-bento-tile__accent,
.value-bento-tile--brands-wide .value-bento-tile__title .value-bento-tile__accent {
    color: inherit;
    font-weight: inherit;
}

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

.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 .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;
}

.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;
}

.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 0;
    overflow: hidden;
    isolation: isolate;
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
}

.site-footer.site-footer--brand-gradient:not(.site-footer--reveal) {
    background: linear-gradient(
        180deg,
        #111111 0%,
        #1a0f2e 32%,
        #3b2478 62%,
        #5b21b6 100%
    );
    border-block: 1px solid color-mix(in srgb, #111111 35%, #5b21b6 45%);
    padding: 1rem clamp(1rem, 4vw, 2.75rem) 1rem;
}

@media (min-width: 768px) {
    .site-footer.site-footer--brand-gradient:not(.site-footer--reveal) {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

.site-footer.site-footer--brand-gradient.site-footer--reveal {
    background: linear-gradient(
        180deg,
        #111111 0%,
        #1a0f2e 32%,
        #3b2478 62%,
        #5b21b6 100%
    );
}

.site-footer.site-footer--brand-gradient::before,
.site-footer.site-footer--brand-gradient::after {
    display: none;
}

.site-footer.site-footer--reveal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 0;
}

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: min(72rem, 100%);
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
    height: auto;
}

.site-footer.site-footer--brand-gradient .site-footer__inner.container {
    max-width: 72rem;
}

.site-footer__brand {
    margin-bottom: 0;
}

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

.site-footer__logo-img {
    height: 3.25rem;
    width: auto;
    object-fit: contain;
    /* Dark/purple mark → white on footer violet */
    filter: brightness(0) invert(1);
}

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

.site-footer__touch-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: center;
    width: 100%;
}

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

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

.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;

}

.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;

    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;
    justify-items: center;
    align-self: stretch;
    gap: clamp(2rem, 4.5vw, 2.75rem);
    margin-bottom: clamp(1.75rem, 3.5vw, 2.25rem);
    align-items: start;
    width: 100%;
}

@media (min-width: 768px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(1.5rem, 3vw, 2.5rem);
        max-width: 100%;
    }
}

.site-footer__col--contact .site-footer__touch-actions {
    margin-top: 0.35rem;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .site-footer__col--contact .site-footer__touch-actions {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

.site-footer__col--contact .site-footer__heading {
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.site-footer__col--contact .site-footer__touch-item {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: left;
    max-width: min(20rem, 100%);
    margin: 0 auto;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
    gap: 0.65rem;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.site-footer.site-footer--brand-gradient .site-footer__col--contact .site-footer__touch-item {
    padding: 0.65rem 1.25rem;
    background: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    color: #3630a7;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-footer__col--contact .site-footer__touch-item:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: none;
}

.site-footer.site-footer--brand-gradient .site-footer__col--contact .site-footer__touch-item:hover {
    transform: scale(1.03);
    background: #fff;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    color: #3630a7;
}

.site-footer__col--contact .site-footer__touch-icon {
    width: 2rem;
    height: 2rem;
    margin-top: 0;
    border-radius: 999px;
    font-size: 0.82rem;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.site-footer.site-footer--brand-gradient .site-footer__col--contact .site-footer__touch-icon {
    background: rgba(54, 48, 167, 0.08);
    color: #7b06cd;
    border: none;
}

.site-footer__col--contact .site-footer__touch-item:hover .site-footer__touch-icon {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.14);
}

.site-footer.site-footer--brand-gradient .site-footer__col--contact .site-footer__touch-item:hover .site-footer__touch-icon {
    background: rgba(54, 48, 167, 0.12);
    color: #7b06cd;
    border: none;
}

.site-footer__col--contact .site-footer__touch-meta {
    align-items: flex-start;
    gap: 0.2rem;
}

.site-footer__col--contact .site-footer__touch-label {
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.58);
}

.site-footer.site-footer--brand-gradient .site-footer__col--contact .site-footer__touch-label {
    color: rgba(54, 48, 167, 0.65);
}

.site-footer__col--contact .site-footer__touch-value {
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
}

.site-footer.site-footer--brand-gradient .site-footer__col--contact .site-footer__touch-value {
    color: #3630a7;
}

.site-footer__col {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    width: 100%;
    min-width: 0;
}

.site-footer.site-footer--brand-gradient:not(.site-footer--reveal) .site-footer__col {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 1rem;
    padding: 1.75rem 1.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

@media (min-width: 768px) {
    .site-footer.site-footer--brand-gradient:not(.site-footer--reveal) .site-footer__col {
        padding: 2rem;
        border-radius: 0.75rem;
    }
}

.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;
}

.site-footer__col--nav {
    align-items: flex-start;
    text-align: left;
}

.site-footer.site-footer--brand-gradient .site-footer__col--nav {
    align-items: center;
    text-align: center;
}

.site-footer__nav {
    width: 100%;
}

.site-footer__links--grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 1.5rem;
    justify-items: start;
    align-items: start;
    width: 100%;
}

.site-footer.site-footer--brand-gradient .site-footer__links--grid {
    justify-items: center;
}

@media (min-width: 768px) {
    .site-footer__links--grid {
        column-gap: 1.75rem;
    }
}

.site-footer__heading {
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: #f8f9fa;
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-align: center;
    width: 100%;
}

.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.site-footer--brand-gradient .site-footer__lead {
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}

.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: #000;
    font-size: 0.875rem;
    background: #fff;

    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-footer__social-btn:hover {
    transform: translateY(-2px);

    color: #000;
}

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

.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: 0.9rem;
    align-items: center;
    align-self: stretch;
    text-align: center;
    width: 100%;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    box-sizing: border-box;
}

.site-footer.site-footer--brand-gradient .site-footer__bottom {
    border-top-color: rgba(255, 255, 255, 0.22);
}

html.dark .site-footer.site-footer--brand-gradient {
    background: linear-gradient(
        180deg,
        #111111 0%,
        #140c22 30%,
        #352066 58%,
        #6d28d9 100%
    );
    border-block-color: rgba(255, 255, 255, 0.08);
}

html.dark .site-footer.site-footer--brand-gradient:not(.site-footer--reveal) .site-footer__col {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.12);
}

.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.5rem 1.1rem;
    align-items: center;
    justify-content: 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;
}

/* Footer reveal — editorial grid (brand / sitio / oficinas) */
.site-footer.site-footer--reveal.site-footer--brand-gradient {
    border-block: none;
    padding: clamp(2.4rem, 4.2vw, 3.9rem) clamp(1.8rem, 6vw, 4.8rem) clamp(1.5rem, 3vw, 2.4rem);
    font-family: var(--font-main);
    height: auto;
    max-height: none;
}

.site-footer.site-footer--reveal.site-footer--brand-gradient::before {
    display: block;
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 85% 60% at 12% 0%, rgba(255, 255, 255, 0.08), transparent 55%),
        radial-gradient(ellipse 70% 50% at 88% 100%, rgba(91, 33, 182, 0.35), transparent 52%);
}

.site-footer.site-footer--reveal .site-footer__inner {
    align-items: stretch;
    text-align: left;
    width: 100%;
    max-width: min(72rem, 100%);
    margin: 0 auto;
    padding: 0;
    height: auto;
}

.site-footer.site-footer--reveal .site-footer__grid--editorial {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: stretch;
    align-items: start;
    gap: clamp(1.25rem, 2.5vw, 2rem);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    width: 100%;
}

@media (min-width: 768px) {
    .site-footer.site-footer--reveal .site-footer__grid--editorial {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.7fr) minmax(0, 0.9fr);
        gap: clamp(1.5rem, 3vw, 2.5rem);
    }
}

.site-footer.site-footer--reveal .site-footer__col {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    min-width: 0;
    text-align: left;
}

.site-footer.site-footer--reveal .site-footer__col--brand {
    align-items: flex-start;
    text-align: left;
}

.site-footer.site-footer--reveal .site-footer__col--brand .site-footer__brand {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 0;
}

.site-footer.site-footer--reveal .site-footer__heading {
    margin: 0 0 0.75rem;
    font-family: var(--font-main);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.site-footer.site-footer--reveal .site-footer__ai-ask,
.site-footer.site-footer--reveal .site-footer__bottom {
    width: 100%;
    align-self: stretch;
}

.site-footer.site-footer--reveal .site-footer__logo-img {
    height: clamp(3.75rem, 5.75vw, 5.5rem);
    width: auto;
    margin-top: 4px;
    margin-left: 8px;
    filter: brightness(0) invert(1);
}

.site-footer.site-footer--reveal .site-footer__col--nav,
.site-footer.site-footer--reveal .site-footer__col--offices {
    margin-top: 18px;
}

.site-footer.site-footer--reveal .site-footer__lead {
    margin: 0;
    max-width: 26rem;
    text-align: left;
    font-family: var(--font-main);
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
}

.site-footer.site-footer--reveal .site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer.site-footer--reveal .site-footer__links--split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    column-gap: 1.25rem;
    row-gap: 0.35rem;
}

.site-footer.site-footer--reveal .site-footer__links a {
    display: inline-block;
    font-family: var(--font-main);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer.site-footer--reveal .site-footer__links a:hover {
    color: #fff;
}

.site-footer.site-footer--reveal .site-footer__offices {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.25rem;
    row-gap: 0.3rem;
}

.site-footer.site-footer--reveal .site-footer__offices--split {
    grid-template-rows: repeat(5, auto);
    grid-auto-flow: column;
}

.site-footer.site-footer--reveal .site-footer__offices li {
    font-family: var(--font-main);
    font-size: 0.8125rem;
    font-weight: 300;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.72);
}

.site-footer.site-footer--reveal .site-footer__ai-ask {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin: 0 0 9px;
    padding: 0.5rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    text-align: center;
}

@media (min-width: 768px) {
    .site-footer.site-footer--reveal .site-footer__ai-ask {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 1.25rem;
    }
}

.site-footer.site-footer--reveal .site-footer__ai-ask-title {
    margin: 0;
    flex-shrink: 0;
    font-family: var(--font-main);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
}

.site-footer.site-footer--reveal .site-footer__ai-ask-icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.site-footer__ai-ask-link {
    display: inline-flex;
    height: 2.25rem;
    width: 2.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: #fff;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        color 0.2s ease;
}

.site-footer__ai-ask-link:hover {
    border-color: rgba(192, 132, 252, 0.6);
    color: #e9d5ff;
}

.site-footer__ai-ask-link:focus-visible {
    outline: 2px solid #c084fc;
    outline-offset: 2px;
}

.site-footer__ai-ask-link svg {
    height: 1.25rem;
    width: 1.25rem;
    fill: currentColor;
}

.site-footer.site-footer--reveal .site-footer__copy,
.site-footer.site-footer--reveal .site-footer__legal a {
    font-family: var(--font-main);
}

.site-footer.site-footer--reveal .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    text-align: left;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (min-width: 640px) {
    .site-footer.site-footer--reveal .site-footer__bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1rem 1.5rem;
    }

    .site-footer.site-footer--reveal .site-footer__legal {
        justify-content: flex-end;
    }
}

html.dark .site-footer.site-footer--reveal .site-footer__col {
    background: transparent;
    border: none;
}

.fade-in {
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

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

.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);
}

.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);

}

.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;
}

@media (max-width: 1024px) {
    html {
        overflow-x: hidden; /* clip breaks position:fixed in WebKit/Brave-Mac */
    }

    .circular-badge {
        display: none !important;
    }

    .social-totem {
        left: clamp(0.5rem, 2.5vw, 1rem);
        --social-totem-gap: 0.625rem;
        --social-totem-icon-size: 0.75rem;
        --social-totem-hit: 1.5rem;
        --social-totem-line-height: 36px;
    }

    body.nav-mobile-open .navbar>.logo {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    body.nav-mobile-open .navbar {
        z-index: 175;
    }

    .navbar-reveal {
        display: none !important;
    }

    .desktop-nav {
        display: none !important;
    }

    .navbar {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;

        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;
    }

    .navbar>.logo {
        position: fixed;
        top: calc(max(1.25rem, env(safe-area-inset-top, 0px)) + 2.75rem);
        left: var(--page-gutter-x);
        right: auto;
        flex: none;
        margin: 0;
        transform: translate(-10px, 0);
        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;
    }

    .hamburger-menu.active span {
        background: #0f0f0f;
    }

    html.dark .hamburger-menu.active span {
        background: #e8e6f0;
    }
}

/*
 * Blog + Elfsight: default #page-wrapper is overflow:hidden. Relax so embed overlays stack.
 */
body[data-active-nav="blog"] #page-wrapper {
    overflow: visible !important;
    z-index: auto !important;
}

/* Sportads: same injected chrome as inner pages; light logo/totem on full-viewport dark canvas */
body[data-active-nav="sportads"] {
    --social-totem-capabilities: 1;
}

@media (max-width: 1024px) and (min-width: 769px) {
    .hero.page-section--hero {
        --hero-pad-top: clamp(4.4rem, 8vw, 5.1rem);
    }
}

.hypeads-content-grid__intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.125rem;
    margin-bottom: 0;
}

.hypeads-content-grid__intro-copy {
    max-width: calc(39rem * 1.42);
}

.hypeads-content-grid .omni-platform__sub {
    max-width: calc(30rem * 1.42);
}

.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(auto-fit, minmax(min(100%, 13rem), 1fr));
    gap: clamp(0.9375rem, 3vw, 2.25rem);
}

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

.hypeads-mission-card__counter {
    font-size: clamp(1.05rem, 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: clamp(0.6rem, 1.05vw, 0.675rem);
    color: #64748b;
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

.hypeads-forest {
    display: grid;

    grid-template-columns: 1fr;
    gap: clamp(0.75rem, 2vw, 1.35rem);
    align-items: center;
}

/* Omni section — CTV dashboard mockup (from design export) */
#omni-differentials .hypeads-forest .brxe-container {
    width: 100%;
    max-width: none;
}

#omni-differentials .omni-ctv-showcase {
    --omni-ctv-scale: 0.9;
    font-family: var(--font-main);
    background: transparent !important;
    border: none;
    box-shadow: none;
    width: 100%;
    max-width: none;
}

#omni-differentials .omni-ctv-showcase__stage {
    padding-block: calc(1.5rem * var(--omni-ctv-scale));
}

@media (min-width: 768px) {
    #omni-differentials .omni-ctv-showcase__stage {
        padding-block: calc(2.5rem * var(--omni-ctv-scale));
    }
}

#omni-differentials .omni-ctv-showcase__tv {
    width: calc(1100px * var(--omni-ctv-scale)) !important;
    height: calc(720px * var(--omni-ctv-scale)) !important;
}

#omni-differentials .omni-ctv-showcase__main {
    width: 100%;
    max-width: none;
    min-height: calc(720px * var(--omni-ctv-scale)) !important;
    overflow: visible;
}

#omni-differentials .omni-ctv-showcase .glass-heavy {
    background: rgba(10, 12, 16, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

#omni-differentials .omni-ctv-showcase .glass-light {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

#omni-differentials .omni-ctv-showcase .pulse-dot {
    animation: omni-ctv-pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes omni-ctv-pulse-dot {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 10px rgba(239, 68, 68, 0.8);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
        box-shadow: 0 0 0 rgba(239, 68, 68, 0);
    }
}

#omni-differentials .omni-ctv-showcase .iphone-pro {
    background: #000;
    border-radius: 62px;
    box-shadow:
        inset 0 0 4px rgba(255, 255, 255, 0.2),
        inset 0 0 10px rgba(255, 255, 255, 0.1),
        -20px 30px 60px rgba(0, 0, 0, 0.4),
        0 0 0 2px #444,
        0 0 0 8px #1a1a1a;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__apps-dock {
    bottom: 1.75rem;
    z-index: 30;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__progress {
    z-index: 20;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__ad {
    left: 50%;
    top: 42%;
    width: calc(852.7px * var(--omni-ctv-scale));
    height: calc(358.6px * var(--omni-ctv-scale));
    transform: translate(-50%, -50%);
    animation: omni-ctv-mercedes-popup 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    cursor: pointer;
    transition:
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s ease,
        border-color 0.5s ease;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__ad:hover {
    transform: translate(-50%, -50%);
    border-color: rgba(123, 6, 204, 0.4);
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.65),
        0 0 48px rgba(123, 6, 204, 0.22);
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__ad-media {
    overflow: hidden;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__ad-media-img {
    filter: grayscale(85%);
    transition: transform 0.7s ease, filter 0.6s ease;
    transform: scale(1);
    transform-origin: center center;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__ad:hover .omni-ctv-showcase__ad-media-img,
#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__ad-media:hover .omni-ctv-showcase__ad-media-img {
    transform: scale(1.12);
    filter: grayscale(0%);
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__ad-gradient {
    transition: opacity 0.5s ease;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__ad:hover .omni-ctv-showcase__ad-gradient {
    opacity: 0.72;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__ad-footer {
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__ad:hover .omni-ctv-showcase__ad-footer {
    transform: translateY(-5px);
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__ad-brand-icon {
    transition: transform 0.45s ease;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__ad:hover .omni-ctv-showcase__ad-brand-icon {
    transform: scale(1.08);
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__ad-progress-fill {
    width: 30%;
    transition: width 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__ad:hover .omni-ctv-showcase__ad-progress-fill {
    width: 58%;
}

@keyframes omni-ctv-mercedes-popup {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__iphone {
    left: calc(-8rem * var(--omni-ctv-scale));
    right: auto;
    top: 54%;
    width: calc(368px * var(--omni-ctv-scale));
    height: calc(747.5px * var(--omni-ctv-scale));
    transform: translateY(-50%) scale(0.8) rotate(6deg);
    transform-origin: center center;
    transition: transform 0.7s ease, z-index 0s;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__iphone:hover {
    transform: translateY(-50%) scale(0.8) rotate(4deg);
    z-index: 70;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__iphone-like-icon {
    transition: fill 0.2s ease, stroke 0.2s ease, transform 0.2s ease;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__iphone-like.is-liked .omni-ctv-showcase__iphone-like-icon {
    fill: #ff3040;
    stroke: #ff3040;
    color: #ff3040;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__iphone-like.is-liked .omni-ctv-showcase__iphone-like-btn {
    animation: omni-iphone-like-btn-pop 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes omni-iphone-like-btn-pop {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.18);
    }

    100% {
        transform: scale(1);
    }
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__iphone-heart-burst {
    position: absolute;
    left: 50%;
    top: 46%;
    width: 5.5rem;
    height: 5.5rem;
    color: #ff3040;
    filter: drop-shadow(0 4px 18px rgba(255, 48, 64, 0.45));
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    animation: omni-iphone-heart-burst 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    pointer-events: none;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__iphone-heart-burst svg {
    width: 100%;
    height: 100%;
}

@keyframes omni-iphone-heart-burst {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }

    18% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.12);
    }

    32% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.92);
    }

    48% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    #omni-differentials .omni-ctv-showcase .omni-ctv-showcase__iphone-heart-burst {
        animation: none;
        opacity: 0;
    }

    #omni-differentials .omni-ctv-showcase .omni-ctv-showcase__iphone-like.is-liked .omni-ctv-showcase__iphone-like-btn {
        animation: none;
    }
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet {
    position: absolute;
    overflow: visible;
    right: calc((-11rem + 9.5px) * var(--omni-ctv-scale));
    bottom: calc(2.5rem * var(--omni-ctv-scale));
    width: calc(451px * var(--omni-ctv-scale));
    height: calc(638px * var(--omni-ctv-scale));
    --omni-tablet-nudge-x: -2.5rem;
    transform: rotate(-6deg) translateX(var(--omni-tablet-nudge-x));
    transform-origin: center center;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-btn {
    position: absolute;
    background: #333;
    z-index: 100;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-btn--power {
    top: -8px;
    left: 50%;
    width: 48px;
    height: 3px;
    transform: translateX(-50%);
    border-radius: 0 0 4px 4px;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-btn--vol-up {
    right: -8px;
    top: 20%;
    width: 3px;
    height: 32px;
    border-radius: 4px 0 0 4px;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-btn--vol-down {
    right: -8px;
    top: 28%;
    width: 3px;
    height: 32px;
    border-radius: 4px 0 0 4px;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet:hover {
    transform: rotate(0deg) scale(1.02) translateX(var(--omni-tablet-nudge-x));
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-dim {
    z-index: 2;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.42) 38%,
        rgba(0, 0, 0, 0.82) 100%
    );
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-hud {
    z-index: 0;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-brand {
    bottom: calc(1.35rem + 132px + 0.65rem);
    z-index: 3;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-sponsored {
    z-index: 4;
    transition:
        opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-sponsored:not(.is-hidden) {
    animation: omni-tablet-brand-in 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-sponsored.is-hidden,
#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-overlay.is-tablet-ad-dismissed .omni-ctv-showcase__tablet-sponsored {
    opacity: 0 !important;
    visibility: hidden;
    transform: translateY(-8px);
    animation: none !important;
    pointer-events: none;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__sponsored--tv,
#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-sponsored .omni-ctv-showcase__iphone-sponsored {
    font-size: 0.625rem;
    line-height: 1.25;
    padding: 0.125rem 0.375rem;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-overlay {
    z-index: 10;
    animation: omni-tablet-overlay-in 0.75s ease forwards;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-gradient {
    animation: omni-tablet-gradient-breathe 5s ease-in-out 0.4s infinite;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-hud {
    animation: omni-tablet-hud-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-dim {
    animation:
        omni-tablet-dim-in 0.85s ease 0.22s both,
        omni-tablet-dim-pulse 4s ease-in-out 1.15s infinite;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-brand {
    animation: omni-tablet-brand-in 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__ad-skip {
    animation: omni-ad-skip-pulse 2.4s ease-in-out infinite;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__ad-skip-label {
    display: inline-block;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__ad-skip-chevron {
    animation: omni-ad-skip-chevron 1.35s ease-in-out infinite;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__ad-skip-chevron svg {
    animation: omni-ad-skip-chevron-icon 1.35s ease-in-out infinite;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__iphone-sponsored-brand {
    font-weight: 600;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__iphone-sponsored:hover .omni-ctv-showcase__iphone-sponsored-brand {
    color: color-mix(in srgb, #7b06cd 62%, white);
    text-shadow:
        0 0 8px color-mix(in srgb, #7b06cd 55%, white),
        0 0 16px rgba(123, 6, 205, 0.55),
        0 0 22px rgba(123, 6, 205, 0.35);
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__iphone-cta-icon {
    transition: color 0.25s ease, filter 0.25s ease;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__iphone-cta:hover .omni-ctv-showcase__iphone-cta-icon {
    color: color-mix(in srgb, #7b06cd 62%, white);
    filter:
        drop-shadow(0 0 4px color-mix(in srgb, #7b06cd 55%, white))
        drop-shadow(0 0 10px rgba(123, 6, 205, 0.65))
        drop-shadow(0 0 16px rgba(123, 6, 205, 0.4));
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__iphone-comment-btn {
    animation: omni-iphone-comment-float 3s ease-in-out infinite;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__iphone-comment:hover .omni-ctv-showcase__iphone-comment-btn {
    animation: omni-iphone-comment-pop 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes omni-tablet-overlay-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes omni-tablet-gradient-breathe {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.88;
    }
}

@keyframes omni-tablet-hud-in {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

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

@keyframes omni-tablet-dim-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes omni-tablet-dim-pulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.9;
    }
}

@keyframes omni-tablet-brand-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

@keyframes omni-ad-skip-pulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.72;
    }
}

@keyframes omni-ad-skip-chevron {
    0%,
    100% {
        transform: translateX(0);
        border-color: rgba(255, 255, 255, 0.2);
    }

    50% {
        transform: translateX(2px);
        border-color: rgba(255, 255, 255, 0.38);
    }
}

@keyframes omni-ad-skip-chevron-icon {
    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(1px);
    }
}

@keyframes omni-iphone-comment-float {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-2px) scale(1.03);
    }
}

@keyframes omni-iphone-comment-pop {
    0% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.14);
    }

    100% {
        transform: scale(1);
    }
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-ad-wrap {
    bottom: 1.35rem;
    left: 50%;
    width: 88%;
    transform: translateX(-50%);
    z-index: 40;
    overflow: visible;
    transition:
        opacity 0.35s ease,
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-ad-wrap.is-dismissed {
    opacity: 0;
    transform: translateX(-50%) translateY(8px) scale(0.96);
    pointer-events: none;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-gradient,
#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-dim,
#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-sponsored,
#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-brand {
    transition:
        opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-overlay.is-tablet-ad-dismissed .omni-ctv-showcase__tablet-gradient,
#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-overlay.is-tablet-ad-dismissed .omni-ctv-showcase__tablet-dim,
#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-overlay.is-tablet-ad-dismissed .omni-ctv-showcase__tablet-sponsored,
#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-overlay.is-tablet-ad-dismissed .omni-ctv-showcase__tablet-brand {
    opacity: 0;
    animation: none;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-overlay.is-tablet-ad-restoring-dark .omni-ctv-showcase__tablet-gradient,
#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-overlay.is-tablet-ad-restoring-dark .omni-ctv-showcase__tablet-dim {
    opacity: 1;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-overlay.is-tablet-ad-restoring-dark .omni-ctv-showcase__tablet-brand {
    opacity: 0;
    transform: translateY(10px);
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-overlay.is-tablet-ad-restored .omni-ctv-showcase__tablet-brand {
    opacity: 1;
    transform: translateY(0);
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-sponsored:not(.is-hidden) {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-overlay.is-tablet-ad-restoring-dark .omni-ctv-showcase__tablet-gradient {
    animation: omni-tablet-gradient-breathe 5s ease-in-out 0.4s infinite;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-overlay.is-tablet-ad-restoring-dark .omni-ctv-showcase__tablet-dim {
    animation: omni-tablet-dim-pulse 4s ease-in-out 1.15s infinite;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-ad {
    width: 100%;
    height: 132px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.12),
        0 16px 48px rgba(0, 0, 0, 0.85);
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-screen {
    overflow: visible;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-screen > img {
    border-radius: 12px;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-ad-close {
    position: absolute;
    top: -0.75rem;
    right: -0.75rem;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-ad-close:hover {
    transform: scale(1.08);
    background: rgba(0, 0, 0, 0.88);
    border-color: rgba(255, 255, 255, 0.32);
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-ad-close:active {
    transform: scale(0.96);
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-ad-close-icon {
    width: 0.875rem;
    height: 0.875rem;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-ad-shade-a {
    background: linear-gradient(
        to top,
        rgba(123, 6, 204, 0.28) 0%,
        rgba(0, 0, 0, 0.35) 45%,
        transparent 100%
    );
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-ad-shade-b {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.62) 0%,
        transparent 42%,
        rgba(0, 0, 0, 0.52) 100%
    );
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-ad-progress {
    height: 1px;
    overflow: visible;
    z-index: 45;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-ad-progress-fill {
    position: relative;
    height: 100%;
    width: 40%;
    overflow: visible;
    background: #7b06cc;
    box-shadow: 0 0 5px rgba(123, 6, 204, 0.45);
    animation: none;
}

#omni-differentials .omni-ctv-showcase .omni-ctv-showcase__tablet-ad-wrap:hover .omni-ctv-showcase__tablet-ad-progress-fill {
    animation: omni-tablet-ad-progress 4s linear infinite;
}

@keyframes omni-tablet-ad-progress {
    0% {
        width: 0%;
    }

    100% {
        width: 40%;
    }
}

#omni-differentials .omni-ctv-showcase .device-shadow {
    box-shadow:
        -20px 40px 80px rgba(0, 0, 0, 0.8),
        inset 0 0 0 2px rgba(255, 255, 255, 0.05),
        inset 0 0 20px rgba(0, 0, 0, 0.5);
}

#omni-differentials .omni-ctv-showcase .device-shadow-right {
    box-shadow:
        20px 40px 80px rgba(0, 0, 0, 0.8),
        inset 0 0 0 2px rgba(255, 255, 255, 0.05),
        inset 0 0 20px rgba(0, 0, 0, 0.5);
}

#omni-differentials .omni-ctv-showcase .text-glow {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

#omni-differentials .omni-ctv-showcase .glass-panel {
    background: rgba(15, 18, 25, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#omni-differentials .omni-ctv-showcase .screen-glare {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0) 50%,
        rgba(255, 255, 255, 0.02) 100%
    );
    pointer-events: none;
}

#omni-differentials .omni-ctv-showcase .hide-scrollbar::-webkit-scrollbar {
    display: none;
}

#omni-differentials .omni-ctv-showcase .hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#omni-differentials .omni-ctv-showcase .pulse-ring {
    animation: omni-ctv-pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes omni-ctv-pulse-ring {
    0% {
        transform: scale(0.8);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }

    100% {
        transform: scale(0.8);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

#omni-differentials .omni-ctv-showcase .ambient-glow {
    display: none;
}

#omni-differentials .omni-ctv-showcase__stage {
    overflow: visible;
    width: 100%;
    padding-inline: 0;
}

#omni-differentials .omni-ctv-showcase__canvas {
    width: 100%;
    max-width: none;
    margin-inline: auto;
    transform: none;
}

/* CTV showcase — scroll / Safari performance */
.omni-ctv-showcase--paused,
.omni-ctv-showcase--paused * {
    animation-play-state: paused !important;
}

.omni-ctv-showcase--paused .omni-ctv-showcase__tablet-ad-wrap:hover .omni-ctv-showcase__tablet-ad-progress-fill {
    animation: none !important;
}

#omni-differentials .omni-ctv-showcase {
    contain: layout style;
}

#omni-differentials .omni-ctv-showcase__tv > img {
    transform: none !important;
}

#omni-differentials .omni-ctv-showcase__iphone-photo {
    filter: hue-rotate(210deg) saturate(1.35);
}

.omni-ctv-showcase--lite .glass-heavy,
.omni-ctv-showcase--lite .glass-light,
.omni-ctv-showcase--lite .glass-panel,
.omni-ctv-showcase--lite [class*='backdrop-blur'] {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.omni-ctv-showcase--lite .glass-heavy {
    background: rgba(10, 12, 16, 0.88) !important;
}

.omni-ctv-showcase--lite .glass-light {
    background: rgba(255, 255, 255, 0.08) !important;
}

.omni-ctv-showcase--lite .omni-ctv-showcase__iphone-photo {
    filter: none !important;
}

.omni-ctv-showcase--lite .omni-ctv-showcase__tv {
    transition: none !important;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55) !important;
}

.omni-ctv-showcase--lite .omni-ctv-showcase__iphone,
.omni-ctv-showcase--lite .omni-ctv-showcase__tablet,
.omni-ctv-showcase--lite .omni-ctv-showcase__ad {
    transition: none !important;
}

.omni-ctv-showcase--lite .omni-ctv-showcase__tablet-gradient,
.omni-ctv-showcase--lite .omni-ctv-showcase__tablet-dim,
.omni-ctv-showcase--lite .pulse-dot,
.omni-ctv-showcase--lite .omni-ctv-showcase__ad-skip,
.omni-ctv-showcase--lite .omni-ctv-showcase__ad-skip-chevron,
.omni-ctv-showcase--lite .omni-ctv-showcase__ad-skip-chevron svg,
.omni-ctv-showcase--lite .omni-ctv-showcase__iphone-comment-btn,
.omni-ctv-showcase--lite .omni-ctv-showcase__tablet-ad-wrap:hover .omni-ctv-showcase__tablet-ad-progress-fill,
.omni-ctv-showcase--lite .pulse-ring {
    animation: none !important;
}

.omni-ctv-showcase--lite .omni-ctv-showcase__iphone:hover,
.omni-ctv-showcase--lite .omni-ctv-showcase__tablet:hover,
.omni-ctv-showcase--lite .omni-ctv-showcase__ad:hover {
    transform: translate(-50%, -50%) !important;
}

.omni-ctv-showcase--lite .omni-ctv-showcase__iphone:hover {
    transform: translateY(-50%) scale(0.8) rotate(6deg) !important;
}

.omni-ctv-showcase--lite .omni-ctv-showcase__tablet:hover {
    transform: rotate(-6deg) translateX(var(--omni-tablet-nudge-x)) !important;
}

@media (prefers-reduced-motion: reduce) {
    #omni-differentials .omni-ctv-showcase,
    #omni-differentials .omni-ctv-showcase * {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 1500px) {
    #omni-differentials .omni-ctv-showcase__canvas {
        transform: scale(min(1, calc((100vw - 3rem) / (1100px * var(--omni-ctv-scale) + 24rem))));
        transform-origin: center center;
        margin-bottom: calc(
            720px * var(--omni-ctv-scale) *
            (1 - min(1, calc((100vw - 3rem) / (1100px * var(--omni-ctv-scale) + 24rem)))) *
            -1
        );
    }

    html.omni-ctv-lite #omni-differentials .omni-ctv-showcase__canvas {
        transform: none;
        margin-bottom: 0;
        --omni-ctv-scale: min(0.9, calc((100vw - 3rem) / 1100px));
    }
}

/* Short viewports (e.g. 1280×800): scale omni / mission block like #formats-showcase */
@media screen and (max-width: 1280px) and (max-height: 800px),
screen and (max-height: 720px) and (min-width: 900px) {
    #omni-differentials {
        --omni-ui-scale: 0.85;
    }

    #omni-differentials.omni-platform {
        padding-top: calc(3.5rem * var(--omni-ui-scale));
        padding-bottom: calc(3.5rem * var(--omni-ui-scale) * var(--omni-section-pad-boost, 1.1));
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    #omni-differentials .hypeads-content-grid__intro,
    #global-inventory .hypeads-content-grid__intro {
        gap: calc(1.125rem * var(--omni-ui-scale));
        margin-bottom: 0;
    }

    #omni-differentials .hypeads-content-grid__intro-copy,
    #global-inventory .hypeads-content-grid__intro-copy {
        max-width: calc(39rem * 1.42 * var(--omni-ui-scale));
    }

    #omni-differentials .hypeads-content-grid .omni-platform__sub {
        max-width: calc(30rem * 1.42 * var(--omni-ui-scale));
    }

    #omni-differentials .hypeads-mission-grid {
        margin: 0 0 calc(clamp(1.875rem, 3.75vw, 3rem) * var(--omni-ui-scale));
        gap: calc(clamp(0.9375rem, 3vw, 2.25rem) * var(--omni-ui-scale));
        grid-template-columns: repeat(auto-fit, minmax(min(100%, calc(13rem * var(--omni-ui-scale))), 1fr));
    }

    #omni-differentials .hypeads-mission-card__counter {
        font-size: calc(clamp(1.05rem, 2.625vw, 2.1375rem) * var(--omni-ui-scale));
    }

    #omni-differentials .hypeads-mission-card__rule {
        margin: calc(0.6375rem * var(--omni-ui-scale)) 0 calc(0.4875rem * var(--omni-ui-scale));
    }

    #omni-differentials .hypeads-mission-card__rule-line {
        max-width: calc(7.5rem * var(--omni-ui-scale));
    }

    #omni-differentials .hypeads-mission-card__desc {
        font-size: calc(clamp(0.6rem, 1.05vw, 0.675rem) * var(--omni-ui-scale));
    }

    #omni-differentials .hypeads-forest {
        gap: calc(clamp(0.75rem, 2vw, 1.35rem) * var(--omni-ui-scale));
    }
}

.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;
}

@media (min-width: 1200px) and (max-width: 1366px) and (max-height: 900px) {
    :root {
        --page-gutter-x: clamp(1rem, 2.8vw, 2rem);
        --section-stack-gap: clamp(1.15rem, 2.2vh, 1.85rem);
        --section-block-pad-y: clamp(1.35rem, 2.6vw, 2.35rem);
        --section-title-content-gap: clamp(0.35rem, 0.9vw, 0.7rem);
    }

    .content-card > main {
        max-width: 1280px;
        margin: 0 auto;
        width: 100%;
    }

    section.page-section {
        min-height: min(100svh, 800px);
        padding-top: clamp(2rem, 4.4vh, 3rem);
        padding-bottom: clamp(1.5rem, 3.5vh, 2.25rem);
    }

    #hero.page-section--hero,
    #contact.page-section {
        min-height: min(100svh, 800px);
    }

    .container {
        width: min(100%, 1180px);
    }

    #value-prop .value-prop__header {
        max-width: 44rem;
        margin-bottom: calc(1.6rem + var(--section-title-content-gap));
    }

    #value-prop .value-prop__sub {
        max-width: 34rem;
    }

    #value-prop .value-prop__bento {
        max-width: 66rem;
        gap: 1rem;
    }

    #value-prop .value-bento-tile--publishers,
    #value-prop .value-bento-tile--brands-wide {
        padding: clamp(1.35rem, 2.1vw, 1.9rem);
    }

    #value-prop .value-card__list {
        margin-bottom: 1rem;
        gap: 0.5rem;
    }
}

/* -------------------------------------------------------------------------- */
/* Dark mode (html.dark): toggle upper-right in navbar (js/site-chrome.js)    */
/* -------------------------------------------------------------------------- */

html.dark {
    color-scheme: dark;
    --text-light: #e8e6f0;
    --text-muted: #a3a8b8;
    --type-home-section-h2-color: #f1eff8;
    --type-home-card-h3-color: #f1eff8;
    --type-home-section-lead-color: #a3a8b8;
    --type-home-hero-rot-body-color: #b8bcce;
    --page-bg-infinite: var(--page-bg-dark-fallback);
    --scrollbar-thumb: transparent;
    --scrollbar-thumb-hover: transparent;
}

html.dark,
html.dark body {
    color: var(--text-light);
    background: var(--page-bg-sheet-dark);
    background-color: var(--page-bg-infinite);
}

html.dark #page-wrapper,
html.dark .content-card,
html.dark .page-wrapper,
html.dark .careers-band,
html.dark .careers-board,
html.dark .blog-section,
html.dark .contact-section,
html.dark #whatwedo.brxe-section--elevate,
html.dark #whatwedo.whatwedo-omnichannel,
html.dark .value-prop,
html.dark .formats-showcase,
html.dark .omni-platform:not(#omni-differentials) {
    background: var(--page-bg-sheet-dark);
    background-color: var(--page-bg-infinite);
}

/* loader is always dark — no separate dark override needed */

/* Small UI surfaces that were #fff in light — tint from loader palette (not flat white) */
html.dark .careers-search,
html.dark .careers-card,
html.dark .careers-filters,
html.dark .careers-list__select,
html.dark .value-bento-tile--publishers,
html.dark .value-bento-tile--brands-wide,
html.dark #formats-showcase .formats-panel__cell--info .formats-metric--card {
    background: color-mix(in srgb, var(--page-bg-dark-mid) 42%, var(--page-bg-dark-fallback));
    border-color: rgba(255, 255, 255, 0.1);
}

/* Tailwind section washes (bg-white / dark:bg-zinc-950) → same sheet as loader */
html.dark #global-inventory.home-global-map,
html.dark .hypeads-global-inventory-map.page-section,
html.dark #main-content > section.bg-white,
html.dark #main-content > section.dark\:bg-zinc-950,
html.dark .formats-showcase.dark\:bg-zinc-950 {
    background: var(--page-bg-sheet-dark) !important;
    background-color: var(--page-bg-infinite) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.theme-toggle--totem {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    cursor: pointer;
    pointer-events: auto;
    flex-shrink: 0;
    background: transparent;
    -webkit-tap-highlight-color: transparent;
}

.theme-toggle--totem:hover {
    background: transparent;
}

.theme-toggle .theme-toggle__i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
}

.theme-toggle .theme-toggle__i--sun {
    display: none;
}

html.dark .theme-toggle--totem {
    background: transparent;
}

html.dark .theme-toggle--totem:hover {
    background: transparent;
}

html.dark .theme-toggle--totem .theme-toggle__i--moon {
    display: none;
}

html.dark .theme-toggle--totem .theme-toggle__i--sun {
    display: flex;
}

.lang-switcher--totem {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lang-switcher__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: var(--social-totem-hit);
    height: var(--social-totem-hit);
    padding: 0 0.15rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
    letter-spacing: 0.06em;
    -webkit-tap-highlight-color: transparent;
}

.lang-switcher__code {
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1;
}

.lang-switcher__alts {
    position: absolute;
    left: calc(100% + 0.35rem);
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    z-index: 120;
}

.lang-switcher__alts[hidden] {
    display: none !important;
}

.lang-switcher__option[hidden] {
    display: none !important;
}

.lang-switcher__option {
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.06em;
    color: color-mix(
        in srgb,
        var(--social-totem-color-cap) calc(var(--social-totem-capabilities, 0) * 100%),
        var(--social-totem-color-rest)
    );
}

.social-totem .lang-switcher__option:hover {
    color: color-mix(
        in srgb,
        var(--social-totem-hover-cap) calc(var(--social-totem-capabilities, 0) * 100%),
        var(--social-totem-hover-rest)
    );
}

html.dark .navbar-bar {
    background: color-mix(in srgb, #16121f 72%, transparent);
    border: none;
    box-shadow: 0 10px 32px -8px rgba(0, 0, 0, 0.45);
}

html.dark .desktop-nav {
    background: transparent;
    border: none;
    box-shadow: none;
}

html.dark .desktop-nav a {
    color: rgba(226, 232, 240, 0.72);
}

html.dark .desktop-nav a::after {
    background: linear-gradient(to right, #d8b4fe, #a5b4fc);
}

html.dark .desktop-nav a:hover {
    color: var(--brand-white);
    border-color: transparent;
    box-shadow: none;
}

html.dark .desktop-nav a.active {
    color: var(--brand-white);
    border-color: transparent;
    box-shadow: none;
}

html.dark .desktop-nav a::before {
    display: none;
}

html.dark .hamburger-menu {
    background: rgba(255, 255, 255, 0.08);
}

html.dark .hamburger-menu:hover {
    background: rgba(255, 255, 255, 0.14);
}

html.dark .hamburger-menu span {
    background: #e8e6f0;
}

html.dark .mobile-nav-overlay {
    background: rgba(10, 8, 18, 0.94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

html.dark .mobile-link {
    color: rgba(255, 255, 255, 0.72);
}

html.dark .mobile-link:hover {
    color: #fff;
}

html.dark .social-totem {
    --social-totem-color-rest: rgba(255, 255, 255, 0.78);
    --social-totem-hover-rest: #c4b5fd;
}

html.dark .navbar > a.logo .logo__stack {
    --social-totem-color-rest: rgba(255, 255, 255, 0.78);
    --social-totem-hover-rest: #c4b5fd;
}

html.dark .navbar > a.logo .logo-img--dark {
    filter: brightness(0) invert(1);
    opacity: calc(1 - var(--social-totem-capabilities, 0));
}

html.dark .navbar > a.logo:hover .logo-img--dark-hover {
    filter: var(--nav-logo-purple-hover-filter) brightness(1.15);
}

html.dark .policy-prose {
    color: var(--text-muted);
}

html.dark .policy-prose p {
    color: var(--text-muted);
}

html.dark .hero-split-prose {
    color: var(--text-muted);
}

html.dark body[data-active-nav="home"] .hero.page-section--hero {
    background-color: transparent;
}

html.dark body[data-active-nav="home"] #hero.page-section--hero .hero-media-stage {
    filter: none;
}

html.dark body[data-active-nav="home"] #hero.page-section--hero .hero-gallery-viewport {
    opacity: 0.62;
}

html.dark .hero-gallery-viewport .card-image {
    filter: brightness(0.88) contrast(1.04) saturate(1.05);
}

html.dark body:has(#hero.page-section--hero) .hero-media-stage::before,
html.dark body[data-active-nav="home"] #hero.page-section--hero .hero-media-stage::before {
    background: linear-gradient(
        100deg,
        rgba(16, 12, 24, 0.55) 0%,
        rgba(16, 12, 24, 0.28) 28%,
        rgba(16, 12, 24, 0.08) 44%,
        transparent 60%
    );
}

html.dark #whatwedo h3.text-lg,
html.dark #whatwedo h3.text-xl {
    color: #ece8f8;
}

html.dark #elevate-pillars-track > article {
    background: linear-gradient(180deg, rgba(123, 6, 204, 0.12) 0%, rgba(28, 26, 40, 0.96) 68%) !important;
    border-color: rgba(167, 139, 250, 0.22) !important;
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.35),
        0 2px 10px rgba(123, 6, 204, 0.12);
}

html.dark #elevate-pillars-track > article h3 {
    color: #ece8f8;
}

html.dark #elevate-pillars-track > article p {
    color: #b0aec0;
}

html.dark .formats-showcase__main {
    background: rgba(30, 27, 44, 0.96) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

html.dark #formats-showcase .formats-panel__cell--info,
html.dark #formats-showcase .formats-panel__info {
    background: #232131 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

html.dark #formats-showcase .formats-panel__info h3 {
    color: #f1eff8;
}

html.dark #formats-showcase .formats-panel__info p {
    color: #a3a8b8;
}

html.dark #formats-showcase .formats-metric__value {
    color: #ddd6fe;
}

html.dark #formats-showcase .formats-metric__label {
    color: #9ca3af;
}

html.dark #formats-showcase .formats-panel__cell--visual {
    background: #0f0d16 !important;
}

html.dark #formats-showcase .formats-panel__placeholder {
    color: rgba(255, 255, 255, 0.35);
}

html.dark #logo-grid.brands-grid {
    background: rgba(22, 20, 34, 0.85);
    border-color: rgba(255, 255, 255, 0.12);
}

html.dark .logo-cell {
    background: rgba(30, 27, 44, 0.65);
    border-color: rgba(255, 255, 255, 0.08);
}

html.dark .logo-slide__icon {
    color: rgba(255, 255, 255, 0.45) !important;
}

html.dark .logo-cell .logo-view__icon .logo-slide__icon {
    color: rgba(255, 255, 255, 0.5) !important;
}

html.dark .logo-slide__icon--img {
    filter: invert(1) brightness(1.12);
}

html.dark .logo-cell .logo-view__text .logo-slide__title {
    color: #f1eff8 !important;
}

html.dark .logo-cell .logo-view__text .logo-slide__desc {
    color: #a3a8b8 !important;
}

html.dark .brands-platforms-section__bg {
    opacity: 0.5;
    filter: saturate(0.85);
}

html.dark .contact-section {
    color: #ece8f8;
}

html.dark .circular-badge text {
    fill: rgba(255, 255, 255, 0.55);
}

html.dark .circular-badge .star-center {
    color: rgba(255, 255, 255, 0.65);
}

html.dark #formats-showcase .formats-tab--sidebar {
    background: rgba(36, 32, 52, 0.55);
    border-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
}

html.dark #formats-showcase .formats-tab--sidebar:hover {
    background: rgba(50, 44, 72, 0.75);
    color: #fff;
}

html.dark #formats-showcase .formats-tab--sidebar.is-active {
    background: rgba(123, 6, 204, 0.35);
    border-color: rgba(196, 181, 253, 0.35);
    color: #ede9fe;
}

html.dark #formats-showcase .formats-tab__icon {
    color: rgba(233, 213, 255, 0.85);
}

@media (max-width: 767px) {
    html.dark body[data-active-nav="home"] #hero.page-section--hero .hero-media-stage::before {
        background:
            linear-gradient(
                180deg,
                rgba(16, 12, 24, 0.88) 0%,
                rgba(16, 12, 24, 0.42) 42%,
                transparent 68%
            ),
            linear-gradient(
                100deg,
                rgba(16, 12, 24, 0.94) 0%,
                rgba(16, 12, 24, 0.52) 28%,
                rgba(16, 12, 24, 0.14) 46%,
                transparent 60%
            );
    }

    html.dark body[data-active-nav="home"] #hero.page-section--hero .hero-gallery-viewport {
        opacity: 0.52;
    }

    html.dark body[data-active-nav="home"] #hero.page-section--hero .hero-title {
        filter: none;
    }
}

html.dark .text-gray-500 {
    color: #a3a8b8 !important;
}

html.dark .text-gray-800 {
    color: #e8e6f0 !important;
}

html.dark .text-gray-400 {
    color: #b0aec0 !important;
}

html.dark .text-gray-300 {
    color: #c9c5d8 !important;
}

html.dark .process-step {
    border-top-color: rgba(255, 255, 255, 0.1);
}

html.dark body:not([data-active-nav="home"]) #main-content > .hero .hero-bg-gradient,
html.dark body:not([data-active-nav="home"]) #main-content > .inner-skin-hero .hero-bg-gradient {
    background: linear-gradient(165deg, #1a1528 0%, #12101c 42%, #1e1b32 100%);
}

/* Inventario global: map brand pins (from design777) */
.home-global-map .map-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, z-index 0s;
    z-index: 10;
}

.home-global-map .map-pin:hover {
    transform: translate(-50%, -50%) scale(1.15);
    z-index: 20;
}

/* Map cluster ↔ sidebar region highlight (--cluster-region-color from JS) */
#global-inventory .global-inventory-region {
    border-radius: 0.5rem;
    outline: none;
    transition: background-color 0.32s ease;
}

#global-inventory .global-inventory-region.is-region-highlighted,
#global-inventory .global-inventory-region:focus-visible {
    background-color: rgb(148 163 184 / 0.04);
}

html.dark #global-inventory .global-inventory-region.is-region-highlighted,
html.dark #global-inventory .global-inventory-region:focus-visible {
    background-color: rgb(255 255 255 / 0.03);
}

#global-inventory .global-inventory-region.is-region-highlighted .global-inventory-region__dot {
    transform: scale(1.08);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--region-legend) 22%, transparent),
        0 2px 8px color-mix(in srgb, var(--region-legend) 20%, transparent);
}

#global-inventory .global-inventory-region__dot {
    transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.home-global-map__frame .map-pin-cluster {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    z-index: 11;
}

.home-global-map__frame .map-pin-cluster.is-region-highlighted {
    z-index: 18;
}

.home-global-map__frame .map-pin-cluster .map-pin--cluster-orbit > div {
    transform: scale(1);
    transition:
        transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-global-map__frame .map-pin-cluster.is-region-highlighted .map-pin--cluster-orbit > div {
    transform: scale(1.18);
    box-shadow:
        0 4px 12px color-mix(in srgb, var(--cluster-region-color, #3f1d77) 38%, transparent),
        0 10px 28px color-mix(in srgb, var(--cluster-region-color, #3f1d77) 28%, transparent),
        0 16px 36px color-mix(in srgb, var(--cluster-region-color, #3f1d77) 16%, transparent),
        0 4px 12px rgb(15 23 42 / 0.16);
}

.home-global-map__frame .map-pin-cluster .map-pin {
    top: auto;
    left: auto;
    transform: translate(calc(-50% + var(--cluster-x, 0px)), calc(-50% + var(--cluster-y, 0px)));
}

.home-global-map__frame .map-pin-cluster .map-pin:hover {
    transform: translate(calc(-50% + var(--cluster-x, 0px)), calc(-50% + var(--cluster-y, 0px)));
    z-index: 20;
}

.home-global-map__frame .map-pin-cluster .map-pin--cluster-hub {
    z-index: 12;
}

.home-global-map__frame .map-pin-cluster .map-pin--cluster-orbit {
    z-index: 11;
}

.home-global-map__frame {
    isolation: isolate;
    border-radius: 1rem;
    overflow: hidden;
}

.home-global-map__frame > img {
    border-radius: inherit;
}

/* Cluster hub — filled dark purple pin, no tile */
.home-global-map__frame .map-pin-cluster__hub {
    flex-shrink: 0;
    background: none;
    border: none;
    box-shadow: none;
}

.home-global-map__frame .map-pin-cluster__hub i {
    color: #3f1d77;
    transform: scale(1);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

html.dark .home-global-map__frame .map-pin-cluster__hub i {
    color: #c4b5fd;
}

.home-global-map__frame .map-pin-cluster.is-region-highlighted .map-pin-cluster__hub i {
    transform: scale(1.18);
    filter: none;
}

/* Brand logos on map: uniform 40px circles (orbit pins only) */
.home-global-map__frame .map-pin--cluster-orbit > div {
    box-sizing: border-box;
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
    max-width: 2.5rem;
    max-height: 2.5rem;
    padding: 0;
    border-radius: 9999px;
    border-width: 3px;
    border-style: solid;
    border-color: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0;
}

.home-global-map__frame .map-pin--cluster-orbit > div span {
    font-size: 0.375rem;
    line-height: 1.05;
    text-align: center;
    max-width: 2.125rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin: 0;
}

.home-global-map__frame .map-pin--cluster-orbit > div span br {
    display: none;
}

.home-global-map__frame .map-pin--cluster-orbit > div i {
    font-size: 0.625rem;
    line-height: 1;
    margin: 0;
}

.home-global-map__frame .map-pin--cluster-orbit > div > div {
    max-width: 2rem;
    max-height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 1;
    min-width: 0;
    padding: 1px 2px;
    border-radius: 2px;
}

.home-global-map__frame .map-pin--cluster-orbit > div > div.w-full {
    max-width: 100%;
}

.home-global-map__frame .map-pin--cluster-orbit > div > div.w-4,
.home-global-map__frame .map-pin--cluster-orbit > div [class*="clip-path"] {
    display: none;
}

.home-global-map__frame .map-pin--cluster-orbit > div .text-lg {
    font-size: 0.875rem;
    line-height: 1;
}

/* Micro Drama — vertical episodic player mockup */
.formats-micro-drama__stage {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 0.65rem 0.75rem 0.75rem;
}

.formats-micro-drama__player {
    position: relative;
    flex-shrink: 0;
    height: 100%;
    max-height: 11.5rem;
    aspect-ratio: 9 / 16;
    width: auto;
    background: #0d0d0d;
    border: 4px solid #1a1a1a;
    border-radius: 1.25rem;
    box-shadow:
        0 14px 28px -10px rgba(0, 0, 0, 0.6),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    z-index: 10;
}

.formats-marquee__cards .formats-micro-drama__player {
    max-height: 9.75rem;
}

.formats-micro-drama__screen {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(124, 58, 237, 0.25) 0%, rgba(26, 11, 46, 0.8) 100%);
}

.formats-micro-drama__player-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(232, 121, 249, 0.15), transparent 70%);
}

.formats-micro-drama__episode {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 12;
    font-family: var(--font-main);
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #e879f9;
    background: rgba(124, 58, 237, 0.32);
    padding: 0.2rem 0.45rem;
    border-radius: 0.25rem;
    line-height: 1;
}

.formats-micro-drama__progress {
    position: absolute;
    bottom: 0.55rem;
    left: 0.55rem;
    right: 0.55rem;
    z-index: 12;
}

.formats-micro-drama__progress-track {
    width: 100%;
    height: 0.22rem;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 9999px;
    overflow: hidden;
}

.formats-micro-drama__progress-fill {
    width: 38%;
    height: 100%;
    background: #e879f9;
    border-radius: 9999px;
}

.formats-showcase__cards .group:hover .formats-micro-drama__progress-fill,
.formats-marquee__cards .group:hover .formats-micro-drama__progress-fill {
    animation: shimmer 2s infinite;
}
