/**
 * LIVZO — "Tenant + Owner" (homepage module 8).
 *
 * The composition: a side each for tenants and owners, wired into the shared
 * community between them. The two sides are deliberately open — no boxed cards —
 * so the connecting wires read as joining one ecosystem rather than separating two
 * offers. Each side carries its own accent (tenant purple, owner navy) so the
 * columns stay distinguishable without becoming separate cards.
 *
 * Motion index
 *   reveal-on-scroll → [data-lz-inview] + .is-in (assets/js/societies.js)
 *   side ↔ wire link → [data-lz-duo-side] / [data-lz-duo-wire] (assets/js/tenant-owner.js)
 *   ambient          → glow drift, floating pins, node + bubble float, badge pulse
 *   hover            → node lift, bubble emphasis, benefit icon nudge, glow bloom
 *
 * Layout
 *   ≥1200px  : three columns — tenant │ shared community │ owner, wires drawn
 *   768–1199 : stacked tenant → community → owner, wires dropped
 *   <768px   : stacked community → tenant → owner (the visual leads)
 */

/* ==========================================================================
   1. Shell + decorative background
   ========================================================================== */

.lz-duo {
    position: relative;
    isolation: isolate;
    padding: clamp(64px, 7vw, 104px) 0 clamp(60px, 6.4vw, 92px);
    scroll-margin-top: calc(var(--lz-header-h) + 16px);
}

.lz-duo__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.lz-duo__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(76px);
}

.lz-duo__glow--a {
    top: -12%;
    left: -6%;
    width: min(46vw, 540px);
    aspect-ratio: 1;
    background-image: radial-gradient(circle at 50% 50%, rgba(109, 74, 255, 0.14), rgba(109, 74, 255, 0) 70%);
    animation: lzDrift 28s ease-in-out infinite;
}

.lz-duo__glow--b {
    bottom: -20%;
    right: -8%;
    width: min(44vw, 520px);
    aspect-ratio: 1;
    background-image: radial-gradient(circle at 50% 50%, rgba(109, 74, 255, 0.11), rgba(109, 74, 255, 0) 70%);
    animation: lzDrift 34s ease-in-out infinite reverse;
}

