/* Workar Approach / ADAPT — scoped widget skin. */
.workar-approach {
    --wa-graphite: #111315;
    --wa-deep: #202428;
    --wa-champagne: #D5C8B0;
    --wa-ivory: #F2F0EA;
    --wa-teal: #00D7C8;
    --wa-muted: rgba(242, 240, 234, .66);
    --wa-line: rgba(213, 200, 176, .28);
    position: relative;
    width: 100%;
    color: var(--wa-ivory);
    background: var(--wa-graphite);
    /* Clip decorative bleed horizontally only; never crop the first/last content rows. */
    overflow-x: clip;
    overflow-y: visible;
    isolation: isolate;
}

.workar-approach::before,
.workar-approach::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border: 1px solid rgba(213, 200, 176, .055);
    border-radius: 50%;
}
.workar-approach::before {
    width: min(68vw, 880px);
    aspect-ratio: 1;
    top: -76%;
    left: -25%;
    box-shadow: 0 0 0 28px rgba(213, 200, 176, .012), 0 0 0 58px rgba(213, 200, 176, .009);
}
.workar-approach::after {
    width: min(48vw, 650px);
    aspect-ratio: 1;
    right: -21%;
    bottom: -62%;
    border-color: rgba(0, 215, 200, .075);
    box-shadow: 0 0 0 30px rgba(0, 215, 200, .012), 0 0 0 64px rgba(0, 215, 200, .008);
}

/*
 * Desktop narrative: the section owns a long scroll runway while the complete,
 * authored-size ADAPT scene stays pinned. No transform-based fit scaling is used.
 */
.workar-approach__scroll-space {
    position: relative;
    min-height: 0;
}
.workar-approach[data-scroll-story="yes"][data-approach-mode="sticky"] .workar-approach__scroll-space {
    min-height: calc(var(--workar-approach-story-vh, 205) * 1vh);
}
.workar-approach__sticky {
    position: relative;
    width: 100%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 76px 0 62px;
}
.workar-approach[data-scroll-story="yes"][data-approach-mode="sticky"] .workar-approach__sticky {
    position: sticky;
    top: var(--workar-approach-sticky-offset, 110px);
    box-sizing: border-box;
    height: calc(100vh - var(--workar-approach-sticky-offset, 110px));
    height: calc(100svh - var(--workar-approach-sticky-offset, 110px));
    min-height: 0;
    padding: 4px 0;
    align-items: center;
    justify-content: center;
    overflow: visible;
}
body.admin-bar .workar-approach[data-scroll-story="yes"][data-approach-mode="sticky"] .workar-approach__sticky {
    --workar-approach-sticky-offset: 142px;
}

.workar-approach[data-editor-preview="yes"] .workar-approach__scroll-space {
    min-height: 0;
}
.workar-approach[data-editor-preview="yes"] .workar-approach__sticky {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    padding: 54px 0;
}

