/* Casambi — native Azoogi layout, partner lockup, spec table */

.cb-main {
    padding: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-sans);
}

.cb-num {
    display: block;
    font-size: var(--fs-kicker);
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 8px;
}

/* —— Hero —— */
.cb-hero {
    position: relative;
    min-height: var(--hero-min);
    display: grid;
    align-items: end;
    overflow: hidden;
    background: #111;
    width: 100%;
}

.cb-hero-media {
    position: absolute;
    inset: 0;
}

.cb-hero-media img,
.cb-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: contrast(1.25) brightness(0.68) saturate(1.05);
    animation: cbSlowZoom 22s ease-out forwards;
}

.cb-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .48) 46%, rgba(0, 0, 0, .32) 100%),
        rgba(0, 0, 0, 0.28);
    pointer-events: none;
}

@keyframes cbSlowZoom {
    0% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1.1);
    }
}

.cb-hero-copy {
    position: relative;
    z-index: 1;
    padding: var(--hero-pad-y-top) var(--hero-pad-x) var(--hero-pad-y-bottom);
    width: 100%;
}

.cb-hero-copy > * {
    max-width: var(--site-max, 1400px);
}

.cb-lockup {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(16px, 2.4vw, 28px);
    margin: 0 0 20px;
}

.cb-lockup-casambi {
    display: block;
    width: clamp(120px, 26vw, 150px);
    height: auto;
    color: #fff;
}

.cb-title {
    margin: 0 0 16px;
    max-width: 24ch;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: var(--fs-h2);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
}

.cb-title span {
    font-family: var(--font-outline);
}

.cb-lead {
    max-width: 720px;
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--fs-lead);
    font-weight: 400;
    line-height: 1.65;
}

.cb-intro {
    max-width: 900px;
    margin: 20px 0 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--fs-lead);
    line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
    .cb-hero-media img,
    .cb-hero-video {
        animation: none;
    }
}

/* —— Bands —— */
.cb-band {
    padding: var(--section-y) 0;
}

.cb-band--alt {
    background: var(--card-bg);
}

.cb-section-head {
    margin-bottom: clamp(22px, 3vw, 32px);
}

.cb-section-head h2 {
    margin: 0 0 12px;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: var(--fs-h2-section);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.cb-section-head p {
    margin: 0;
    max-width: 70ch;
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--muted);
}

.cb-caps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cb-caps li {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 4px;
}

.cb-caps h3 {
    margin: 0;
    font-size: var(--fs-card-title-sm);
    font-weight: 600;
    line-height: 1.3;
    color: var(--ink);
}

.cb-caps p {
    margin: 0;
    font-size: var(--fs-body);
    line-height: 1.55;
    color: var(--muted);
}

.cb-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
    margin-bottom: clamp(28px, 4vw, 40px);
}

.cb-lineup-heading {
    margin: 0 0 16px;
    font-family: var(--font-sans);
    font-size: var(--fs-h2-section);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.cb-feature-copy .cb-lineup-heading {
    margin-bottom: 14px;
}

.cb-feature-copy .kicker {
    margin-bottom: 10px;
}

.cb-feature-copy p {
    margin: 0;
    max-width: 46ch;
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--muted);
}

.cb-feature-img figure {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    overflow: hidden;
    background: #111;
}

.cb-feature-img img {
    width: 100%;
    height: auto;
    min-height: 340px;
    display: block;
    object-fit: cover;
    object-position: 82% center;
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.cb-feature-img:hover img {
    transform: scale(1.04);
}

.cb-hardware .cb-lineup-heading {
    margin-bottom: 16px;
}

.cb-table-wrap {
    overflow-x: auto;
}

.spec-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin-top: 4px;
}

.spec-table th,
.spec-table td {
    padding: 10px 12px 10px 0;
    font-size: var(--fs-kicker);
    text-align: left;
    vertical-align: top;
}

.spec-table thead th {
    font-weight: 600;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}

.spec-table tbody tr {
    border-bottom: 1px solid var(--line);
}

.spec-table th:first-child,
.spec-table td:first-child {
    width: 15%;
}

.spec-table td:first-child {
    font-weight: 500;
    color: var(--ink);
}

.spec-table th:nth-child(2),
.spec-table td:nth-child(2) {
    width: 25%;
}

.spec-table td:nth-child(2) {
    color: var(--ink);
}

.spec-table th:last-child,
.spec-table td:last-child {
    width: 60%;
}

.spec-table td:last-child {
    color: var(--muted);
}

.cb-product {
    display: inline;
    color: var(--ink);
    border-bottom: 1px dotted var(--accent);
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
    .cb-product {
        cursor: none;
    }
}

.cb-product:hover,
.cb-product.is-previewing {
    color: var(--accent);
}

.cb-cursor-preview {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 400;
    width: min(260px, 46vw);
    pointer-events: none;
    border-radius: 4px;
    overflow: hidden;
    background: var(--bg-2);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.cb-cursor-preview[hidden] {
    display: none;
}

.cb-cursor-preview img {
    width: 100%;
    height: auto;
    display: block;
    background: var(--card-bg);
}

.cb-support {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.cb-support li {
    padding: 24px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 4px;
}

.cb-support h3 {
    margin: 0 0 10px;
    font-size: var(--fs-card-title-sm);
    font-weight: 600;
    color: var(--ink);
}

.cb-support p {
    margin: 0;
    font-size: var(--fs-body);
    line-height: 1.55;
    color: var(--muted);
}

.cb-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111;
    border-radius: 4px;
    overflow: hidden;
}

.cb-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.cb-cta {
    padding: var(--section-y) 0 calc(var(--section-y) + 16px);
    border-radius: 4px;
    text-align: center;
}

.cb-cta h2 {
    margin: 0 0 12px;
    font-family: var(--font-sans);
    font-size: var(--fs-h2-section);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.cb-cta p {
    margin: 0 auto 24px;
    max-width: 640px;
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--muted);
}

.cb-cta .btn.primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.reveal.in {
    opacity: 1;
    transform: none;
}

@media (max-width: 900px) {
    .cb-caps,
    .cb-support,
    .cb-feature {
        grid-template-columns: 1fr;
    }

    .cb-feature-img img {
        min-height: 240px;
        object-position: 70% center;
    }
}

@media (max-width: 640px) {
    .cb-lockup {
        gap: 12px;
        margin-bottom: 22px;
    }

    .cb-title {
        max-width: none;
    }

    .cb-cta .btn.primary {
        width: 100%;
        padding-inline: 16px;
    }

    .spec-table th,
    .spec-table td {
        font-size: var(--fs-kicker);
        padding: 8px 10px 8px 0;
    }
}