.lz-duo__grid-lines {
    position: absolute;
    inset: -6% -6% 0;
    background-image: linear-gradient(rgba(11, 27, 51, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 27, 51, 0.04) 1px, transparent 1px);
    background-size: 76px 76px;
    -webkit-mask-image: radial-gradient(ellipse 70% 62% at 50% 46%, #000 0%, transparent 76%);
    mask-image: radial-gradient(ellipse 70% 62% at 50% 46%, #000 0%, transparent 76%);
}

/* Faint apartment outlines along the floor of the section. */
.lz-duo__skyline {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: min(1280px, 104%);
    height: auto;
    transform: translateX(-50%);
    color: var(--lz-navy);
    opacity: 0.6;
}

/* Community/network lines drawn behind everything. */
.lz-duo__net {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: var(--lz-accent);
    opacity: 0.28;
}

.lz-duo__bgpin {
    position: absolute;
    color: var(--lz-accent);
}

.lz-duo__bgpin .lz-icon { width: 100%; height: 100%; }

.lz-duo__bgpin--a {
    top: 15%;
    left: 3%;
    width: 20px;
    opacity: 0.09;
    animation: lzFloat 14s ease-in-out infinite;
}

.lz-duo__bgpin--b {
    top: 62%;
    right: 4%;
    width: 15px;
    opacity: 0.07;
    animation: lzFloat 17s ease-in-out infinite reverse;
}

.lz-duo__bgpin--c {
    top: 26%;
    right: 22%;
    width: 13px;
    opacity: 0.06;
    animation: lzFloat 12s ease-in-out infinite;
}

/* ==========================================================================
   2. Head
   ========================================================================== */

.lz-duo__head {
    max-width: 780px;
    margin-inline: auto;
    text-align: center;
}

.lz-duo__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--lz-accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.lz-duo__eyebrow-ico {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--lz-accent-soft);
    color: var(--lz-accent);
    animation: lzPulse 3.4s var(--lz-ease) infinite;
}

.lz-duo__eyebrow-ico .lz-icon { width: 14px; height: 14px; }

.lz-duo__title {
    margin-top: 14px;
    font-size: clamp(1.9rem, 1.25rem + 2.05vw, 2.9rem);
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.lz-duo__title-accent {
    background-image: linear-gradient(100deg, var(--lz-accent-700) 0%, var(--lz-accent) 34%, #9C86FF 62%, var(--lz-accent) 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: var(--lz-accent);
    -webkit-text-fill-color: transparent;
    animation: lzAccentFlow 9s var(--lz-ease) infinite;
}

.lz-duo__lead {
    margin-top: 14px;
    margin-inline: auto;
    max-width: 66ch;
    font-size: clamp(0.96rem, 0.94rem + 0.2vw, 1.04rem);
    line-height: 1.68;
    color: var(--lz-body);
}

/* ==========================================================================
   3. Composition — body, wires, flow markers
   ========================================================================== */

.lz-duo__body {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(34px, 4.2vw, 56px);
    margin-top: clamp(38px, 4.6vw, 62px);
}

/* Mobile reads as a story: the shared community first, then each side, with the
   flow markers following the visual they belong to. */
.lz-duo__center { order: 1; min-width: 0; }
.lz-duo__side--tenant { order: 2; }
.lz-duo__wires { order: 3; }
.lz-duo__side--owner { order: 4; }

/* --- Wires -------------------------------------------------------------- */

/* Stacked there is no room for the curves, so the SVG goes and the markers stay
   behind as a chip row describing what flows between the two sides. */
.lz-duo__wires-svg { display: none; }

.lz-duo__wire {
    stroke: var(--lz-accent);
    stroke-opacity: 0.20;
    stroke-width: 1.5;
    stroke-dasharray: 5 8;
    stroke-linecap: round;
    transition: stroke-opacity 0.35s var(--lz-ease), stroke-width 0.35s var(--lz-ease);
}

.lz-duo__wire--shared {
    stroke-opacity: 0.14;
    stroke-dasharray: 4 10;
}

.lz-duo__wire.is-linked {
    stroke-opacity: 0.62;
    stroke-width: 2;
}

/* --- Flow markers ------------------------------------------------------- */

.lz-duo__flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.lz-duo__flow-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px 5px 10px;
    border: 1px solid var(--lz-line);
    border-radius: var(--lz-r-pill);
    background-color: rgba(255, 255, 255, 0.86);
    color: var(--lz-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.lz-duo__flow-dot {
    width: 6px;
    height: 6px;
    flex: none;
    border-radius: 50%;
    background-color: var(--lz-accent);
    opacity: 0.5;
}

/* ==========================================================================
   4. Audience panels
   ========================================================================== */

/* Each side carries its own accent so the columns read as distinct participants
   in the same ecosystem — tenant purple, owner navy. */
.lz-duo__side {
    --lz-duo-accent: var(--lz-accent);
    min-width: 0;
}

.lz-duo__side--owner { --lz-duo-accent: var(--lz-navy-2); }

.lz-duo__side-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--lz-duo-accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.lz-duo__side-label-ico {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--lz-accent-soft);
    color: var(--lz-duo-accent);
}

.lz-duo__side--owner .lz-duo__side-label-ico {
    background-color: rgba(22, 48, 79, 0.10);
}

.lz-duo__side-label-ico .lz-icon { width: 13px; height: 13px; }

.lz-duo__side-title {
    margin-top: 12px;
    font-size: clamp(1.26rem, 1.12rem + 0.62vw, 1.6rem);
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.lz-duo__side-text {
    margin-top: 10px;
    color: var(--lz-body);
    font-size: 0.93rem;
    line-height: 1.65;
}

/* --- Benefits ----------------------------------------------------------- */

.lz-duo__benefits {
    display: grid;
    gap: 4px;
    margin-top: 20px;
}

.lz-duo__benefit {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px 10px;
    border-radius: 13px;
    transition: background-color 0.28s var(--lz-ease);
}

.lz-duo__benefit:hover { background-color: var(--lz-accent-soft); }

.lz-duo__benefit-num {
    width: 20px;
    flex: none;
    /* The documented "quiet" floor (≈6.2:1) — --lz-muted is only ≈3.7:1, which is
       below the contrast the numbered list needs. */
    color: #556275;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
}

.lz-duo__benefit-ico {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    flex: none;
    color: var(--lz-duo-accent);
    transition: transform 0.28s var(--lz-ease-out);
}

.lz-duo__benefit-ico .lz-icon { width: 17px; height: 17px; }

/* The icon moves, the text never does. */
.lz-duo__benefit:hover .lz-duo__benefit-ico { transform: translateX(3px); }

.lz-duo__benefit-label {
    color: var(--lz-navy);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: -0.012em;
}

/* --- Profile cluster ---------------------------------------------------- */

.lz-duo__cluster {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--lz-line);
}

.lz-duo__cluster-head {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-wrap: wrap;
}

.lz-duo__cluster-avatars {
    display: inline-flex;
    align-items: center;
}

.lz-duo__cluster-avatar {
    display: block;
    margin-left: -10px;
    border-radius: 50%;
    box-shadow: 0 0 0 2.5px var(--lz-bg);
    transition: transform 0.3s var(--lz-ease-out);
}

.lz-duo__cluster-avatar:first-child { margin-left: 0; }

.lz-duo__cluster-avatar .lz-avatar {
    width: 34px;
    height: 34px;
}

.lz-duo__cluster-note {
    color: var(--lz-body);
    font-size: 0.74rem;
    font-weight: 600;
}

.lz-duo__bubbles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

/* --- Insight bubbles ---------------------------------------------------- */

.lz-duo__insight {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    color: var(--lz-body);
}

.lz-duo__insight--bubble {
    padding: 8px 13px 8px 10px;
    border: 1px solid var(--lz-line);
    border-radius: 15px;
    border-bottom-left-radius: 4px;
    background-color: var(--lz-surface);
    box-shadow: 0 1px 2px rgba(11, 27, 51, 0.04);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.4;
    transition: border-color 0.3s var(--lz-ease),
        background-color 0.3s var(--lz-ease),
        box-shadow 0.3s var(--lz-ease),
        transform 0.3s var(--lz-ease-out);
}

/* The bubble gains weight, not the text — contrast stays untouched. */
.lz-duo__side:hover .lz-duo__insight--bubble,
.lz-duo__side:focus-within .lz-duo__insight--bubble {
    border-color: rgba(109, 74, 255, 0.30);
    background-color: #FBFAFF;
    box-shadow: 0 10px 24px -18px rgba(11, 27, 51, 0.45);
    transform: translateY(-2px);
}

.lz-duo__insight-ico {
    display: grid;
    place-items: center;
    flex: none;
    color: var(--lz-duo-accent);
}

.lz-duo__insight-ico .lz-icon { width: 13px; height: 13px; }

.lz-duo__insight-text { min-width: 0; }

/* --- Side CTA ----------------------------------------------------------- */

.lz-duo__side-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 20px;
    color: var(--lz-duo-accent);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: -0.012em;
    transition: color 0.28s var(--lz-ease), gap 0.28s var(--lz-ease-out);
}

.lz-duo__side-cta:hover { gap: 11px; }

.lz-duo__side-cta-ico {
    width: 16px;
    height: 16px;
    transition: transform 0.28s var(--lz-ease-out);
}

/* ==========================================================================
   5. Community visual
   ========================================================================== */

.lz-duo__visual {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
}

.lz-duo__visual-glow {
    position: absolute;
    inset: 6% 4%;
    z-index: 0;
    border-radius: 50%;
    background-image: radial-gradient(circle at 50% 44%, rgba(109, 74, 255, 0.22), rgba(109, 74, 255, 0) 68%);
    filter: blur(30px);
    pointer-events: none;
    transition: opacity 0.4s var(--lz-ease), transform 0.4s var(--lz-ease-out);
}

.lz-duo__visual:hover .lz-duo__visual-glow {
    transform: scale(1.04);
    opacity: 0.9;
}

.lz-duo__stage {
    position: relative;
    z-index: 1;
}

.lz-duo__stage-img {
    display: block;
    width: 100%;
    height: auto;
}

/* --- Floating markers --------------------------------------------------- */

.lz-duo__node {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px 6px 7px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--lz-r-pill);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(11, 27, 51, 0.06), 0 16px 30px -22px rgba(11, 27, 51, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.32s var(--lz-ease-out), box-shadow 0.32s var(--lz-ease);
}

.lz-duo__node:hover {
    transform: translateY(-3px);
    box-shadow: 0 2px 5px rgba(11, 27, 51, 0.06), 0 22px 38px -22px rgba(74, 40, 220, 0.55);
}

.lz-duo__node-ico {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    flex: none;
    border-radius: 50%;
    background-color: var(--lz-accent-soft);
    color: var(--lz-accent);
}

.lz-duo__node-ico .lz-icon { width: 15px; height: 15px; }

.lz-duo__node-body { display: grid; }

.lz-duo__node-value {
    color: var(--lz-navy);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.lz-duo__node-label {
    color: var(--lz-body);
    font-size: 0.68rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Icon-only markers: the label is the accessible name, not a visible line. */
.lz-duo__node--avatars {
    padding: 5px 11px 5px 6px;
    animation: lzCardFloat 9s var(--lz-ease) infinite;
}

/* Slots ring the building in the bands the flow markers leave free: the sky above
   the towers, then the rooflines. Nothing is placed in the lower band, where the
   wires converge and the community badge sits. */
.lz-duo__node--a { left: 0;  top: 6%; }
.lz-duo__node--b { right: 0; top: 5%; }
.lz-duo__node--c { right: 0; top: 22%; }
.lz-duo__node--e { left: 2%; top: 24%; }
.lz-duo__node--f { right: 3%; top: 35%; }

.lz-duo__node--avatars .lz-duo__cluster-avatar { margin-left: -12px; }

.lz-duo__node--avatars .lz-duo__cluster-avatar .lz-avatar {
    width: 26px;
    height: 26px;
}

.lz-duo__node--avatars .lz-duo__cluster-note {
    font-size: 0.66rem;
    white-space: nowrap;
}

/* --- Community badge ---------------------------------------------------- */

.lz-duo__badge {
    position: absolute;
    left: 50%;
    bottom: 3%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px 9px 10px;
    border: 1px solid rgba(109, 74, 255, 0.16);
    border-radius: var(--lz-r-pill);
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: 0 3px 8px rgba(11, 27, 51, 0.06), 0 26px 44px -28px rgba(74, 40, 220, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: translateX(-50%);
    animation: lzDuoBadge 5.2s var(--lz-ease) infinite;
}

@keyframes lzDuoBadge {
    0%, 100% { box-shadow: 0 3px 8px rgba(11, 27, 51, 0.06), 0 26px 44px -28px rgba(74, 40, 220, 0.55); }
    50% { box-shadow: 0 3px 8px rgba(11, 27, 51, 0.06), 0 30px 54px -26px rgba(74, 40, 220, 0.75); }
}

.lz-duo__badge-ico {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: none;
    border-radius: 50%;
    background-image: linear-gradient(180deg, var(--lz-accent) 0%, var(--lz-accent-600) 100%);
    color: #fff;
}

.lz-duo__badge-ico .lz-icon { width: 17px; height: 17px; }

.lz-duo__badge-body { display: grid; }

.lz-duo__badge-label {
    color: var(--lz-navy);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.2;
}

.lz-duo__badge-text {
    color: var(--lz-body);
    font-size: 0.68rem;
    font-weight: 500;
    white-space: nowrap;
}

/* ==========================================================================
   6. Shared-perspective card
   ========================================================================== */

.lz-duo__shared {
    display: grid;
    gap: clamp(20px, 2.6vw, 32px);
    margin-top: clamp(38px, 4.6vw, 60px);
    padding: clamp(22px, 2.8vw, 32px) clamp(22px, 3vw, 38px);
    border: 1px solid var(--lz-line);
    border-radius: 26px;
    background-image: linear-gradient(135deg, rgba(109, 74, 255, 0.08), rgba(109, 74, 255, 0.02) 54%, rgba(109, 74, 255, 0.06)),
        linear-gradient(180deg, var(--lz-surface), var(--lz-bg-2));
    box-shadow: 0 1px 2px rgba(11, 27, 51, 0.04), 0 22px 46px -38px rgba(11, 27, 51, 0.32);
}

.lz-duo__shared-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: clamp(1.1rem, 1rem + 0.5vw, 1.36rem);
    letter-spacing: -0.028em;
    text-align: center;
    text-wrap: balance;
}

.lz-duo__shared-title-ico {
    display: grid;
    place-items: center;
    flex: none;
    color: var(--lz-accent);
}

.lz-duo__shared-title-ico .lz-icon { width: 20px; height: 20px; }

.lz-duo__shared-text {
    margin-top: 9px;
    margin-inline: auto;
    max-width: 62ch;
    color: var(--lz-body);
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: center;
}

.lz-duo__shared-items {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.lz-duo__shared-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-width: 0;
}

/* Sub-copy gets a divider, never a border around itself. */
.lz-duo__shared-item + .lz-duo__shared-item {
    padding-top: 14px;
    border-top: 1px solid var(--lz-line);
}

.lz-duo__insight--inline {
    gap: 9px;
    color: var(--lz-navy);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: -0.012em;
}

.lz-duo__insight--inline .lz-duo__insight-ico {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--lz-accent-soft);
    color: var(--lz-accent);
}

.lz-duo__insight--inline .lz-duo__insight-ico .lz-icon { width: 16px; height: 16px; }

/* ==========================================================================
   7. Closing CTA
   ========================================================================== */

.lz-duo__cta {
    display: grid;
    justify-items: center;
    gap: 16px;
    margin-top: clamp(38px, 4.4vw, 58px);
    text-align: center;
}

.lz-duo__cta-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 40ch;
    color: var(--lz-navy);
    font-size: clamp(1.02rem, 0.96rem + 0.42vw, 1.24rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.4;
    text-wrap: balance;
}

.lz-duo__cta-title-ico {
    display: grid;
    place-items: center;
    flex: none;
    color: var(--lz-accent);
    opacity: 0.75;
}

.lz-duo__cta-title-ico .lz-icon { width: 19px; height: 19px; }

.lz-duo__cta-note {
    color: var(--lz-body);
    font-size: 0.8rem;
    font-weight: 500;
}

.lz-duo__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--lz-body);
    font-size: 0.76rem;
    line-height: 1.5;
    text-align: center;
}

.lz-duo__note-ico {
    display: grid;
    place-items: center;
    flex: none;
    color: var(--lz-accent);
}

.lz-duo__note-ico .lz-icon { width: 14px; height: 14px; }

/* ==========================================================================
   8. Reveal on scroll (scoped copy — the module stays self-contained)
   ========================================================================== */

.has-js .lz-duo [data-lz-inview] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s var(--lz-ease-out) var(--lz-delay, 0ms),
        transform 0.85s var(--lz-ease-out) var(--lz-delay, 0ms);
    will-change: opacity, transform;
}

