/* Kelvin+ — landing institucional (rebuild) */
:root {
    --bg: #0a0a0a;
    --bg-elevated: #121212;
    --text: #f4f4f5;
    --muted: rgba(255, 255, 255, 0.72);
    --faint: rgba(255, 255, 255, 0.45);
    --primary: #ff6b35;
    --primary-dim: rgba(255, 107, 53, 0.15);
    --border: rgba(255, 255, 255, 0.1);
    --radius: 14px;
    --radius-lg: 20px;
    --font: "Inter", system-ui, sans-serif;
    --max: 1120px;
    --header-h: 72px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    padding: 12px 16px;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
}

.skip-link:focus {
    left: 8px;
    top: 8px;
}

/* ——— Header ——— */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px;
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo-link {
    display: flex;
    align-items: center;
    line-height: 0;
    flex-shrink: 0;
}

.logo-link img {
    height: 44px;
    width: auto;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-elevated);
    color: var(--text);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.nav-toggle[aria-expanded="true"] {
    border-color: var(--primary);
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 20px;
}

.site-nav a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--text);
}

.menu-close {
    display: none;
}

/* ——— Sections shared ——— */
.section {
    padding: 72px 20px;
}

.section--tight {
    padding: 48px 20px;
}

.container {
    max-width: var(--max);
    margin: 0 auto;
}

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
}

h1, h2, h3 {
    line-height: 1.15;
    margin: 0 0 12px;
}

h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
}

.lead {
    color: var(--muted);
    font-size: 1.05rem;
    margin: 0;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), #f7931e);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ——— Hero ——— */
.hero {
    padding: calc(var(--header-h) + 48px) 20px 64px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 107, 53, 0.18), transparent);
    pointer-events: none;
}

.hero .container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 900px) {
    .hero .container {
        grid-template-columns: 1.05fr 0.95fr;
    }
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 32px;
    margin: 28px 0;
}

.hero-stats strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary);
}

.hero-stats span {
    font-size: 13px;
    color: var(--faint);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, filter 0.15s ease;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #f7931e);
    color: #fff;
}

.btn-primary:hover {
    filter: brightness(1.06);
    text-decoration: none;
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--primary);
    text-decoration: none;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-visual img {
    max-height: min(360px, 50vh);
    width: auto;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(255, 107, 53, 0.2));
}

/* ——— Event band ——— */
.event-band {
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.1), rgba(10, 10, 10, 0.5));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 20px;
}

.event-band .inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.event-band__date {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 10px;
}

.event-band--k3 .eyebrow {
    margin-bottom: 8px;
}

.event-band__context {
    font-size: 15px;
    color: var(--muted);
    margin: 0 0 16px;
    line-height: 1.5;
}

.event-highlights {
    list-style: none;
    margin: 0 auto 24px;
    padding: 0;
    max-width: 520px;
    text-align: left;
}

.event-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.45;
}

.event-highlights li:last-child {
    border-bottom: none;
}

.event-highlights .fa,
.event-highlights .fas {
    color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
    width: 1.1em;
}

.event-band .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.event-band .note {
    font-size: 13px;
    color: var(--faint);
    margin-top: 16px;
}

/* ——— Kelvin Performance Lab ——— */
.lab-section {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.06), transparent 55%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.lab-section__eyebrow {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
}

.kpl-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
    margin-top: 8px;
}

@media (min-width: 768px) {
    .kpl-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.kpl-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 22px;
    min-height: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.kpl-card:hover {
    border-color: rgba(255, 107, 53, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.kpl-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--primary-dim);
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 16px;
}

.kpl-card h3 {
    font-size: 1.05rem;
    margin: 0 0 10px;
    font-weight: 800;
}

.kpl-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
}

.lab-section__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 32px;
}

.lab-section__note {
    text-align: center;
    font-size: 13px;
    color: var(--faint);
    margin: 20px 0 0;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* ——— Services grid ——— */
.services-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}

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

@media (min-width: 1000px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    min-width: 0;
}

.service-card--featured {
    border-color: rgba(255, 107, 53, 0.45);
    box-shadow: 0 0 0 1px rgba(255, 107, 53, 0.12);
}

.service-card .thumb {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.service-card .thumb img {
    max-height: 88px;
    width: auto;
}

.service-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 14px;
    color: var(--muted);
    margin: 0 0 12px;
}

.service-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: var(--muted);
}

.service-card li {
    padding: 4px 0;
    padding-left: 18px;
    position: relative;
}

.service-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: 800;
}

