/* CEG hero reel — Concept 1 "Signal". Reel styles (.sg-*) and homepage harness (.hero-signal*). */

/* ================================================================== reel */

.sg-reel {
    --sg-s: 1;
    --sg-mono: ui-monospace, 'SFMono-Regular', Menlo, monospace;
    color: #fff;
}

.sg-reel .reel-stage {
    background: #202020;
}

.sg-reel .sg-layers,
.sg-reel .sg-scene {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.sg-reel .sg-scene {
    visibility: hidden;
    overflow: hidden;
    --sg-fg: #ffffff;
    --sg-fg2: rgba(255, 232, 211, 0.74);
    --sg-accent: #ffac46;
    --sg-line: rgba(255, 232, 211, 0.24);
    color: var(--sg-fg);
}

.sg-reel [data-tone='cream'],
.sg-reel [data-tone='white'] {
    --sg-fg: #202020;
    --sg-fg2: rgba(32, 32, 32, 0.74);
    --sg-accent: #b45309;
    --sg-line: rgba(32, 32, 32, 0.2);
}

.sg-reel [data-tone='orange'] {
    --sg-fg: #202020;
    --sg-fg2: rgba(32, 32, 32, 0.82);
    --sg-accent: #202020;
    --sg-line: rgba(32, 32, 32, 0.28);
}

.sg-reel .sg-cat--lighting,
.sg-reel .sg-cat--effects {
    --sg-fg: #ffe8d3;
}

.sg-reel .sg-back {
    z-index: 0;
}

.sg-reel .sg-layers {
    z-index: 1;
}

.sg-reel .sg-front {
    z-index: 2;
}

.sg-reel .sg-flash {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: #fff;
    visibility: hidden;
    pointer-events: none;
}

/* ---------------------------------------------------------------- kinetic type */

.sg-reel .sg-cw,
.sg-reel .sg-kw {
    position: absolute;
    left: 0;
    top: 0;
    white-space: nowrap;
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    text-transform: none;
    will-change: transform;
}

.sg-reel .sg-cw-main {
    position: relative;
    display: block;
    will-change: transform;
}

.sg-reel .sg-ch {
    display: inline-block;
    transform-origin: 50% 70%;
    will-change: transform, opacity;
}

.sg-reel .sg-kw {
    transform-origin: 0 50%;
}

.sg-reel .sg-kw-f {
    position: relative;
    display: block;
    overflow: hidden;
}

.sg-reel .sg-kw-fi {
    display: block;
}

.sg-reel .sg-kw-o {
    position: absolute;
    left: 0;
    top: 0;
    color: transparent;
    -webkit-text-stroke: 0.024em #202020;
    transform-origin: 50% 55%;
    opacity: 0;
    will-change: transform, opacity;
}

/* glitch slices for POWER. — a clipped copy of each half */
.sg-reel .sg-slice {
    position: absolute;
    left: 0;
    top: 0;
    visibility: hidden;
}

.sg-reel .sg-slice--t {
    clip-path: inset(0 0 52% 0);
}

.sg-reel .sg-slice--b {
    clip-path: inset(48% 0 0 0);
}

/* live counter (superscript to the category word) */
.sg-reel .sg-cnt {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35em;
    will-change: transform, opacity;
}

.sg-reel .sg-cnt-n {
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    color: var(--sg-accent);
}

.sg-reel .sg-cnt-l {
    font-family: var(--sg-mono);
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--sg-fg2);
}

/* ---------------------------------------------------------------- wall rows (lighting) */

.sg-reel .sg-rows {
    position: absolute;
    inset: 0;
}

.sg-reel .sg-row {
    position: absolute;
    left: 0;
    top: 0;
    white-space: pre;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: calc(1.5px * var(--sg-s)) #ffe8d3;
    transform-origin: 0 50%;
    will-change: transform, opacity;
}

/* ---------------------------------------------------------------- ticker + info */

.sg-reel .sg-tk {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    white-space: nowrap;
    line-height: 1.4;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 3%, #000 94%, transparent);
    will-change: transform, opacity;
}

.sg-reel .sg-tk-track {
    display: inline-block;
    will-change: transform;
}

.sg-reel .sg-tk-i {
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--sg-fg);
}