.has-js .lz-duo [data-lz-inview].is-in {
    opacity: 1;
    transform: none;
    will-change: auto;
}

/* ==========================================================================
   9. Responsive
   ========================================================================== */

/* Tablet: the sides come first, the shared visual sits between them. */
@media (min-width: 768px) {
    .lz-duo__side--tenant { order: 1; }
    .lz-duo__center { order: 2; }
    .lz-duo__wires { order: 3; }
    .lz-duo__side--owner { order: 4; }

    .lz-duo__body { gap: clamp(38px, 4.6vw, 52px); }

    .lz-duo__shared-items {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
    }

    .lz-duo__shared-item + .lz-duo__shared-item {
        padding-top: 0;
        padding-left: clamp(16px, 2.4vw, 28px);
        border-top: 0;
        border-left: 1px solid var(--lz-line);
    }
}

/* Desktop: one row — the wires only make sense here. */
@media (min-width: 1200px) {
    .lz-duo__body {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) minmax(0, 0.9fr);
        align-items: center;
        gap: clamp(28px, 3.2vw, 52px);
    }

    .lz-duo__side--tenant { grid-column: 1; grid-row: 1; }
    .lz-duo__center { grid-column: 2; grid-row: 1; }
    .lz-duo__side--owner { grid-column: 3; grid-row: 1; }

    .lz-duo__wires {
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
    }

    .lz-duo__wires-svg {
        display: block;
        width: 100%;
        height: 100%;
    }

    .lz-duo__side,
    .lz-duo__center { position: relative; z-index: 1; }

    /* The markers become floating labels riding the wires. */
    .lz-duo__flow {
        position: absolute;
        inset: 0;
        display: block;
        margin: 0;
    }

    .lz-duo__flow-item {
        position: absolute;
        transform: translate(-50%, -50%);
        background-color: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        transition: border-color 0.32s var(--lz-ease), color 0.32s var(--lz-ease),
            box-shadow 0.32s var(--lz-ease);
    }

    .lz-duo__flow-item.is-linked {
        border-color: rgba(109, 74, 255, 0.34);
        color: var(--lz-accent-700);
        box-shadow: 0 10px 22px -18px rgba(74, 40, 220, 0.6);
    }

    .lz-duo__flow-item.is-linked .lz-duo__flow-dot {
        opacity: 1;
        background-color: var(--lz-accent-600);
    }

    /* Positions sit on the curves drawn by livzo_connection_path(). */
    .lz-duo__flow-item--a { left: 33%; top: 50%; }
    .lz-duo__flow-item--b { left: 41.5%; top: 62%; }
    .lz-duo__flow-item--c { left: 50%; top: 12.5%; }
    .lz-duo__flow-item--d { left: 67%; top: 50%; }
    .lz-duo__flow-item--e { left: 58.5%; top: 62%; }
}