/* ——— ROI ——— */
.roi-panel {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    max-width: 720px;
    margin: 0 auto;
}

.roi-sliders label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 8px;
}

.roi-sliders input[type="range"] {
    width: 100%;
    margin-bottom: 6px;
}

.roi-value {
    font-size: 14px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.roi-results {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
}

@media (min-width: 600px) {
    .roi-results {
        grid-template-columns: repeat(3, 1fr);
    }
}

.roi-results .box {
    background: rgba(0, 0, 0, 0.35);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
}

.roi-results .num {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
}

.roi-results .lbl {
    font-size: 12px;
    color: var(--faint);
}

/* ——— Testimonials ——— */
.quote-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}

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

.quote-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    min-width: 0;
}

.quote-card blockquote {
    margin: 0 0 20px;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.65;
}

.quote-card footer {
    font-size: 14px;
}

.quote-card strong {
    color: var(--text);
}

.quote-card span {
    display: block;
    color: var(--primary);
    font-size: 13px;
    margin-top: 4px;
}

/* ——— About ——— */
.about-partners {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    max-width: 1040px;
    margin: 24px auto 0;
    align-items: center;
}

@media (min-width: 600px) {
    .about-partners {
        gap: 24px;
    }
}

.about-partner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 16px 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.about-partner img {
    max-height: 44px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(1) brightness(1.15);
    opacity: 0.92;
    transition: opacity 0.2s, filter 0.2s;
}

.about-partner:hover img {
    opacity: 1;
    filter: grayscale(0.15) brightness(1.08);
}

.about-partner--einstein {
    min-height: 100px;
    padding: 22px 14px;
}

.about-partner--einstein img {
    max-height: 72px;
    max-width: min(100%, 280px);
    filter: grayscale(0.2) brightness(1.1);
    opacity: 0.96;
}

.about-partner--einstein:hover img {
    filter: grayscale(0) brightness(1.05);
    opacity: 1;
}

.about-partner--logo-light img {
    filter: none;
    opacity: 0.93;
}

.about-partner--logo-light:hover img {
    filter: none;
    opacity: 1;
}

.about-partner--aws img,
.about-partner--azure img {
    filter: none;
    opacity: 0.94;
}

.about-partner--aws:hover img,
.about-partner--azure:hover img {
    filter: none;
    opacity: 1;
}

.about-partner--invert img {
    filter: invert(1) brightness(1.12);
    opacity: 0.88;
}

.about-partner--invert:hover img {
    opacity: 1;
    filter: invert(1) brightness(1.2);
}

.about-partner__fallback {
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--muted);
    padding: 4px;
}

.about-partner.is-fallback img {
    display: none;
}

.about-partner.is-fallback .about-partner__fallback {
    display: flex;
}

/* ——— Contact ——— */
.contact-layout {
    display: grid;
    gap: 32px;
    max-width: 720px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    gap: 16px;
}

@media (min-width: 560px) {
    .form-grid.two {
        grid-template-columns: 1fr 1fr;
    }
}

label span {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--muted);
}

input, textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #141414;
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
}

input:focus, textarea:focus {
    outline: 2px solid rgba(255, 107, 53, 0.4);
    outline-offset: 2px;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* ——— Footer ——— */
.site-footer {
    padding: 48px 20px 32px;
    border-top: 1px solid var(--border);
    background: #070707;
}

.footer-grid {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
    }
}

.site-footer h4 {
    font-size: 14px;
    margin: 0 0 12px;
    color: var(--text);
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer li {
    margin-bottom: 8px;
}

.site-footer a {
    color: var(--muted);
    font-size: 14px;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--primary);
}

.social {
    display: flex;
    gap: 14px;
    margin-top: 12px;
}

.social a {
    font-size: 20px;
}

.footer-bottom {
    max-width: var(--max);
    margin: 32px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--faint);
    text-align: center;
}

/* ——— Idiomas (i18n.js usa .active no menu) ——— */
.language-selector {
    position: relative;
}

.lang-dropdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    color: var(--text);
    font-size: 13px;
    cursor: pointer;
}

.lang-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    min-width: 180px;
    padding: 8px;
    background: #1a1a1a;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    z-index: 50;
}

.lang-dropdown-menu.active {
    display: block;
}

.lang-option {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    cursor: pointer;
}

.lang-option:hover,
.lang-option.active {
    background: var(--primary-dim);
    color: var(--primary);
}