.workar-approach__inner {
    width: min(100% - 64px, 1450px);
    margin: auto;
}
.workar-approach__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 34px;
    margin-bottom: clamp(18px, 2.4vh, 28px);
}
.workar-approach__heading-group {
    min-width: 0;
    max-width: 720px;
    text-align: right;
}
.workar-approach__eyebrow {
    margin-bottom: 13px;
}
.workar-approach__title {
    margin: 0;
    color: var(--wa-ivory);
    font-size: clamp(32px, 3.5vw, 54px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.035em;
}
.workar-approach__subtitle {
    margin: 10px 0 0;
    color: var(--wa-champagne);
    font-size: clamp(16px, 1.42vw, 21px);
    line-height: 1.8;
    font-weight: 600;
}
.workar-approach__intro-note {
    max-width: 650px;
    margin: 8px 0 0;
    color: var(--wa-muted);
    font-size: 13px;
    line-height: 1.95;
}
.workar-approach__brand-mark {
    flex: 0 0 auto;
    min-width: 190px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    padding: 0 0 7px;
    color: var(--wa-champagne);
    text-align: right;
}
.workar-approach__brand-word {
    font-family: Arial, sans-serif;
    font-size: clamp(26px, 2.8vw, 40px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: .19em;
    color: rgba(242, 240, 234, .9);
}
.workar-approach__brand-caption {
    font-family: Arial, sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .21em;
    color: var(--wa-champagne);
}
.workar-approach__brand-line {
    width: 72px;
    height: 2px;
    margin-top: 9px;
    background: linear-gradient(90deg, transparent, var(--wa-teal));
    box-shadow: 0 0 14px rgba(0, 215, 200, .35);
}

.workar-approach__path {
    --workar-approach-progress: 0;
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    /* The framework acronym reads A-D-A-P-T from left to right. */
    direction: ltr;
    align-items: stretch;
    gap: clamp(10px, 1.35vw, 22px);
    padding: 10px 0 8px;
}
.workar-approach__path-base,
.workar-approach__path-progress {
    position: absolute;
    z-index: 0;
    /* Hub center: 10px path padding + 78.5px intrinsic stage header + 8px bottom gap
       + half of the responsive SVG node height. */
    top: calc(96.5px + (clamp(128px, 12.4vw, 176px) * 0.4380952381));
    right: 8.2%;
    left: 8.2%;
    height: 1px;
    pointer-events: none;
}
.workar-approach__path-base {
    background: linear-gradient(90deg, rgba(213, 200, 176, .12), rgba(213, 200, 176, .58), rgba(213, 200, 176, .12));
}
.workar-approach__path-progress {
    /* Progress starts below A on the left and advances toward T on the right. */
    left: 8.2%;
    right: auto;
    width: 83.6%;
    transform: scaleX(var(--workar-approach-progress));
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(0, 215, 200, .32), #00D7C8);
    box-shadow: 0 0 11px rgba(0, 215, 200, .55);
    transition: transform .55s cubic-bezier(.2,.75,.25,1);
}

.workar-approach__stage {
    position: relative;
    z-index: 1;
    min-width: 0;
    /* Stage copy remains Persian RTL inside the LTR framework path. */
    direction: rtl;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 6px 8px;
    color: var(--wa-ivory);
}
.workar-approach__stage:not(:last-of-type)::after {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 1.5px solid rgba(0, 215, 200, .55);
    border-right: 1.5px solid rgba(0, 215, 200, .55);
    transform: translateY(-50%) rotate(45deg);
    position: absolute;
    z-index: 3;
    top: calc(96.5px + (clamp(128px, 12.4vw, 176px) * 0.4380952381) - 18.5px);
    transform: translateY(-50%);
    right: calc(-1 * clamp(10px, 1.35vw, 22px) - 10px);
    left: auto;
    color: rgba(0, 215, 200, .55);
    font-family: Arial, sans-serif;
    font-size: 27px;
    line-height: 1;
    text-shadow: 0 0 9px rgba(0, 215, 200, .28);
}
.workar-approach__stage-top {
    width: 100%;
    min-height: 75px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 8px;
}
.workar-approach__stage-code {
    display: inline-block;
    color: rgba(213, 200, 176, .92);
    font-family: Arial, sans-serif;
    font-size: 10px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .19em;
    direction: ltr;
}
.workar-approach__tasks {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.workar-approach__tasks li {
    position: relative;
    max-width: 100%;
    color: rgba(242, 240, 234, .58);
    font-size: 10px;
    line-height: 1.65;
    font-weight: 500;
    text-wrap: balance;
}
.workar-approach__tasks li::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 0 2px 6px;
    border-radius: 50%;
    background: rgba(0, 215, 200, .75);
    box-shadow: 0 0 6px rgba(0, 215, 200, .32);
}

.workar-approach__node {
    position: relative;
    z-index: 2;
    width: clamp(128px, 12.4vw, 176px);
    aspect-ratio: 210 / 184;
    display: block;
    flex: 0 0 auto;
    padding: 0;
    margin: 0 0 9px;
    border: 0;
    border-radius: 0;
    appearance: none;
    background: transparent;
    color: var(--wa-champagne);
    cursor: pointer;
    isolation: isolate;
    transition: transform .38s ease, filter .38s ease;
}
.workar-approach__hex-svg {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}
.workar-approach__hex-outer {
    fill: rgba(32, 36, 40, .73);
    stroke: rgba(213, 200, 176, .47);
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
    transition: fill .38s ease, stroke .38s ease, stroke-width .38s ease;
}
.workar-approach__hex-inner {
    fill: none;
    stroke: rgba(213, 200, 176, .19);
    stroke-width: 1.25;
    vector-effect: non-scaling-stroke;
}
.workar-approach__hex-cut {
    fill: none;
    stroke: rgba(213, 200, 176, .15);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}
.workar-approach__hex-point {
    fill: var(--wa-teal);
    opacity: .75;
    filter: drop-shadow(0 0 4px rgba(0, 215, 200, .65));
}
.workar-approach__hex-letter {
    fill: var(--wa-ivory) !important;
    font-family: Arial, sans-serif !important;
    font-size: 71px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-anchor: middle !important;
    dominant-baseline: central !important;
    alignment-baseline: central !important;
    transition: fill .35s ease;
}
.workar-approach__node-glow {
    position: absolute;
    z-index: 1;
    inset: 13%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 215, 200, .15), transparent 68%);
    opacity: .18;
    filter: blur(13px);
    transition: opacity .38s ease, transform .38s ease;
}
/*
 * Keep the interactive hexagon button isolated from theme / Elementor button skins.
 * Some global button focus/active rules paint a rectangular background behind
 * the SVG. The button itself must stay transparent in every pointer and keyboard state;
 * the SVG geometry is the only surface allowed to show the active/focus treatment.
 */