@media (max-width: 767px) {
    .lz-duo__visual { max-width: 420px; }

    /* Below the three-column layout the markers have nowhere to ride, so the
       wires go and the cluster sits only at the foot of the stage. */
    .lz-duo__badge { bottom: 1%; }

    .lz-duo__node { transform: scale(0.92); transform-origin: center; }
    .lz-duo__node:hover { transform: scale(0.92) translateY(-3px); }
}

@media (max-width: 520px) {
    .lz-duo__shared { border-radius: 20px; }
    .lz-duo__shared-title { font-size: 1.06rem; }
    .lz-duo__badge { padding: 8px 14px 8px 8px; gap: 8px; }
    .lz-duo__badge-ico { width: 28px; height: 28px; }
    .lz-duo__badge-label { font-size: 0.76rem; }
    .lz-duo__badge-text { font-size: 0.64rem; }
    .lz-duo__node { transform: scale(0.84); }
    .lz-duo__node:hover { transform: scale(0.84) translateY(-3px); }
}

/* ==========================================================================
   10. Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .has-js .lz-duo [data-lz-inview] {
        opacity: 1;
        transform: none;
    }

    .lz-duo__title-accent,
    .lz-duo__eyebrow-ico,
    .lz-duo__glow,
    .lz-duo__bgpin,
    .lz-duo__node,
    .lz-duo__badge {
        animation: none;
    }

    .lz-duo__node,
    .lz-duo__node:hover,
    .lz-duo__insight--bubble,
    .lz-duo__visual-glow {
        transform: none;
    }
}