/* ——— Desktop nav ——— */
@media (min-width: 1025px) {
    .nav-toggle,
    .menu-close {
        display: none !important;
    }

    .site-nav {
        position: static !important;
        transform: none !important;
        inset: auto !important;
        background: transparent !important;
        padding: 0 !important;
        overflow: visible !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        gap: 20px;
    }

    .site-nav ul {
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 6px 20px;
    }

    .site-nav li {
        border-bottom: none !important;
    }

    .site-nav a {
        padding: 8px 0 !important;
        font-size: 14px !important;
    }

    body.nav-open {
        overflow: auto !important;
    }
}

/* ——— Mobile nav ——— */
@media (max-width: 1024px) {
    .nav-toggle {
        display: inline-flex;
    }

    .menu-close {
        display: flex;
        position: absolute;
        top: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        border: 1px solid var(--border);
        background: var(--bg-elevated);
        color: var(--text);
        font-size: 20px;
        cursor: pointer;
        z-index: 2;
    }

    .site-nav {
        position: fixed;
        inset: 0;
        background: rgba(10, 10, 10, 0.98);
        padding: 72px 24px 24px;
        transform: translateX(100%);
        transition: transform 0.25s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .site-nav.is-open {
        transform: translateX(0);
    }

    .site-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .site-nav li {
        border-bottom: 1px solid var(--border);
    }

    .site-nav a {
        display: block;
        padding: 16px 0;
        font-size: 16px;
    }

    body.nav-open {
        overflow: hidden;
    }
}

/* ——— Base científica (carrossel) ——— */
.section--science {
    background: var(--bg-elevated);
}

.science-slider {
    margin-top: 8px;
}

.science-viewport {
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.25);
}

.science-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.science-item {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 28px 24px 32px;
    min-height: 280px;
}

.science-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.science-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.08);
    color: var(--muted);
    border: 1px solid var(--border);
}

.science-badge--journal {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    font-size: 12px;
}

.science-badge--kelvin {
    background: var(--primary-dim);
    color: var(--primary);
    border-color: rgba(255, 107, 53, 0.35);
}

.science-badge--accent {
    background: rgba(255, 107, 53, 0.12);
    color: #ffb399;
    border-color: rgba(255, 107, 53, 0.25);
}

.science-item__title {
    margin: 0 0 12px;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.science-item__summary {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.science-item__points {
    margin: 0 0 16px;
    padding-left: 1.1rem;
    color: var(--faint);
    font-size: 14px;
    line-height: 1.55;
}

.science-item__points li + li {
    margin-top: 6px;
}

.science-item__refs {
    margin: 0;
    font-size: 14px;
}

.science-item__refs a {
    font-weight: 600;
}

.science-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

.science-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    color: var(--text);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.science-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.science-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.science-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: min(100%, 360px);
}

.science-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.science-dots button:hover {
    background: rgba(255, 255, 255, 0.45);
}

.science-dots button.is-active {
    background: var(--primary);
    transform: scale(1.15);
}

.science-dots button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

@media (min-width: 768px) {
    .science-item {
        padding: 36px 40px 40px;
        min-height: 300px;
    }

    .science-item__title {
        font-size: 1.35rem;
    }
}

/* ——— Logos em marquesina ——— */
.club-marquee {
    margin-top: 8px;
}

.club-marquee__viewport {
    overflow: hidden;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.club-marquee__track {
    display: flex;
    width: max-content;
    animation: club-marquee-scroll 42s linear infinite;
}

.club-marquee:hover .club-marquee__track {
    animation-play-state: paused;
}

.club-marquee__group {
    display: flex;
    align-items: center;
    gap: clamp(32px, 5vw, 64px);
    padding: 12px 32px 12px 0;
}

.club-marquee__item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 52px;
}

.club-marquee__item img {
    max-height: 48px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(1) brightness(1.2);
    opacity: 0.88;
    transition: opacity 0.2s, filter 0.2s;
}

.club-marquee__item:hover img {
    opacity: 1;
    filter: grayscale(0.3) brightness(1.1);
}

.club-marquee__fallback {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
    white-space: nowrap;
    max-width: 200px;
}

.club-marquee__item.is-fallback img {
    display: none;
}

.club-marquee__item.is-fallback .club-marquee__fallback {
    display: flex;
}

@keyframes club-marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .club-marquee__track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100% !important;
        max-width: var(--max);
        margin: 0 auto;
        padding: 8px 16px;
    }

    .club-marquee__viewport {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        max-width: 100%;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .club-marquee__group {
        flex-wrap: wrap;
        justify-content: center;
        padding: 8px;
    }

    .club-marquee__group[aria-hidden="true"] {
        display: none;
    }

    .science-track {
        transition: none;
    }
}