.sg-reel .sg-tk-i b {
    font-weight: 700;
    color: var(--sg-accent);
}

.sg-reel .sg-tk-sep {
    display: inline-block;
    margin: 0 0.9em;
    color: var(--sg-line);
}

.sg-reel .sg-info {
    position: absolute;
    left: 0;
    top: 0;
    will-change: transform, opacity;
}

.sg-reel .sg-info-h {
    display: flex;
    justify-content: space-between;
    font-family: var(--sg-mono);
    font-size: 0.68em;
    letter-spacing: 0.18em;
    color: var(--sg-fg2);
    padding-bottom: 0.9em;
    margin-bottom: 0.4em;
    border-bottom: 1px solid var(--sg-line);
}

.sg-reel .sg-info-r {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: 0.35em 1em;
    padding: 0.55em 0 0.35em;
}

.sg-reel .sg-info-n {
    font-weight: 500;
    color: var(--sg-fg);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sg-reel .sg-info-c {
    font-family: var(--sg-mono);
    font-size: 0.85em;
    color: var(--sg-fg2);
    font-variant-numeric: tabular-nums;
}

.sg-reel .sg-info-b {
    grid-column: 1 / -1;
    height: calc(3px * var(--sg-s));
    background: var(--sg-line);
    overflow: hidden;
}

.sg-reel .sg-info-fill {
    display: block;
    height: 100%;
    background: var(--sg-fg2);
    transform-origin: 0 50%;
}

.sg-reel .sg-info-r.is-on .sg-info-n,
.sg-reel .sg-info-r.is-on .sg-info-c {
    color: var(--sg-accent);
}

.sg-reel .sg-info-r.is-on .sg-info-fill {
    background: var(--sg-accent);
}

/* ---------------------------------------------------------------- product plates */

.sg-reel .sg-pl {
    --pw: 200px;
    position: absolute;
    left: 0;
    top: 0;
    width: var(--pw);
    visibility: hidden;
    transform-origin: 50% 50%;
    will-change: transform, opacity;
}

.sg-reel .sg-pl-face {
    position: relative;
    width: var(--pw);
    height: calc(var(--pw) * 1.1547);
    background: #fff;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    display: grid;
    place-items: center;
}

.sg-reel .sg-pl-img {
    grid-area: 1 / 1;
    width: 70%;
    height: 56%;
    object-fit: contain;
    opacity: 0;
}

.sg-reel .sg-pl[data-state='ready'] .sg-pl-img {
    opacity: 1;
}

.sg-reel .sg-pl-ph {
    grid-area: 1 / 1;
    width: 22%;
    height: 22%;
    color: rgba(32, 32, 32, 0.16);
}

.sg-reel .sg-pl[data-state='ready'] .sg-pl-ph {
    display: none;
}

.sg-reel .sg-pl-back {
    position: absolute;
    left: 0;
    top: 0;
    width: var(--pw);
    height: calc(var(--pw) * 1.1547);
    overflow: visible;
    transform: translate(calc(var(--pw) * 0.07), calc(var(--pw) * 0.06));
}

.sg-reel .sg-pl-back polygon {
    fill: none;
    stroke: var(--sg-accent);
    stroke-width: calc(1.6px * var(--sg-s));
    vector-effect: non-scaling-stroke;
}

.sg-reel .sg-cat--lighting .sg-pl-back polygon,
.sg-reel .sg-cat--effects .sg-pl-back polygon {
    stroke: #ffac46;
}

.sg-reel .sg-pl-badge {
    position: absolute;
    left: 50%;
    top: calc(var(--pw) * -0.02);
    transform: translate(-50%, -50%);
    display: none;
    font-family: var(--sg-mono);
    font-size: clamp(calc(9px * var(--sg-s)), calc(var(--pw) * 0.05), calc(12px * var(--sg-s)));
    font-weight: 600;
    letter-spacing: 0.14em;
    padding: 0.45em 0.8em;
    border-radius: 999px;
    background: #ffac46;
    color: #202020;
    white-space: nowrap;
}

.sg-reel .sg-pl.is-featured .sg-pl-badge {
    display: block;
}

.sg-reel .sg-pl.is-featured .sg-pl-badge:empty::before {
    content: 'FEATURED';
}

.sg-reel .sg-pl--bare .sg-pl-badge {
    display: block;
    left: calc(var(--pw) * 0.5);
    top: calc(var(--pw) * 0.1);
    background: #202020;
    color: #ffe8d3;
}

.sg-reel .sg-pl-label {
    position: absolute;
    left: 50%;
    top: calc(var(--pw) * 1.2247);
    width: calc(var(--pw) * 1.06);
    transform: translateX(-50%);
    text-align: center;
}

.sg-reel .sg-pl--bare .sg-pl-label {
    display: none;
}

.sg-reel .sg-pl-meta {
    font-family: var(--sg-mono);
    font-size: clamp(calc(9px * var(--sg-s)), calc(var(--pw) * 0.047), calc(12px * var(--sg-s)));
    letter-spacing: 0.14em;
    color: var(--sg-accent);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sg-reel .sg-pl-name {
    margin-top: 0.4em;
    font-weight: 600;
    font-size: clamp(calc(12px * var(--sg-s)), calc(var(--pw) * 0.08), calc(20px * var(--sg-s)));
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--sg-fg);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sg-reel .sg-cat--lighting .sg-pl-name,
.sg-reel .sg-cat--effects .sg-pl-name {
    color: #fff;
}

.sg-reel .sg-pl-specs {
    display: flex;
    justify-content: center;
    gap: calc(4px * var(--sg-s));
    margin-top: 0.6em;
    overflow: hidden;
}

.sg-reel .sg-pl-specs span {
    flex: none;
    font-size: clamp(calc(9px * var(--sg-s)), calc(var(--pw) * 0.05), calc(12px * var(--sg-s)));
    line-height: 1;
    padding: 0.4em 0.7em;
    border-radius: 999px;
    border: 1px solid var(--sg-line);
    color: var(--sg-fg2);
    white-space: nowrap;
}

/* card variant (power conveyor) */
.sg-reel .sg-cv {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.sg-reel .sg-pl--card {
    background: #fff;
    border-radius: calc(var(--pw) * 0.06);
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(32, 32, 32, 0.08);
}

.sg-reel .sg-pl--card .sg-pl-face {
    height: calc(var(--pw) * 0.64);
    clip-path: none;
}

.sg-reel .sg-pl--card .sg-pl-img {
    width: 78%;
    height: 78%;
}

.sg-reel .sg-pl--card .sg-pl-back {
    display: none;
}

.sg-reel .sg-pl--card .sg-pl-label {
    position: static;
    transform: none;
    width: auto;
    text-align: left;
    padding: calc(var(--pw) * 0.06) calc(var(--pw) * 0.075) calc(var(--pw) * 0.075);
    border-top: 1px solid rgba(32, 32, 32, 0.08);
}

.sg-reel .sg-pl--card .sg-pl-meta {
    color: #b45309;
}

.sg-reel .sg-pl--card .sg-pl-name {
    color: #202020;
    min-height: 2.3em;
}

.sg-reel .sg-pl--card .sg-pl-specs {
    justify-content: flex-start;
}

.sg-reel .sg-pl--card .sg-pl-specs span {
    color: rgba(32, 32, 32, 0.78);
    border-color: rgba(32, 32, 32, 0.18);
}

/* rigging callouts */
.sg-reel .sg-co {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    gap: 0.8em;
    align-items: flex-start;
    visibility: hidden;
    will-change: transform, opacity;
}

.sg-reel .sg-co-n {
    flex: none;
    font-family: var(--sg-mono);
    font-size: 0.7em;
    font-weight: 600;
    letter-spacing: 0.12em;
    padding: 0.35em 0.55em;
    border-radius: 4px;
    background: #202020;
    color: #ffe8d3;
    margin-top: 0.15em;
}

.sg-reel .sg-co-body {
    min-width: 0;
}

.sg-reel .sg-co-name {
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: #202020;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sg-reel .sg-co-meta {
    margin-top: 0.35em;
    font-family: var(--sg-mono);
    font-size: 0.66em;
    letter-spacing: 0.14em;
    color: #b45309;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sg-reel.sg-narrow .sg-co-name {
    -webkit-line-clamp: 1;
    white-space: nowrap;
    display: block;
    text-overflow: ellipsis;
}

/* ---------------------------------------------------------------- ignition + lockup marks */

.sg-reel .sg-logo {
    position: absolute;
    left: 0;
    top: 0;
    overflow: visible;
    will-change: transform;
}

.sg-reel .sg-logo [data-part='c'],
.sg-reel .sg-logo [data-part='e'],
.sg-reel .sg-logo [data-part='g'] {
    transform-box: fill-box;
    transform-origin: 50% 50%;
}

.sg-reel .sg-ring {
    position: absolute;
    left: 0;
    top: 0;
    overflow: visible;
    color: #ffe8d3;
    transform-origin: 50% 50%;
    will-change: transform, opacity;
}

.sg-reel .sg-lk-ring {
    color: #202020;
}

.sg-reel .sg-ring-text {
    fill: currentColor;
    font-family: var(--sg-mono);
    font-weight: 500;
    letter-spacing: 0.2em;
}

.sg-reel .sg-ring-ticks {
    fill: none;
    stroke: currentColor;
    stroke-width: 0.5;
    stroke-dasharray: 0.5 2.6;
    opacity: 0.55;
}

/* ---------------------------------------------------------------- statement */

.sg-reel .sg-st {
    color: #202020;
}

.sg-reel .sg-st-strap {
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.005em;
}

.sg-reel .sg-st-toc {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    justify-content: space-between;
    gap: 1.5em;
    padding-top: 1em;
    white-space: nowrap;
}

.sg-reel .sg-st-toc::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1.5px;
    background: rgba(32, 32, 32, 0.4);
    transform: scaleX(var(--sg-rule, 1));
    transform-origin: 0 50%;
}

.sg-reel .sg-st-ti {
    display: inline-flex;
    align-items: baseline;
    gap: 0.75em;
    will-change: transform, opacity;
}

.sg-reel .sg-st-ti i {
    font-style: normal;
    font-family: var(--sg-mono);
    font-size: 0.8em;
    letter-spacing: 0.12em;
    color: rgba(32, 32, 32, 0.72);
}

.sg-reel .sg-st-ti span {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.sg-reel .sg-st-ti b {
    font-family: var(--sg-mono);
    font-weight: 600;
    font-size: 0.85em;
    padding: 0.2em 0.55em;
    border-radius: 999px;
    background: #202020;
    color: #ffac46;
}

.sg-reel .sg-st-sw {
    display: inline-block;
    will-change: transform, opacity;
}

/* ---------------------------------------------------------------- service */

.sg-reel .sg-sv-item {
    position: absolute;
    inset: 0;
    visibility: hidden;
    --sg-ink: #202020;
}

.sg-reel .sg-sv-item[data-tone='dark'] {
    --sg-ink: #ffe8d3;
}

.sg-reel .sg-sv-line {
    position: absolute;
    left: 0;
    top: 0;
    white-space: nowrap;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.045em;
    color: var(--sg-ink);
    transform-origin: 0 60%;
    will-change: transform;
}

.sg-reel .sg-sv-item[data-tone='dark']:nth-child(5n) .sg-sv-line {
    color: #ffac46;
}

.sg-reel .sg-sv-li {
    display: block;
    will-change: transform;
}

.sg-reel .sg-sv-cap {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    gap: 1.2em;
    align-items: baseline;
    font-family: var(--sg-mono);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sg-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-top: 0.9em;
    border-top: 1px solid currentColor;
}

.sg-reel.sg-narrow .sg-sv-cap {
    flex-wrap: wrap;
    gap: 0.4em 1em;
    white-space: normal;
    line-height: 1.5;
}

.sg-reel .sg-sv-no {
    opacity: 0.7;
}

/* ---------------------------------------------------------------- lockup text */

.sg-reel .sg-lk-text {
    position: absolute;
    left: 0;
    top: 0;
    color: #202020;
}

.sg-reel .sg-lk-line {
    overflow: hidden;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.035em;
    white-space: nowrap;
}

.sg-reel .sg-lk-li {
    display: block;
    will-change: transform;
}

.sg-reel .sg-lk-rule {
    height: calc(1.5px * var(--sg-s));
    margin: 0.9em 0 0.8em;
    background: #202020;
    transform-origin: 0 50%;
}

.sg-reel .sg-lk-strap {
    font-weight: 500;
    line-height: 1.35;
}

.sg-reel .sg-lk-stats {
    margin-top: 1.4em;
    min-height: 1.2em;
    font-family: var(--sg-mono);
    letter-spacing: 0.16em;
    white-space: nowrap;
}

/* ---------------------------------------------------------------- my account (sizes are design px; the scene scales them) */

.sg-reel .sg-ac-line {
    position: absolute;
    left: 0;
    top: 0;
    white-space: nowrap;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.045em;
    color: #ffe8d3;
    transform-origin: 0 60%;
    will-change: transform;
}

.sg-reel .sg-ac-login,
.sg-reel .sg-ac-win {
    position: absolute;
    left: 0;
    top: 0;
    visibility: hidden;
    transform-origin: 50% 50%;
    background: #fff;
    color: #202020;
    border-radius: 18px;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
    will-change: transform, opacity;
}

.sg-reel .sg-ac-login {
    width: 280px;
    height: 250px;
    box-sizing: border-box;
    padding: 20px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sg-reel .sg-ac-logo {
    width: 34px;
    height: 39px;
    margin: 0 auto 2px;
}

.sg-reel .sg-ac-field {
    height: 38px;
    flex: none;
    box-sizing: border-box;
    border-radius: 9px;
    background: #f4f0ec;
    border: 1px solid rgba(32, 32, 32, 0.08);
    display: flex;
    align-items: center;
    padding: 0 12px;
}

.sg-reel .sg-ac-typed {
    display: block;
    width: 150px;
    height: 8px;
    border-radius: 4px;
    background: #202020;
    transform-origin: 0 50%;
}

.sg-reel .sg-ac-dots {
    display: flex;
    gap: 6px;
}

.sg-reel .sg-ac-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #202020;
}

.sg-reel .sg-ac-btn {
    position: relative;
    margin-top: auto;
    height: 44px;
    flex: none;
    border-radius: 10px;
    background: #ffac46;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.sg-reel .sg-ac-ico {
    grid-area: 1 / 1;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #202020;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform-origin: 50% 50%;
}

.sg-reel .sg-ac-ripple {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border-radius: 50%;
    background: #fff;
    opacity: 0;
}

.sg-reel .sg-ac-cursor {
    position: absolute;
    left: 0;
    top: 0;
    width: 26px;
    height: 26px;
    visibility: hidden;
    transform-origin: 0 0;
    fill: #fff;
    stroke: #202020;
    stroke-width: 1.4;
    stroke-linejoin: round;
    overflow: visible;
}

.sg-reel .sg-ac-win {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sg-reel .sg-ac-head {
    height: 42px;
    flex: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    background: #ffe8d3;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.sg-reel .sg-ac-hex {
    width: 17px;
    height: 19px;
    fill: #ffac46;
}

.sg-reel .sg-ac-online {
    margin-left: auto;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #34d399;
}

.sg-reel .sg-ac-body {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    gap: 14px;
    padding: 14px;
    overflow: hidden;
}

.sg-reel .sg-ac-tiles {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
}

.sg-reel .sg-ac.is-narrow .sg-ac-tiles {
    grid-template-columns: repeat(2, 1fr);
}

.sg-reel .sg-ac-tile {
    position: relative;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 10px 10px 9px;
    border-radius: 12px;
    background: #f6f2ee;
    overflow: hidden;
    will-change: transform, opacity;
}

.sg-reel .sg-ac-tt {
    flex: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sg-reel .sg-ac-bens {
    flex: none;
    width: 205px;
    box-sizing: border-box;
    padding: 16px 14px;
    border-radius: 12px;
    background: #202020;
    color: #ffe8d3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 11px;
    visibility: hidden;
    will-change: transform, opacity;
}

.sg-reel .sg-ac.is-narrow .sg-ac-bens {
    position: absolute;
    inset: 14px;
    width: auto;
    gap: 14px;
    padding: 18px;
}

.sg-reel .sg-ac-ben {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
}

.sg-reel .sg-ac.is-narrow .sg-ac-ben {
    font-size: 15px;
}

.sg-reel .sg-ac-ben span {
    display: block;
}

.sg-reel .sg-ac-bc,
.sg-reel .sg-av-badge {
    flex: none;
    width: 19px;
    height: 21px;
    transform-origin: 50% 50%;
}

.sg-reel .sg-ac-bc .hx,
.sg-reel .sg-av-badge .hx {
    fill: #ffac46;
}

.sg-reel .sg-ac-bc .ck,
.sg-reel .sg-av-badge .ck {
    fill: none;
    stroke: #202020;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* feature tile illustrations */
.sg-reel .sg-av {
    position: relative;
    flex: 1;
    min-height: 0;
    margin-bottom: 8px;
}

.sg-reel .sg-av-row {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 14px;
    margin-bottom: 6px;
}

.sg-reel .sg-av-row .t {
    flex: none;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: #e2dad2;
}

.sg-reel .sg-av-row .b {
    flex: 1;
    height: 5px;
    border-radius: 3px;
    background: #d6cdc4;
}

.sg-reel .sg-av-row .p {
    flex: none;
    width: 22px;
    height: 9px;
    border-radius: 5px;
    background: #ffac46;
}

.sg-reel .sg-av-row:nth-child(2) .p {
    background: #34d399;
}

.sg-reel .sg-av-row:nth-child(3) .p {
    background: #202020;
}

.sg-reel .sg-av-doc {
    position: absolute;
    left: 4px;
    top: 2px;
    width: 46px;
    height: 58px;
    box-sizing: border-box;
    padding: 9px 7px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(32, 32, 32, 0.1);
}

.sg-reel .sg-av-doc i {
    height: 4px;
    border-radius: 2px;
    background: #d6cdc4;
}

.sg-reel .sg-av-doc i:first-child {
    width: 60%;
    background: #202020;
}

.sg-reel .sg-av--quotes .sg-av-badge {
    position: absolute;
    left: 40px;
    top: 36px;
    width: 26px;
    height: 29px;
}

.sg-reel .sg-av--invoices {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    padding: 0 30px 0 2px;
}

.sg-reel .sg-av-bar {
    flex: 1;
    max-width: 12px;
    border-radius: 3px 3px 0 0;
    background: #202020;
    transform-origin: 50% 100%;
}

.sg-reel .sg-av-bar:last-of-type {
    background: #ffac46;
}

.sg-reel .sg-av-dl {
    position: absolute;
    right: 2px;
    top: 2px;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #b45309;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sg-reel .sg-av-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.sg-reel .sg-av-map .rt {
    fill: none;
    stroke: #202020;
    stroke-width: 2;
    stroke-dasharray: 3 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sg-reel .sg-av-map .a {
    fill: #202020;
}

.sg-reel .sg-av-map .b {
    fill: #ffac46;
}

.sg-reel .sg-av-map .halo {
    fill: rgba(255, 172, 70, 0.35);
}

.sg-reel .sg-av-map .dot {
    fill: #ffac46;
    stroke: #fff;
    stroke-width: 1.5;
}

.sg-reel .sg-av--rate-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
}

.sg-reel .sg-av-rr {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sg-reel .sg-av-rr b {
    flex: none;
    width: 10px;
    font-size: 12px;
    color: #b45309;
}

.sg-reel .sg-av-rr span {
    flex: 1;
}

.sg-reel .sg-av-rr i {
    display: block;
    height: 8px;
    border-radius: 4px;
    background: #ffac46;
    transform-origin: 0 50%;
}

.sg-reel .sg-av-mask {
    position: absolute;
    inset: -2px -2px -2px 16px;
    border-radius: 6px;
    background: repeating-linear-gradient(45deg, #e2dad2 0 4px, #f6f2ee 4px 8px);
    transform-origin: 100% 50%;
}

.sg-reel .sg-av-hs {
    position: absolute;
    left: 2px;
    top: 4px;
    width: 34px;
    height: 34px;
    fill: none;
    stroke: #202020;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sg-reel .sg-av-live {
    position: absolute;
    left: 32px;
    top: 4px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #34d399;
}

.sg-reel .sg-av-bub {
    position: absolute;
    right: 2px;
    top: 8px;
    width: 44%;
    height: 12px;
    border-radius: 6px;
    background: #e2dad2;
    transform-origin: 100% 50%;
}

.sg-reel .sg-av-bub--me {
    top: 28px;
    right: 14px;
    width: 34%;
    background: #ffac46;
}

.sg-reel .sg-av-badge--solo {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 30px;
    height: 33px;
    margin: -16px 0 0 -15px;
}

/* ================================================================== homepage harness */

.hero-signal {
    position: relative;
    height: 708px;
    background: #202020;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.hero-signal__stage {
    position: absolute;
    inset: 0;
}

.hero-signal__reel {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* static treatment before JS runs / without JS: the HUD frame and a quiet hexagon */
.hero-signal__poster {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 72% 47%, rgba(255, 172, 70, 0.22) 0, rgba(255, 172, 70, 0) 5%),
        #202020;
}

.hero-signal__poster::after {
    content: '';
    position: absolute;
    left: 72%;
    top: 47%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffac46;
    transform: translate(-50%, -50%);
}

.hero-signal__dock {
    position: absolute;
    z-index: 2;
    left: max(24px, calc((100% - 80rem) / 2 + 2.5rem));
    bottom: 40px;
    width: min(600px, 46%);
    padding: 24px 26px 26px;
    background: rgba(26, 26, 26, 0.94);
    border: 1px solid rgba(255, 232, 211, 0.12);
    border-radius: 18px;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}

.hero-signal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.hero-signal__kicker {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffac46;
}

.hero-signal__kicker::before {
    content: '';
    width: 9px;
    height: 10px;
    background: currentColor;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.hero-signal__title {
    margin: 0;
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 1.04;
    letter-spacing: -0.025em;
    color: #fff;
}

.hero-signal__strap {
    margin: 10px 0 0;
    font-size: 16px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.72);
}

.hero-signal__search {
    margin-top: 20px;
    height: 56px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
}

.hero-signal__label {
    margin: 18px 0 10px;
    font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.hero-signal__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hero-signal__cat {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    min-height: 44px;
    padding: 0 11px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    overflow: hidden;
    transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.hero-signal__cat svg {
    flex: none;
    width: 16px;
    height: 16px;
    opacity: 0.75;
}

.hero-signal__cat-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-signal__cat-count {
    margin-left: auto;
    padding-left: 4px;
    font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    font-variant-numeric: tabular-nums;
}

.hero-signal__cat-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    opacity: 0;
    transition: opacity 0.2s;
}

.hero-signal__cat-bar i {
    display: block;
    height: 100%;
    background: #ffac46;
    transform: scaleX(0);
    transform-origin: 0 50%;
}

.hero-signal__cat[data-active] {
    border-color: rgba(255, 172, 70, 0.7);
}

.hero-signal__cat[data-active] .hero-signal__cat-bar {
    opacity: 1;
}

.hero-signal__cat[data-active] svg,
.hero-signal__cat[data-active] .hero-signal__cat-count {
    color: #ffac46;
    opacity: 1;
}

.hero-signal__cat:hover {
    background: #ffac46;
    border-color: #ffac46;
    color: #202020;
}

.hero-signal__cat:hover .hero-signal__cat-count,
.hero-signal__cat:hover svg {
    color: #202020;
}

.hero-signal__cat:focus-visible {
    outline: 2px solid #ffac46;
    outline-offset: 2px;
}

.hero-signal .hero-signal__toggle {
    flex: none;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

/* tablet + mobile: reel on top, content below on black */
@media (max-width: 1023.98px) {
    .hero-signal {
        height: auto;
    }

    .hero-signal__stage {
        position: relative;
        height: 520px;
    }

    .hero-signal__dock {
        position: static;
        left: auto;
        bottom: auto;
        width: auto;
        max-width: 640px;
        margin: 0 auto;
        padding: 22px 24px 30px;
        background: #202020;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

}

@media (max-width: 640px) {
    .hero-signal__stage {
        height: 420px;
    }

    .hero-signal__dock {
        padding: 14px 18px 26px;
    }

    .hero-signal__head {
        margin-bottom: 10px;
    }

    .hero-signal__title {
        font-size: 28px;
    }

    .hero-signal__strap {
        margin-top: 6px;
        font-size: 14px;
    }

    .hero-signal__search {
        margin-top: 14px;
        height: 50px;
    }

    .hero-signal__label {
        margin-top: 16px;
    }

    .hero-signal__cats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-signal__cat {
        min-height: 48px;
        font-size: 15px;
    }
}