.workar-approach .workar-approach__stage .workar-approach__node,
.workar-approach .workar-approach__stage .workar-approach__node:hover,
.workar-approach .workar-approach__stage .workar-approach__node:focus,
.workar-approach .workar-approach__stage .workar-approach__node:focus-visible,
.workar-approach .workar-approach__stage .workar-approach__node:active,
.workar-approach .workar-approach__stage .workar-approach__node[aria-pressed="true"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    background-color: transparent;
    background-image: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    outline: 0;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}
.workar-approach .workar-approach__stage .workar-approach__node::before,
.workar-approach .workar-approach__stage .workar-approach__node::after {
    content: none;
    display: none;
}
.workar-approach .workar-approach__node:hover,
.workar-approach .workar-approach__node:focus-visible {
    transform: translateY(-4px);
}
.workar-approach .workar-approach__node:focus-visible .workar-approach__hex-outer {
    stroke: var(--wa-teal);
    stroke-width: 3.4;
    stroke-dasharray: 5 2;
}
.workar-approach .workar-approach__stage.is-active .workar-approach__node {
    background: transparent;
    filter: drop-shadow(0 0 12px rgba(0, 215, 200, .2));
}
.workar-approach__stage.is-active .workar-approach__hex-outer {
    fill: rgba(0, 215, 200, .095);
    stroke: var(--wa-teal);
    stroke-width: 2.8;
}
.workar-approach__stage.is-active .workar-approach__hex-inner {
    stroke: rgba(0, 215, 200, .48);
}
.workar-approach__stage.is-active .workar-approach__hex-cut {
    stroke: rgba(0, 215, 200, .3);
}
.workar-approach__stage.is-active .workar-approach__hex-letter {
    fill: var(--wa-ivory, #F2F0EA);
}
.workar-approach__stage.is-active .workar-approach__node-glow {
    opacity: .8;
    transform: scale(1.18);
}

.workar-approach__stage-copy {
    min-height: 58px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.workar-approach__stage-title {
    margin: 0;
    color: var(--wa-ivory);
    font-size: clamp(16px, 1.25vw, 20px);
    line-height: 1.5;
    font-weight: 800;
    transition: color .3s ease;
}
.workar-approach__stage.is-active .workar-approach__stage-title {
    color: var(--wa-champagne);
}
.workar-approach__stage-description {
    max-width: 250px;
    margin: 4px auto 0;
    color: var(--wa-muted);
    font-size: 11px;
    line-height: 1.85;
    font-weight: 400;
}
.workar-approach__output {
    width: 100%;
    min-height: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin-top: 5px;
    padding: 5px 8px;
    border: 1px solid rgba(213, 200, 176, .2);
    border-radius: 8px;
    background: linear-gradient(130deg, rgba(213, 200, 176, .055), rgba(32, 36, 40, .5));
    transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.workar-approach__output-label {
    color: rgba(213, 200, 176, .66);
    font-size: 9px;
    line-height: 1.3;
}
.workar-approach__output-value {
    color: var(--wa-ivory);
    font-size: 10px;
    line-height: 1.55;
    font-weight: 700;
}
.workar-approach__stage.is-active .workar-approach__output {
    border-color: rgba(0, 215, 200, .47);
    background: linear-gradient(130deg, rgba(0, 215, 200, .105), rgba(32, 36, 40, .72));
    box-shadow: inset 0 0 22px rgba(0, 215, 200, .035), 0 0 16px rgba(0, 215, 200, .06);
}
.workar-approach__stage.is-active .workar-approach__output-value {
    color: var(--wa-ivory, #F2F0EA);
}


/*
 * Short desktop viewports: preserve the full type scale and full-size hubs.
 * Fit the authored scene only by tightening vertical rhythm, never by scaling.
 */
@media (min-width: 1100px) and (max-height: 680px) {
    .workar-approach[data-scroll-story="yes"][data-approach-mode="sticky"] .workar-approach__sticky {
        padding: 0;
    }
    .workar-approach__header {
        margin-bottom: 0;
    }
    .workar-approach__eyebrow {
        margin-bottom: 2px;
    }
    /* The title/subtitle carry the message; the optional supporting note yields on short screens. */
    .workar-approach__intro-note {
        display: none;
    }
    .workar-approach__title {
        line-height: 1.08;
    }
    .workar-approach__subtitle {
        margin-top: 4px;
        line-height: 1.4;
    }
    .workar-approach__path {
        padding: 0;
    }
    .workar-approach__path-base,
    .workar-approach__path-progress {
        top: calc(62px + (clamp(128px, 12.4vw, 176px) * 0.4380952381));
    }
    .workar-approach__stage-top {
        min-height: 62px;
        gap: 2px;
        margin-bottom: 0;
    }
    .workar-approach__tasks {
        gap: 2px;
    }
    .workar-approach__tasks li {
        line-height: 1.4;
    }
    .workar-approach__stage:not(:last-of-type)::after {
        top: calc(62px + (clamp(128px, 12.4vw, 176px) * 0.4380952381) - 8.5px);
    }
    .workar-approach__node {
        margin-bottom: 0;
    }
    .workar-approach__stage-description {
        margin-top: 2px;
        line-height: 1.55;
    }
    .workar-approach__output {
        padding: 3px 6px;
    }
    .workar-approach__stage {
        padding-bottom: 4px;
    }
}

/* Very short desktop viewports: retain font sizes and nodes; tighten only line rhythm. */
@media (min-width: 1100px) and (max-height: 575px) {
    .workar-approach__eyebrow {
        margin-bottom: 0;
    }
    .workar-approach__title {
        line-height: .98;
    }
    .workar-approach__subtitle {
        margin-top: 0;
        line-height: 1.1;
    }
    .workar-approach__stage-top {
        min-height: 54px;
        gap: 1px;
    }
    .workar-approach__tasks {
        gap: 1px;
    }
    .workar-approach__tasks li {
        line-height: 1.15;
    }
    .workar-approach__path-base,
    .workar-approach__path-progress {
        top: calc(54px + (clamp(128px, 12.4vw, 176px) * 0.4380952381));
    }
    .workar-approach__stage:not(:last-of-type)::after {
        top: calc(54px + (clamp(128px, 12.4vw, 176px) * 0.4380952381) - 8.5px);
    }
    .workar-approach__stage-description {
        margin-top: 0;
        line-height: 1.2;
    }
    .workar-approach__output {
        padding: 0 6px;
    }
    .workar-approach__stage {
        padding-bottom: 2px;
    }
}

@media (max-width: 1099px) {
    .workar-approach[data-scroll-story="yes"] .workar-approach__scroll-space,
    .workar-approach[data-scroll-story="yes"][data-approach-mode="sticky"] .workar-approach__scroll-space {
        min-height: 0 !important;
    }
    .workar-approach[data-scroll-story="yes"] .workar-approach__sticky,
    .workar-approach[data-scroll-story="yes"][data-approach-mode="sticky"] .workar-approach__sticky {
        position: relative !important;
        top: auto !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 64px 0;
        overflow: visible !important;
    }
    .workar-approach[data-approach-mode="sticky"] .workar-approach__inner {
        transform: none !important;
    }
    .workar-approach__inner {
        width: min(100% - 48px, 960px);
    }
    .workar-approach__path {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 38px;
    }
    .workar-approach__path-base,
    .workar-approach__path-progress,
    .workar-approach__stage::after {
        display: none;
    }
    .workar-approach__stage {
        padding: 15px 12px 16px;
        border: 1px solid rgba(213, 200, 176, .18);
        border-radius: 12px;
        background: linear-gradient(145deg, rgba(32, 36, 40, .42), rgba(17, 19, 21, .12));
    }
    .workar-approach__stage.is-active {
        border-color: rgba(0, 215, 200, .56);
        box-shadow: inset 0 0 26px rgba(0, 215, 200, .045), 0 0 18px rgba(0, 215, 200, .055);
    }
    .workar-approach__stage-top {
        min-height: 76px;
    }
    .workar-approach__node {
        width: clamp(125px, 17vw, 166px);
    }
    .workar-approach__stage-copy {
        min-height: 92px;
    }
    .workar-approach__output {
        margin-top: auto;
    }
}

@media (max-width: 767px) {
    .workar-approach__sticky,
    .workar-approach[data-scroll-story="yes"] .workar-approach__sticky,
    .workar-approach[data-editor-preview="yes"] .workar-approach__sticky {
        padding: 50px 0 44px;
    }
    .workar-approach__inner {
        width: min(100% - 34px, 580px);
    }
    .workar-approach__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 19px;
        margin-bottom: 25px;
    }
    .workar-approach__title {
        font-size: clamp(30px, 8vw, 40px);
    }
    .workar-approach__subtitle {
        font-size: 16px;
    }
    .workar-approach__intro-note {
        font-size: 12px;
    }
    .workar-approach__brand-mark {
        min-width: 0;
        align-items: flex-start;
        padding: 0;
    }
    .workar-approach__brand-word {
        font-size: 25px;
    }
    .workar-approach__brand-line {
        width: 54px;
        margin-top: 5px;
    }
    .workar-approach__path {
        display: flex;
        flex-direction: column;
        gap: 13px;
        padding: 0;
    }
    .workar-approach__path::before {
        content: "";
        position: absolute;
        z-index: 0;
        top: 38px;
        bottom: 38px;
        right: 41px;
        width: 1px;
        background: linear-gradient(180deg, rgba(0, 215, 200, .08), rgba(213, 200, 176, .28), rgba(0, 215, 200, .08));
    }
    .workar-approach__stage {
        display: grid;
        grid-template-columns: 82px minmax(0, 1fr);
        grid-template-areas:
            "node code"
            "node title"
            "node description"
            "tasks tasks"
            "output output";
        gap: 2px 14px;
        align-items: center;
        padding: 15px 13px;
        border-radius: 12px;
        text-align: right;
        background: linear-gradient(120deg, rgba(32, 36, 40, .65), rgba(17, 19, 21, .35));
    }
    .workar-approach__stage-top {
        display: contents;
    }
    .workar-approach__stage-code {
        grid-area: code;
        justify-self: start;
        font-size: 9px;
        margin-bottom: 2px;
    }
    .workar-approach__node {
        grid-area: node;
        width: 82px;
        margin: 0;
        align-self: center;
    }
    .workar-approach__stage-copy {
        display: contents;
    }
    .workar-approach__stage-title {
        grid-area: title;
        justify-self: start;
        text-align: right;
        font-size: 16px;
    }
    .workar-approach__stage-description {
        grid-area: description;
        justify-self: start;
        max-width: none;
        margin: 2px 0 5px;
        text-align: right;
        font-size: 11px;
    }
    .workar-approach__tasks {
        grid-area: tasks;
        align-items: flex-start;
        padding: 9px 0 0;
        margin-top: 6px;
        border-top: 1px solid rgba(213, 200, 176, .11);
    }
    .workar-approach__tasks li {
        font-size: 10px;
    }
    .workar-approach__output {
        grid-area: output;
        align-items: flex-start;
        min-height: 0;
        margin-top: 9px;
        padding: 8px 10px;
    }
    .workar-approach__footer {
        margin-top: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .workar-approach__stage,
    .workar-approach__node,
    .workar-approach__hex-outer,
    .workar-approach__hex-letter,
    .workar-approach__path-progress,
    .workar-approach__output {
        transition: none !important;
    }
}
